Thanks!!

NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Code: Select all
\documentclass[11pt,a4paper,english]{article}\usepackage[T1]{fontenc}\usepackage[latin1]{inputenc}\usepackage{babel}\usepackage[includeheadfoot,margin=2cm]{geometry}\usepackage[svgnames]{xcolor}\usepackage{listings}\usepackage{bera}\parindent0em\lstset{%% language=[LaTeX]TeX,numbers=none,tabsize=3,breaklines=true,aboveskip=1ex,belowskip=1ex,basicstyle=\small\ttfamily,framerule=0pt,backgroundcolor=\color{gray!25},columns=fullflexible,}\begin{document}\lstinputlisting{article.cls}\end{document}
Code: Select all
\begin{lstlisting}[language=C,numbers=left,numberstyle=\tiny ,basicstyle=\small]int i=0;int j=10;while (1){i++;j--;}\end{lstlisting}
Code: Select all
int i=0;int j=10;while(1){i++;----NEW PAGE---------------j--;}
Code: Select all
int i=0;int j=10;----NEW PAGE---------------while(1){i++;j--;}
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p