Skip to content

Commit

Permalink
Fix indentation of listings related to versionDate and friends
Browse files Browse the repository at this point in the history
Following same style of indentation as in the section "Version Handling" above.
  • Loading branch information
henrikt-ma committed Jan 31, 2022
1 parent 087f687 commit 08ba6b8
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1849,19 +1849,22 @@ \subsection{Version Date and Build Information}\label{version-date-and-build-inf
\begin{lstlisting}[language=modelica,mathescape=false]
package Modelica
$\ldots$
annotation(version = "3.0.1",
versionDate = "2008-04-10",
versionBuild = 4,
dateModified = "2009-02-15 16:33:14Z",
revisionId = "$Id:: package.mo 2566 2009-05-26 13:25:54Z #$");
annotation(
version = "3.0.1",
versionDate = "2008-04-10",
versionBuild = 4,
dateModified = "2009-02-15 16:33:14Z",
revisionId = "$Id:: package.mo 2566 2009-05-26 13:25:54Z #$");
end Modelica;

model M1
annotation(uses(Modelica(version = "3.0.1"))); // Common case
annotation(
uses(Modelica(version = "3.0.1"))); // Common case
end M1

model M2
annotation(uses(Modelica(version = "3.0.1", versionBuild = 4)));
annotation(
uses(Modelica(version = "3.0.1", versionBuild = 4)));
end M2
\end{lstlisting}
\end{example}
Expand Down

0 comments on commit 08ba6b8

Please sign in to comment.