Skip to content

Instantly share code, notes, and snippets.

@catharsis96
Created February 24, 2017 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save catharsis96/d5e90098e6de4251f223f05566fe90d1 to your computer and use it in GitHub Desktop.
Save catharsis96/d5e90098e6de4251f223f05566fe90d1 to your computer and use it in GitHub Desktop.
TeX code
\documentclass{article}
\usepackage{listings} % Include the listings-package
\begin{document}
\lstset{language=Pascal} % Set your language (you can change the language for each code-block optionally)
\begin{lstlisting}[frame=single] % Start your code-block
for i:=maxint to 0 do
begin
{ do nothing }
end;
Write('Case insensitive ');
Write('Pascal keywords.');
\end{lstlisting}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment