% -*- latex -*- \documentclass[a4paper,11pt]{book} \usepackage[top=1cm, bottom=2cm, left=1.5cm, right=1cm]{geometry} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} %% Uncomment the following two lines to produce pdfs with a prettier %% alternative to the computer modern fonts. \usepackage{lmodern} \usepackage{textcomp} \usepackage{fancyhdr} \usepackage{bbding} \pagestyle{fancy} [% INCLUDE tex_funcs.tt2 %] \begin{document} \setlength\baselineskip{7pt} \setlength\parskip{.3\baselineskip} \setlength\parindent{0pt} \renewcommand{\headrulewidth}{0pt} \fancyhead{} \fancyfoot{} \sffamily\small %% I kinda like the proportional fonts, but expect they won't be %% everyone's cup of tea. Uncomment next line to use monospace font. % \tt \fancyfoot[RE,LO]{\textit{\sffamily [% pathdesc %]% }} \fancyfoot[LE,RO]{\textit{\sffamily \thepage}} [% lineno = 1 %][% FOREACH line = lines -%] \mbox{}[% line %][% lineno = lineno + 1 %]\\ [% END %] \end{document}