From 76bb6b3c4a9808dd735b784126924418bbd12bd7 Mon Sep 17 00:00:00 2001 From: Cirdans-Home Date: Wed, 17 Mar 2021 11:31:29 +0100 Subject: [PATCH] Fixed repeated table caption numbers --- docs/src/userguide.tex | 4 ++-- docs/src/userinterface.tex | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/src/userguide.tex b/docs/src/userguide.tex index 1b1b0d65..55c1fe73 100644 --- a/docs/src/userguide.tex +++ b/docs/src/userguide.tex @@ -97,8 +97,8 @@ \makeatother \newcommand{\example}{\stepcounter{example}% \section*{\examplename~\theexample}} -\def\bsideways{\sidewaystable} -\def\esideways{\endsidewaystable} +\def\bsideways{\begin{sidewaystable}} +\def\esideways{\end{sidewaystable}} \newcommand{\precdata}{\hyperlink{precdata}{{\tt mld\_prec\_type}}} \newcommand{\descdata}{\hyperlink{descdata}{{\tt psb\_desc\_type}}} diff --git a/docs/src/userinterface.tex b/docs/src/userinterface.tex index ece69b2f..51f34461 100644 --- a/docs/src/userinterface.tex +++ b/docs/src/userinterface.tex @@ -285,6 +285,7 @@ be applied. aggregation to the sparsity pattern of $A+A^T$.\\ \hline \ifpdf +\phantomcaption \end{tabular} \end{center} \esideways @@ -293,9 +294,9 @@ of $A+A^T$.\\ \hline \begin{center} \begin{tabular}{|p{5.7cm}|l|p{2.3cm}|p{2.5cm}|p{5.9cm}|} \hline -\fi \fortinline|what| & \textsc{data type} & \fortinline|val| & \textsc{default} & \textsc{comments} \\ \hline +\fi \fortinline|'AGGR_TYPE'| & \fortinline|character(len=*)| \hspace*{-3mm} & \fortinline|'SOC1'| & \fortinline|'SOC1'|, @@ -412,6 +413,7 @@ the parameter \texttt{ilev}.} \\ Note also that UMFPACK and SuperLU\_Dist are available only in double precision. \\ \hline \ifpdf +\phantomcaption \end{tabular} \end{center} \esideways