Commit f09e18cb authored by Andreas Lauser's avatar Andreas Lauser
Browse files

tutorial: adapt line numbers so that no fragments boilerplate text appears

the GPL copyright headers and the doxygen file descriptions are not really
relevant for the tutorials...

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@5176 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 2bd30dcc
...@@ -181,7 +181,7 @@ above. ...@@ -181,7 +181,7 @@ above.
\begin{lst}[File tutorial/tutorial\_coupled.cc]\label{tutorial-coupled:mainfile} \mbox{} \begin{lst}[File tutorial/tutorial\_coupled.cc]\label{tutorial-coupled:mainfile} \mbox{}
\lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left, \lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left,
numberstyle=\tiny, numbersep=5pt, firstline=18]{../../tutorial/tutorial_coupled.cc} numberstyle=\tiny, numbersep=5pt, firstline=28]{../../tutorial/tutorial_coupled.cc}
\end{lst} \end{lst}
From line \ref{tutorial-coupled:include-begin} to line From line \ref{tutorial-coupled:include-begin} to line
...@@ -223,7 +223,7 @@ so-called \textit{problem file} as shown in listing ...@@ -223,7 +223,7 @@ so-called \textit{problem file} as shown in listing
\begin{lst}[File tutorial/tutorialproblem\_coupled.hh]\label{tutorial-coupled:problemfile} \mbox{} \begin{lst}[File tutorial/tutorialproblem\_coupled.hh]\label{tutorial-coupled:problemfile} \mbox{}
\lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left, \lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left,
numberstyle=\tiny, numbersep=5pt, firstline=17]{../../tutorial/tutorialproblem_coupled.hh} numberstyle=\tiny, numbersep=5pt, firstline=27]{../../tutorial/tutorialproblem_coupled.hh}
\end{lst} \end{lst}
First, a new type tag is created for the problem in line First, a new type tag is created for the problem in line
...@@ -364,7 +364,7 @@ Listing \ref{tutorial-coupled:spatialparametersfile} shows the file ...@@ -364,7 +364,7 @@ Listing \ref{tutorial-coupled:spatialparametersfile} shows the file
\begin{lst}[File tutorial/tutorialspatialparameters\_coupled.hh]\label{tutorial-coupled:spatialparametersfile} \mbox{} \begin{lst}[File tutorial/tutorialspatialparameters\_coupled.hh]\label{tutorial-coupled:spatialparametersfile} \mbox{}
\lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left, \lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left,
numberstyle=\tiny, numbersep=5pt, firstline=16]{../../tutorial/tutorialspatialparameters_coupled.hh} numberstyle=\tiny, numbersep=5pt, firstline=27]{../../tutorial/tutorialspatialparameters_coupled.hh}
\end{lst} \end{lst}
First, a certain material law that best describes the problem at hand has to First, a certain material law that best describes the problem at hand has to
......
...@@ -43,7 +43,7 @@ Listing \ref{tutorial-deoucpled:mainfile} shows how the main file, which has to ...@@ -43,7 +43,7 @@ Listing \ref{tutorial-deoucpled:mainfile} shows how the main file, which has to
\begin{lst}[File tutorial/tutorial\_decoupled.cc]\label{tutorial-deoucpled:mainfile} \mbox{} \begin{lst}[File tutorial/tutorial\_decoupled.cc]\label{tutorial-deoucpled:mainfile} \mbox{}
\lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left, \lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left,
numberstyle=\tiny, numbersep=5pt]{../../tutorial/tutorial_decoupled.cc} numberstyle=\tiny, numbersep=5pt, firstline=28]{../../tutorial/tutorial_decoupled.cc}
\end{lst} \end{lst}
First, from line \ref{tutorial-decoupled:include-begin} to line First, from line \ref{tutorial-decoupled:include-begin} to line
...@@ -91,7 +91,7 @@ so-called \textit{problem file} as shown in listing ...@@ -91,7 +91,7 @@ so-called \textit{problem file} as shown in listing
\begin{lst}[File tutorial/tutorialproblem\_decoupled.hh]\label{tutorial-decoupled:problemfile} \mbox{} \begin{lst}[File tutorial/tutorialproblem\_decoupled.hh]\label{tutorial-decoupled:problemfile} \mbox{}
\lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left, \lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left,
numberstyle=\tiny, numbersep=5pt, firstline=17]{../../tutorial/tutorialproblem_decoupled.hh} numberstyle=\tiny, numbersep=5pt, firstline=28]{../../tutorial/tutorialproblem_decoupled.hh}
\end{lst} \end{lst}
First, both \Dune grid handlers and the decoupled model of \Dumux First, both \Dune grid handlers and the decoupled model of \Dumux
...@@ -177,7 +177,7 @@ Listing \ref{tutorial-decoupled:spatialparametersfile} shows the file ...@@ -177,7 +177,7 @@ Listing \ref{tutorial-decoupled:spatialparametersfile} shows the file
\begin{lst}[File tutorial/tutorialspatialparameters\_decoupled.hh]\label{tutorial-decoupled:spatialparametersfile} \mbox{} \begin{lst}[File tutorial/tutorialspatialparameters\_decoupled.hh]\label{tutorial-decoupled:spatialparametersfile} \mbox{}
\lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left, \lstinputlisting[basicstyle=\ttfamily\scriptsize,numbers=left,
numberstyle=\tiny, numbersep=5pt, firstline=16]{../../tutorial/tutorialspatialparameters_decoupled.hh} numberstyle=\tiny, numbersep=5pt, firstline=26]{../../tutorial/tutorialspatialparameters_decoupled.hh}
\end{lst} \end{lst}
As this file only slightly differs from the coupled version, it is referred to As this file only slightly differs from the coupled version, it is referred to
chapter \ref{tutorial-coupled:description-spatialParameters} for explanations. chapter \ref{tutorial-coupled:description-spatialParameters} for explanations.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment