CookBook/document/root.tex
changeset 51 c346c156a7cd
parent 47 4daf913fdbe1
child 62 c3fe4749ef01
--- a/CookBook/document/root.tex	Tue Nov 25 05:19:27 2008 +0000
+++ b/CookBook/document/root.tex	Fri Nov 28 05:19:55 2008 +0100
@@ -9,6 +9,7 @@
 \usepackage{rail}
 \usepackage{url}
 \usepackage[a4paper,hscale=0.67,vscale=0.76]{geometry}
+\usepackage{lineno}
 \usepackage{pdfsetup}
 
 \urlstyle{rm}
@@ -77,6 +78,13 @@
 \renewcommand{\endisatagML}{\end{vanishML}}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% for line numbers
+\isakeeptag{linenumbers}
+\renewcommand{\isataglinenumbers}{\begin{vanishML}\begingroup\resetlinenumber\linenumbers}
+\renewcommand{\endisataglinenumbers}{\endgroup\end{vanishML}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 \begin{document}
 
 \title{\mbox{}\\[-10ex]