diff --git a/chapters/annotations.tex b/chapters/annotations.tex index 973b3ccfa..fac09e55a 100644 --- a/chapters/annotations.tex +++ b/chapters/annotations.tex @@ -1528,10 +1528,10 @@ \section{Annotations for the Graphical User Interface}\label{annotations-for-the \end{lstlisting} \end{enumerate} -These rules also apply if the connectors and/or components are -defined in superclass. \emph{Example:} Assume that \lstinline!step1! is defined in -superclass \lstinline!CompositeStep! with 3 connections, and a new connection is -performed in a subclass. The result is: +These rules also apply if the connectors and/or components are defined in superclass. + +\emph{Example:} Assume that \lstinline!step1! is defined in superclass \lstinline!CompositeStep! with 3 connections, and a new connection is performed in a derived class. +The result is: \begin{lstlisting}[language=modelica] extends CompositeStep(step1(nIn=4)); // new modifier nIn=4 equation