Skip to content

Commit 221e689

Browse files
committed
Remove % at end-of-line following \caption{
Per Hans' request.
1 parent 085cfab commit 221e689

10 files changed

+33
-33
lines changed

chapters/annotations.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ \subsubsection{Variable Replacements}\label{variable-replacements}
401401
This is similar to the \lstinline!Text! graphical primitive in \cref{text}.
402402

403403
\begin{table}[H]
404-
\caption{%
404+
\caption{
405405
Attributes that can use variable replacements.
406406
}
407407
\label{attributes-with-variable-replacements}
@@ -932,7 +932,7 @@ \subsubsection{Graphical Properties}\label{graphical-properties}
932932
\begin{center}
933933
\includegraphics{bezierpoints}
934934
\end{center}
935-
\caption{%
935+
\caption{
936936
Line with \lstinline!smooth = Bezier!.
937937
The four line points $P_{1}$, \ldots{}, $P_{4}$ result in two quadratic splines and two straight line segments.
938938
}

chapters/arrays.tex

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ \section{Array Declarations}\label{array-declarations}
5454
% IMPROVETOP
5555
\begin{table}[H]
5656
% henrikt-ma: Doesn't the "Designation" and "Explanation" here assume that C is of non-array type?
57-
\caption{%
57+
\caption{
5858
General forms of declaration of arrays.
5959
The notation \lstinline!EB! stands for an enumeration type or \lstinline!Boolean!.
6060
The general array can have one or more dimensions ($k \geq 1$).
@@ -123,7 +123,7 @@ \section{Array Declarations}\label{array-declarations}
123123
Some examples of array dimensions of size one are given in \cref{tab:size-1-dimensions}.
124124

125125
\begin{table}[H]
126-
\caption{%
126+
\caption{
127127
Special cases of declaration of arrays as 1-vectors, row-vectors, or column-vectors of arrays.
128128
}
129129
\label{tab:size-1-dimensions}
@@ -600,7 +600,7 @@ \subsubsection{Reduction Expressions}\label{reduction-expressions}
600600
For deduction of ranges, see \cref{implicit-iteration-ranges}; and for using types as ranges see \cref{types-as-iteration-ranges}.
601601

602602
\begin{table}[H]
603-
\caption{%
603+
\caption{
604604
Reduction expressions with iterators.
605605
}
606606
\begin{center}
@@ -990,7 +990,7 @@ \section{Indexing}\label{array-indexing}\label{indexing}
990990
\end{example}
991991

992992
\begin{table}[H]
993-
\caption{%
993+
\caption{
994994
Examples of scalars vs.\ array slices created with the colon index.
995995
The examples make use of the array variables \lstinline!x[$n$, $m$]!, \lstinline!v[$k$]!, and \lstinline!z[$i$, $j$, $p$]!.
996996
}
@@ -1069,7 +1069,7 @@ \subsection{Equality and Assignment}\label{equality-and-assignment}
10691069
This is legal for the simple types and all types satisfying the requirements for a record, and is in the latter case applied to each component-element of the records.
10701070

10711071
\begin{table}[H]
1072-
\caption{%
1072+
\caption{
10731073
Equality and assignment of arrays and scalars.
10741074
The scalar \tablehead{Operation} applies for all $j$ in $1,\, \ldots,\, n$ and $k$ in $1,\, \ldots,\, m$.
10751075
}
@@ -1095,7 +1095,7 @@ \subsection{Addition, Subtraction, and String Concatenation}\label{array-element
10951095
Addition \lstinline!a + b! of string scalars, vectors, matrices, and arrays is defined as element-wise string concatenation of corresponding elements from \lstinline!a! and \lstinline!b!, and require \lstinline!size(a) = size(b)!.
10961096

10971097
\begin{table}[H]
1098-
\caption{%
1098+
\caption{
10991099
Array addition, subtraction, and string concatenation.
11001100
In this table the symbolic operator $\pm$ represents either \lstinline!+! or \lstinline!-!.
11011101
The scalar \tablehead{Operation} applies for all $j$ in $1,\, \ldots,\, n$ and $k$ in $1,\, \ldots,\, m$.
@@ -1121,7 +1121,7 @@ \subsection{Addition, Subtraction, and String Concatenation}\label{array-element
11211121
Element-wise addition \lstinline!a .+ b! of string scalars, vectors, matrices, and arrays is defined as element-wise string concatenation of corresponding elements from \lstinline!a! and \lstinline!b!, and require either \lstinline!size(a) = size(b)! or scalar \lstinline!a! or scalar \lstinline!b!.
11221122

11231123
\begin{table}[H]
1124-
\caption{%
1124+
\caption{
11251125
Array element-wise addition, subtraction, and string concatenation.
11261126
In this table the symbolic operator $\pm$ represents either \lstinline!+! or \lstinline!-!, and when preceded by a dot (\lstinline!.$\pm$!), either \lstinline!.+! or \lstinline!.-!.
11271127
The scalar \tablehead{Operation} applies for all $j$ in $1,\, \ldots,\, n$ and $k$ in $1,\, \ldots,\, m$.
@@ -1143,7 +1143,7 @@ \subsection{Addition, Subtraction, and String Concatenation}\label{array-element
11431143
\end{table}
11441144

11451145
\begin{table}[H]
1146-
\caption{%
1146+
\caption{
11471147
Unary operators.
11481148
In this table the symbolic operator $\pm$ represents either unary \lstinline!+! or unary \lstinline!-!.
11491149
The element-wise (\lstinline!.+!, \lstinline!.-!) and normal (\lstinline!+!, \lstinline!-!) operators give the same results.
@@ -1168,7 +1168,7 @@ \subsection{Element-wise Multiplication}\label{array-element-wise-multiplication
11681168

11691169
Scalar multiplication \lstinline!s * a! or \lstinline!a * s! with numeric scalar s and numeric scalar, vector, matrix or array \lstinline!a! is defined element-wise:
11701170
\begin{table}[H]
1171-
\caption{%
1171+
\caption{
11721172
Scalar and scalar to array multiplication of numeric elements.
11731173
The scalar \tablehead{Operation} applies for all $j$ in $1,\, \ldots,\, n$ and $k$ in $1,\, \ldots,\, m$.
11741174
}
@@ -1191,7 +1191,7 @@ \subsection{Element-wise Multiplication}\label{array-element-wise-multiplication
11911191
Element-wise multiplication \lstinline!a .* b! of numeric scalars, vectors, matrices or arrays \lstinline!a! and \lstinline!b! requires a numeric type class for \lstinline!a! and \lstinline!b! and either \lstinline!size(a) = size(b)! or scalar \lstinline!a! or scalar \lstinline!b!.
11921192

11931193
\begin{table}[H]
1194-
\caption{%
1194+
\caption{
11951195
Array element-wise multiplication.
11961196
The scalar \tablehead{Operation} applies for all $j$ in $1,\, \ldots,\, n$ and $k$ in $1,\, \ldots,\, m$.
11971197
}
@@ -1216,7 +1216,7 @@ \subsection{Multiplication of Matrices and Vectors}\label{matrix-and-vector-mult
12161216

12171217
Multiplication \lstinline!a * b! of numeric vectors and matrices is defined only for the following combinations:
12181218
\begin{table}[H]
1219-
\caption{%
1219+
\caption{
12201220
Matrix and vector multiplication of arrays with numeric elements.
12211221
The scalar \tablehead{Operation} applies for all $i$ in $1,\, \ldots,\, l$ and $j$ in $1,\, \ldots,\, n$, and the summation over $k$ goes from 1 to $m$.
12221222
}
@@ -1254,7 +1254,7 @@ \subsection{Division by Numeric Scalars}\label{division-by-numeric-scalars}
12541254
In order to get integer division with truncation, use the function \lstinline!div!.
12551255

12561256
\begin{table}[H]
1257-
\caption{%
1257+
\caption{
12581258
Division of scalars and arrays by numeric elements.
12591259
The scalar \tablehead{Operation} applies for all $j$ in $1,\, \ldots,\, n$ and $k$ in $1,\, \ldots,\, m$.
12601260
}
@@ -1281,7 +1281,7 @@ \subsection{Element-wise Division}\label{array-element-wise-division}\label{elem
12811281
In order to get integer division with truncation, use the function \lstinline!div!.
12821282

12831283
\begin{table}[H]
1284-
\caption{%
1284+
\caption{
12851285
Element-wise division of arrays.
12861286
The scalar \tablehead{Operation} applies for all $j$ in $1,\, \ldots,\, n$ and $k$ in $1,\, \ldots,\, m$.
12871287
}
@@ -1334,7 +1334,7 @@ \subsection{Element-wise Exponentiation}\label{element-wise-exponentiation}
13341334
Element-wise exponentiation \lstinline!a .^ b! of numeric scalars, vectors, matrices, or arrays \lstinline!a! and \lstinline!b! requires a numeric type class for \lstinline!a! and \lstinline!b! and either \lstinline!size(a) = size(b)! or scalar \lstinline!a! or scalar \lstinline!b!.
13351335

13361336
\begin{table}[H]
1337-
\caption{%
1337+
\caption{
13381338
Element-wise exponentiation of arrays.
13391339
The scalar \tablehead{Operation} applies for all $j$ in $1,\, \ldots,\, n$ and $k$ in $1,\, \ldots,\, m$.
13401340
}

chapters/connectors.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ \subsection{Inside and Outside Connectors}\label{inside-and-outside-connectors}
7777
\begin{center}
7878
\includegraphics{innerouterconnector}
7979
\end{center}
80-
\caption{%
80+
\caption{
8181
Example for inside and outside connectors.
8282
}
8383
\end{figure}
@@ -975,7 +975,7 @@ \subsection{Examples}\label{examples-of-overconstrained-connectors}
975975
\begin{center}
976976
\includegraphics{overdetermined}
977977
\end{center}
978-
\caption{%
978+
\caption{
979979
Example of a virtual connection graph.
980980
}
981981
\end{figure}

chapters/derivationofstream.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ \section{Mixing Enthalpy}\label{reasons-for-avoiding-the-actual-mixing-enthalpy-
3939
\begin{center}
4040
\includegraphics{fluidmix}
4141
\end{center}
42-
\caption{%
42+
\caption{
4343
Exemplary connection set with three connected components and a common mixing enthalpy.
4444
}
4545
\end{figure}
@@ -130,7 +130,7 @@ \section{Rationale for inStream}\label{rationale-for-the-formulation-of-the-inst
130130
\begin{center}
131131
\includegraphics{fluidmix3}
132132
\end{center}
133-
\caption{%
133+
\caption{
134134
Exemplary connection set with three connected components.
135135
}
136136
\end{figure}
@@ -178,7 +178,7 @@ \subsection{Zero Mass Flow Rate -- Connection of 3 Stream Connectors}\label{conn
178178
\begin{center}
179179
\includegraphics{fluidmix4}
180180
\end{center}
181-
\caption{%
181+
\caption{
182182
Example series connection of multiple models with stream connectors.
183183
}
184184
\end{figure}

chapters/interface.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ \section{The Concepts of Type, Interface and Subtype}\label{the-concepts-of-type
9090
\begin{center}
9191
\includegraphics{subtype}
9292
\end{center}
93-
\caption{%
93+
\caption{
9494
The type \lstinline!R! can be defined as the set of record values containing \lstinline!x! and \lstinline!b!.
9595
The subtype \lstinline!R2! is the subset of values that all contain \lstinline!x!, \lstinline!b!, and \lstinline!y!.
9696
}

chapters/operatorsandexpressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ \section{Operator Precedence and Associativity}\label{operator-precedence-and-as
4242

4343
The following table presents the precedence and associativity of all the expression operators, consistent with and complementing information that can be derived from the Modelica grammar in \cref{modelica-concrete-syntax}.
4444
\begin{table}[H]
45-
\caption{%
45+
\caption{
4646
Operators in order of precedence from highest to lowest.
4747
Operators with different precedence are separated by horizontal lines.
4848
All operators are binary except array index, member access, function call, those shown as unary together with \emph{expr}, the conditional operator, the array construction operator

chapters/packages.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ \section{The Modelica Library Path -- MODELICAPATH}\label{the-modelica-library-p
151151
\begin{center}
152152
\includegraphics{modelicapath}
153153
\end{center}
154-
\caption{%
154+
\caption{
155155
Roots of package hierarchies, e.g., \lstinline!Modelica!, \lstinline!MyLib!, and \lstinline!ComplexNumbers! in \lstinline!MODELICAPATH! = \filename{C:\textbackslash{}library;C:\textbackslash{}lib1;C:\textbackslash{}lib2}.
156156
}
157157
\label{fig:roots}

chapters/statemachines.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ \section{State Machine Graphics}\label{state-machine-graphics}
157157
\includegraphics{statemachine}
158158
\end{center}
159159
% Avoid placing non-normative content in the caption.
160-
\caption{%
160+
\caption{
161161
Recommended layout of a simple state machine.
162162
For the 5 transitions, the settings are as follows, from left to right: \lstinline!immediate! = true, false, true, false, true; \lstinline!reset! = true, true, false, false, true; \lstinline!synchronize! = false, false, false, false, true; \lstinline!priority! = 1, 2, 3, 4, 5.
163163
}
@@ -432,7 +432,7 @@ \subsection{Example}\label{example}
432432
\begin{center}
433433
\includegraphics{hierarchical-statemachine}
434434
\end{center}
435-
\caption{%
435+
\caption{
436436
Example of a hierarchical state machine.
437437
}
438438
\label{fig:hierarchical-statemachine}
@@ -550,7 +550,7 @@ \subsection{Example}\label{example}
550550
\begin{center}
551551
\includegraphics{statemachineplot}
552552
\end{center}
553-
\caption{%
553+
\caption{
554554
State machine behavior, as reflected by the variable \lstinline!v!.
555555
}
556556
\label{fig:state-machine-behavior}

chapters/stream.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ \section{inStream and Connection Equations}\label{stream-operator-instream-and-c
9494
\begin{center}
9595
\includegraphics{fluidsystem}
9696
\end{center}
97-
\caption{%
97+
\caption{
9898
Examplary \lstinline!FluidSystem! with $N = 3$ and $M = 2$.
9999
}
100100
\end{figure}

chapters/synchronous.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ \chapter{Synchronous Language Elements}\label{synchronous-language-elements}
99
\begin{center}
1010
\includegraphics{plantmodel}
1111
\end{center}
12-
\caption{%
12+
\caption{
1313
A continuous plant and a sampled data controller connected together with sample and (zero-order) hold elements.
1414
}
1515
\end{figure}
@@ -120,7 +120,7 @@ \subsection{Clocks and Clocked Variables}\label{clocks-and-clocked-variables}
120120
% \subfloat[A piecewise-constant variable.]{\includegraphics{piecewise}\label{fig:piecewise-constant-variable}}
121121
% \subfloat[A clock variable.]{\includegraphics{clock}\label{fig:clock-variable}}
122122
% \subfloat[A clocked variable.]{\includegraphics{clocked}\label{fig:clocked-variable}}
123-
% \caption{%
123+
% \caption{
124124
% The different kinds of discrete-time variables.
125125
% The \lstinline!hold! extrapolation of the clocked variable is illustrated with dashed green lines.
126126
% }
@@ -142,7 +142,7 @@ \subsection{Clocks and Clocked Variables}\label{clocks-and-clocked-variables}
142142
\begin{center}
143143
\includegraphics{piecewise-constant}
144144
\end{center}
145-
\caption{%
145+
\caption{
146146
A piecewise-constant variable.
147147
}
148148
\label{fig:piecewise-constant-variable}
@@ -167,7 +167,7 @@ \subsection{Clocks and Clocked Variables}\label{clocks-and-clocked-variables}
167167
\begin{center}
168168
\includegraphics{clock}
169169
\end{center}
170-
\caption{%
170+
\caption{
171171
A clock variable.
172172
The value of a clock variable is not defined -- the plot marks only indicate \emph{when} the clock is active.
173173
}
@@ -192,7 +192,7 @@ \subsection{Clocks and Clocked Variables}\label{clocks-and-clocked-variables}
192192
\begin{center}
193193
\includegraphics{clocked}
194194
\end{center}
195-
\caption{%
195+
\caption{
196196
A clocked variable.
197197
The \lstinline!hold! extrapolation of the value at the last event instant is illustrated with dashed green lines.
198198
}

0 commit comments

Comments
 (0)