Skip to content

Commit

Permalink
Specify that only last part of name for %class and replace %{par}m ex…
Browse files Browse the repository at this point in the history
…ample by another one.

Closes #2335
  • Loading branch information
HansOlsson committed Jul 5, 2019
1 parent 506437b commit 21dabb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -828,16 +828,16 @@ \subsubsection{Text}\doublelabel{text}
\emph{{[}Example: if par="Modelica.Blocks.Types.Enumeration.Periodic",
then \%par should be displayed as "Periodic"{]}} The form
\%\{\emph{par\}} allows component-references, and can be directly
followed by a letter. Thus \emph{\%\{par\}m} gives the value of par
directly followed by m -- and \emph{\%parm} gives the value of the
parameter parm. If the parameter does not exist it is an error.
followed by a letter. Thus \lstinline!%{w}x%{h}! gives the value of w
directly followed by x and the value of h -- and \lstinline!%wxh! gives the value of the
parameter wxh. If the parameter does not exist it is an error.
\item
\%\% replaced by \%
\item
\%name replaced by the name of the component (i.e. the identifier for
it in in the enclosing class).
\item
\%class replaced by the name of the class.
\%class replaced by the name of the class (only the last part of the hierarchical name).
\end{itemize}

The style attribute \lstinline!fontSize! specifies the font size. If the \lstinline!fontSize!
Expand Down

0 comments on commit 21dabb8

Please sign in to comment.