Skip to content

Commit

Permalink
Add missing "variable:" to text markup link examples
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Sep 22, 2023
1 parent ae12c4a commit cc1b408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ \subsubsection{Text Markup in Captions}\label{text-markup-in-captions}
The styling of the link text, as well as the link action, is left for each Modelica tool to decide.

\begin{nonnormative}
For example, \lstinline!%(inertia1.w)! could be displayed as the text \lstinline!inertia1.w! formatted with upright monospaced font, and have a pop-up menu attached with menu items for plotting the variable, setting its start value, or investigating the equation system from which it is solved.
On the other hand, \lstinline!%[angular velocity](inertia1.w)! could be formatted in the same style as the surrounding text, except some non-intrusive visual clue about it being linked.
For example, \lstinline!%(variable:inertia1.w)! could be displayed as the text \lstinline!inertia1.w! formatted with upright monospaced font, and have a pop-up menu attached with menu items for plotting the variable, setting its start value, or investigating the equation system from which it is solved.
On the other hand, \lstinline!%[angular velocity](variable:inertia1.w)! could be formatted in the same style as the surrounding text, except some non-intrusive visual clue about it being linked.
\end{nonnormative}

\begin{nonnormative}
Expand Down

0 comments on commit cc1b408

Please sign in to comment.