From 6334db1cded45e7de7179d9e21db8f4eb8ea5bfa Mon Sep 17 00:00:00 2001 From: Otto Tronarp Date: Tue, 11 Feb 2020 14:10:28 +0100 Subject: [PATCH] Be even more specific about where variable replacements can be used --- chapters/annotations.tex | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/chapters/annotations.tex b/chapters/annotations.tex index 52f7469f8..7d3a866dd 100644 --- a/chapters/annotations.tex +++ b/chapters/annotations.tex @@ -189,9 +189,21 @@ \subsubsection{Axis Properties}\doublelabel{axis-properties} the \lstinline!label! of \lstinline!Axis! \subsubsection{Variable Replacements}\doublelabel{variable-replacements} -In most places where text is displayed (\lstinline!title!, \lstinline!caption!, \lstinline!legend!, \lstinline!label!), -the final value of a result variable can be embedded by refering to the variable -as \lstinline!%{inertia1.w}!. This is similar to the \lstinline!Text! graphical in \autoref{text}. +In most places where text for display is defined the final value of a result +variable can be embedded by refering to the variable as +\lstinline!%{inertia1.w}!. This is similar to the \lstinline!Text! graphical in +\autoref{text}. + +\begin{longtable}[]{|l|l|} +\hline +\multicolumn{2}{|l|}{Attributes that can use variable replacements}\\ \hline +Attribute & Annotation \\ \hline +\lstinline!title! & \lstinline!Figure! and \lstinline!Plot! \\ \hline +\lstinline!caption! & \lstinline!Figure! \\ \hline +\lstinline!legend! & \lstinline!Curve! \\ \hline +\lstinline!label! & \lstinline!Axis! \\ \hline +\end{longtable} + Note that expansion to the final value means that expansion is not restricted to parameters and constants, so that values to be shown in a caption can be