Skip to content

Commit

Permalink
BasedOnFeedback
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Jan 18, 2022
1 parent dc0f0ed commit 54ccc98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ \subsubsection{Plot Curves}\label{plot-curves}
Providing the empty string as \lstinline!legend! means that the curve shall be omitted from the plot legend.
Variable replacements, as described in \cref{variable-replacements}, can be used in \lstinline!legend!.

\subsubsection{Escape sequences}\label{text-markup-escape-sequences}
\subsubsection{Escape Sequences}\label{text-markup-escape-sequences}

In an attribute inside a figure where the variable replacements of \cref{variable-replacements} or the text markup of \cref{text-markup-in-captions} can be used, the following use of \firstuse[text markup escape sequence]{text markup escape sequences}\index{escape sequence!text markup} applies.
These escape sequences are applied after the application of other markup, and is not applied at all inside some of the other markup, see details for the respective markup.
Expand Down Expand Up @@ -720,7 +720,7 @@ \subsection{Component Instance}\label{component-instance}
icon layer. Non-connector components are only shown in the diagram
layer.

\subsection{Extends-clause}\label{extends-clause}
\subsection{Extends-Clause}\label{extends-clause}

Each \lstinline!extends!-clause (and short class definition, as stated in \cref{annotations-for-graphical-objects}) may have layer specific annotations which describe the rendering of the base class' icon and diagram layers in the derived class.

Expand Down Expand Up @@ -817,7 +817,7 @@ \subsection{Connections}\label{connections1}
Using a height of zero, such as \lstinline!extent = [-6, 3; -6, 3]! is deprecated, but gives similar result.
\end{example}

\subsection{Graphical primitives}\label{graphical-primitives}
\subsection{Graphical Primitives}\label{graphical-primitives}

This section describes the graphical primitives that can be used to
define the graphical objects in an annotation.
Expand Down Expand Up @@ -1036,11 +1036,11 @@ \subsection{Variable Graphics and Schematic Animation}\label{variable-graphics-a
\end{lstlisting}
\end{example}

\subsection{User input}\label{user-input}
\subsection{User Input}\label{user-input}

It is possible to interactively modify variables during a simulation. The variables may either be parameters, discrete-time variables or states. New numeric values can be given, a mouse click can change a \lstinline!Boolean! variable or a mouse movement can change a \lstinline!Real! variable. Input fields may be associated with a \lstinline!GraphicItem! or a component as an array named \lstinline!interaction!. The \lstinline!interaction! array may occur as an attribute of a graphic primitive, an attribute of a component annotation or as an attribute of the layer annotation of a class.

\subsubsection{Mouse input}\label{mouse-input}
\subsubsection{Mouse Input}\label{mouse-input}

A \lstinline!Boolean! variable can be changed when the cursor is held over a graphical item or component and the selection button is pressed if the interaction annotation contains \fmtannotationindex{OnMouseDownSetBoolean}:
\begin{lstlisting}[language=modelica]
Expand Down
6 changes: 3 additions & 3 deletions chapters/statements.tex
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ \subsection{When-Statements}\label{when-statements}
Merging the \lstinline!when!-statements can lead to less efficient code and different models with different behavior depending on the order of the assignment to \lstinline!y1! and \lstinline!y3! in the algorithm.
\end{example}

\subsubsection{Where a When-statement May Occur}\label{restrictions-on-where-a-when-statement-may-occur}\label{where-a-when-statement-may-occur}
\subsubsection{Where a When-Statement May Occur}\label{restrictions-on-where-a-when-statement-may-occur}\label{where-a-when-statement-may-occur}

\begin{itemize}
\item
Expand All @@ -416,7 +416,7 @@ \subsubsection{Where a When-statement May Occur}\label{restrictions-on-where-a-w
\end{lstlisting}
\end{example}

\subsubsection{Statements within When-statements}\label{restrictions-on-statements-within-when-statements}\label{statements-within-when-statements}
\subsubsection{Statements within When-Statements}\label{restrictions-on-statements-within-when-statements}\label{statements-within-when-statements}

\begin{nonnormative}
In contrast to \lstinline!when!-equations, \cref{restrictions-on-equations-within-when-equations}, there are no additional restrictions within \lstinline!when!-statements:
Expand All @@ -431,7 +431,7 @@ \subsubsection{Statements within When-statements}\label{restrictions-on-statemen
\end{itemize}
\end{nonnormative}

\subsubsection{Defining When-statements by If-statements}\label{defining-when-statements-by-if-statements}
\subsubsection{Defining When-Statements by If-Statements}\label{defining-when-statements-by-if-statements}

A \lstinline!when!-statement:
\begin{lstlisting}[language=modelica]
Expand Down

0 comments on commit 54ccc98

Please sign in to comment.