Skip to content

Commit

Permalink
Merge pull request #1630 from pmbremner/fix_manual_typos_sec6-1
Browse files Browse the repository at this point in the history
Remove explicit space characters from text boxes in the manual.
  • Loading branch information
bangerth committed May 13, 2017
2 parents 2cc8d09 + c264c17 commit 887e8bf
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions doc/manual/manual.tex
Expand Up @@ -36,6 +36,7 @@
\usepackage{listings}
\lstset{
language=C++,
showstringspaces=false,
basicstyle=\small\ttfamily,
columns=fullflexible,
keepspaces=true,
Expand Down Expand Up @@ -2483,7 +2484,7 @@ \subsubsection{Running \aspect{} models}
\texttt{aspect-release} for a faster model run.

To sum up, the steps you will want to execute are:
\begin{lstlisting}[frame=single,language=ksh]
\begin{lstlisting}[frame=single,language=ksh,showstringspaces=false]
docker run -it -v "$(pwd):/home/dealii/aspect/model_input:ro" \
gassmoeller/aspect:latest bash
\end{lstlisting}
Expand Down Expand Up @@ -2542,7 +2543,7 @@ \subsubsection{Developing \aspect{} within a container}
of the container. An example workflow could look as following (assuming you
navigated in a terminal into the modified \aspect{} source folder):

\begin{lstlisting}[frame=single,language=ksh]
\begin{lstlisting}[frame=single,language=ksh,showstringspaces=false]
docker pull dealii/dealii:v8.5.pre.4-gcc-mpi-fulldepsmanual-debugrelease
docker run -it -v "$(pwd):/home/dealii/aspect:ro" \
dealii/dealii:v8.5.pre.4-gcc-mpi-fulldepsmanual-debugrelease bash
Expand Down Expand Up @@ -3190,7 +3191,7 @@ \subsection{Overview}
is essentially a table that allows for the simple production of time
trends. In the example above, and at the time when we are writing this
section, it looks like this:
\begin{lstlisting}[frame=single,language=ksh]
\begin{lstlisting}[frame=single,language=ksh,showstringspaces=false]
# 1: Time step number
# 2: Time (years)
# 3: Iterations for Stokes solver
Expand Down Expand Up @@ -3544,7 +3545,7 @@ \subsubsection{Visualizing statistical data}
of writing this, looked like this:
This file has a structure that looks (at the time of writing this section)
like this:
\begin{lstlisting}[frame=single,language=ksh]
\begin{lstlisting}[frame=single,language=ksh,showstringspaces=false]
# 1: Time step number
# 2: Time (seconds)
# 3: Number of mesh cells
Expand Down Expand Up @@ -3595,7 +3596,7 @@ \subsubsection{Visualizing statistical data}
\texttt{Gnuplot} is a command line program in which you enter commands that
plot data or modify the way data is plotted. When you call it, you will first
get a screen that looks like this:
\begin{lstlisting}[frame=single]
\begin{lstlisting}[frame=single,showstringspaces=false]
/home/user/aspect/output gnuplot

G N U P L O T
Expand All @@ -3617,7 +3618,7 @@ \subsubsection{Visualizing statistical data}
plot the heat flux through boundary 2 (the bottom
boundary of the box), i.e., column 19, as a function of time (column 2).
This can be achieved using the following command:
\begin{lstlisting}[frame=single,language=gnuplot]
\begin{lstlisting}[frame=single,language=gnuplot,showstringspaces=false]
plot "statistics" using 2:19
\end{lstlisting}
The left panel of Fig.~\ref{fig:viz-gnuplot-1} shows what \texttt{Gnuplot}
Expand All @@ -3630,7 +3631,7 @@ \subsubsection{Visualizing statistical data}
plot not only the flux through the bottom but also through the top boundary
(column 20) and finally add a key to the figure, then the following
commands achieve this:
\begin{lstlisting}[frame=single,language=gnuplot]
\begin{lstlisting}[frame=single,language=gnuplot,showstringspaces=false]
set xlabel "Time"
set ylabel "Heat flux"
set style data linespoints
Expand Down Expand Up @@ -3662,7 +3663,7 @@ \subsubsection{Visualizing statistical data}
one does not need to repeat the name of an input file if it is the same
as the previous one in a plot command. Thus, instead of the commands above,
the following abbreviated form would have achieved the same effect:
\begin{lstlisting}[frame=single,language=gnuplot]
\begin{lstlisting}[frame=single,language=gnuplot,showstringspaces=false]
se xl "Time"
se yl "Heat flux"
se sty da lp
Expand All @@ -3676,7 +3677,7 @@ \subsubsection{Visualizing statistical data}
different formats. For inclusion in publications, either \texttt{eps} or
\texttt{png} are the most common. In the latter case, the commands to
achieve this are
\begin{lstlisting}[frame=single,language=gnuplot]
\begin{lstlisting}[frame=single,language=gnuplot,showstringspaces=false]
set terminal png
set output "heatflux.png"
replot
Expand Down

0 comments on commit 887e8bf

Please sign in to comment.