Skip to content

Commit

Permalink
Use \vspace instead of \vspace* in 'synopsis' environment
Browse files Browse the repository at this point in the history
I don't see any reason why the starred form was introduced in the first place, so it's probably better to go with the more intelligent form.
  • Loading branch information
henrikt-ma committed Nov 19, 2020
1 parent 743ccce commit d610b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion preamble.tex
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@

\newenvironment{synopsis}[1][modelica]{%
\lstset{language=[synopsis]#1}%
~\vspace*{-\parskip}\par
~\vspace{-\parskip}\par
}{%
}
\newenvironment{semantics}{%
Expand Down

0 comments on commit d610b19

Please sign in to comment.