From f09e18cb8a00cd33de1da9e54a6db1c06ae0a408 Mon Sep 17 00:00:00 2001 From: Andreas Lauser <and@poware.org> Date: Fri, 4 Feb 2011 18:08:25 +0000 Subject: [PATCH] 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 --- doc/handbook/tutorial-coupled.tex | 6 +++--- doc/handbook/tutorial-decoupled.tex | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/handbook/tutorial-coupled.tex b/doc/handbook/tutorial-coupled.tex index d7a1010f48..a26cd2adc7 100644 --- a/doc/handbook/tutorial-coupled.tex +++ b/doc/handbook/tutorial-coupled.tex @@ -181,7 +181,7 @@ above. \begin{lst}[File tutorial/tutorial\_coupled.cc]\label{tutorial-coupled:mainfile} \mbox{} \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} From line \ref{tutorial-coupled:include-begin} to line @@ -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{} \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} First, a new type tag is created for the problem in line @@ -364,7 +364,7 @@ Listing \ref{tutorial-coupled:spatialparametersfile} shows the file \begin{lst}[File tutorial/tutorialspatialparameters\_coupled.hh]\label{tutorial-coupled:spatialparametersfile} \mbox{} \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} First, a certain material law that best describes the problem at hand has to diff --git a/doc/handbook/tutorial-decoupled.tex b/doc/handbook/tutorial-decoupled.tex index 5f3f678be4..c1754d8e62 100644 --- a/doc/handbook/tutorial-decoupled.tex +++ b/doc/handbook/tutorial-decoupled.tex @@ -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{} \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} First, from line \ref{tutorial-decoupled:include-begin} to line @@ -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{} \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} First, both \Dune grid handlers and the decoupled model of \Dumux @@ -177,7 +177,7 @@ Listing \ref{tutorial-decoupled:spatialparametersfile} shows the file \begin{lst}[File tutorial/tutorialspatialparameters\_decoupled.hh]\label{tutorial-decoupled:spatialparametersfile} \mbox{} \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} As this file only slightly differs from the coupled version, it is referred to chapter \ref{tutorial-coupled:description-spatialParameters} for explanations. -- GitLab