shift code line number

This commit is contained in:
Kent Milfeld 2015-02-02 11:04:29 -08:00
parent 90cb429d32
commit c67a0d958a

View File

@ -450,7 +450,7 @@
\def\cnexample#1#2{%
\exampleheader{#1}{#2}
\code{\VerbatimInput[numbers=left,numbersep=10ex,firstnumber=1,firstline=8,fontsize=\small]%
\code{\VerbatimInput[numbers=left,numbersep=5ex,firstnumber=1,firstline=8,fontsize=\small]%
%\code{\VerbatimInput[numbers=left,firstnumber=1,firstline=8,fontsize=\small]%
%\code{\VerbatimInput[firstline=8,fontsize=\small]%
{sources/Example_\cname.c}}
@ -458,7 +458,7 @@
\def\fnexample#1#2{%
\exampleheader{#1}{#2}
\code{\VerbatimInput[numbers=left,numbersep=10ex,firstnumber=1,firstline=6,fontsize=\small]%
\code{\VerbatimInput[numbers=left,numbersep=5ex,firstnumber=1,firstline=6,fontsize=\small]%
%\code{\VerbatimInput[numbers=left,firstnumber=1,firstline=6,fontsize=\small]%
%\code{\VerbatimInput[firstline=6,fontsize=\small]%
{sources/Example_\cname.f}}