Skip to content

Commit

Permalink
Indent lines of listing except 'equation'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Jun 23, 2020
1 parent 1ea7848 commit 7e78238
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 @@ -1354,11 +1354,11 @@ \section{Annotations for the Graphical User Interface}\doublelabel{annotations-f
Drawing a connection line between connectors \lstinline!inPorts! and
\lstinline!step1.inPorts! results in:
\begin{lstlisting}[language=modelica]
parameter Integer nIn=0 annotation(Dialog(connectorSizing=true));
StepIn inPorts[nIn];
Step step1(nIn=nIn); // nIn=0 changed to nIn=nIn
parameter Integer nIn=0 annotation(Dialog(connectorSizing=true));
StepIn inPorts[nIn];
Step step1(nIn=nIn); // nIn=0 changed to nIn=nIn
equation
connect(inPorts, step1.inPorts); // new connect equation
connect(inPorts, step1.inPorts); // new connect equation
\end{lstlisting}
\item
If a connection line is deleted between one outside and one
Expand Down

0 comments on commit 7e78238

Please sign in to comment.