From 458d7d62e786896b91ffea88f7b3bd3e6bf4d926 Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Fri, 18 Dec 2020 22:34:50 +0100 Subject: [PATCH] Fix spelling --- chapters/annotations.tex | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/chapters/annotations.tex b/chapters/annotations.tex index 682e99ad3..56a2014ed 100644 --- a/chapters/annotations.tex +++ b/chapters/annotations.tex @@ -188,11 +188,9 @@ \subsubsection{Plot Curves}\label{plot-curves} end Curve; \end{lstlisting} -The mandatory \lstinline!x! and \lstinline!y! expressions are restricted to be -component references refering to a scalar variable or \lstinline!time!. It -is an error if \lstinline!x! or \lstinline!y! does not designate a scalar variable. -When the \lstinline!unit! of an \lstinline!Axis! is non-empty, it is an error if the unit of the corresponding \lstinline!Curve! expression (i.e., a variable's \lstinline!unit!, -or second for \lstinline!time!) is incompatible with the axis unit. +The mandatory \lstinline!x! and \lstinline!y! expressions are restricted to be component references referring to a scalar variable or \lstinline!time!. +It is an error if \lstinline!x! or \lstinline!y! does not designate a scalar variable. +When the \lstinline!unit! of an \lstinline!Axis! is non-empty, it is an error if the unit of the corresponding \lstinline!Curve! expression (i.e., a variable's \lstinline!unit!, or second for \lstinline!time!) is incompatible with the axis unit. When \lstinline!legend! isn't provided, the tool produces a default based on \lstinline!x! and/or \lstinline!y!. Providing the empty string as @@ -224,7 +222,8 @@ \subsubsection{Escape sequences}\label{text-markup-escape-sequences} \subsubsection{Variable Replacements}\label{variable-replacements} -In the places listed in \cref{attributes-with-variable-replacements} 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 primitive in \cref{text}. +In the places listed in \cref{attributes-with-variable-replacements} where text for display is defined, the final value of a result variable can be embedded by referring to the variable as \lstinline!%{inertia1.w}!. +This is similar to the \lstinline!Text! graphical primitive in \cref{text}. \begin{table}[H] \caption{Attributes that can use variable replacements.}