Skip to content

Commit

Permalink
Improve symmetry of footnotes for Mathematica and MATLAB
Browse files Browse the repository at this point in the history
This also fixes some strange leading whitespace in the source code.
  • Loading branch information
henrikt-ma committed Jul 14, 2020
1 parent 4f9f9f6 commit b44ef55
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions chapters/operatorsandexpressions.tex
Expand Up @@ -95,11 +95,8 @@ \section{Operator Precedence and Associativity}\doublelabel{operator-precedence-
is non-associative. The array range operator is non-associative.

\begin{nonnormative}
The unary minus and plus in Modelica is slightly different than
in Mathematica and in MATLAB\footnote{MATLAB is a registered trademark
of MathWorks Inc.}, since the following expressions are illegal
(whereas in Mathematica\footnote{Mathematica is a registered trademark
of Wolfram Research Inc.} and in MATLAB these are valid expressions):
The unary minus and plus in Modelica is slightly different than in Mathematica\footnote{\emph{Mathematica} is a registered trademark of Wolfram Research Inc.} and in MATLAB\footnote{\emph{MATLAB} is
a registered trademark of MathWorks Inc.}, since the following expressions are illegal (whereas in Mathematica and in MATLAB these are valid expressions):
\begin{lstlisting}[language=modelica]
2*-2 // = -4 in Mathematica/MATLAB; is illegal in Modelica
--2 // = 2 in Mathematica/MATLAB; is illegal in Modelica
Expand Down

0 comments on commit b44ef55

Please sign in to comment.