Skip to content

Commit

Permalink
Fix indentation of Ellipse pseudo-code record definition
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 23, 2021
1 parent e0fb713 commit 649099d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions chapters/annotations.tex
Expand Up @@ -892,9 +892,11 @@ \subsubsection{Ellipse}\label{ellipse}
Extent extent;
Real startAngle(quantity = "angle", unit = "deg") = 0;
Real endAngle(quantity = "angle", unit = "deg") = 360;
EllipseClosure closure = if startAngle == 0 and endAngle == 360
then EllipseClosure.Chord
else EllipseClosure.Radial;
EllipseClosure closure =
if startAngle == 0 and endAngle == 360 then
EllipseClosure.Chord
else
EllipseClosure.Radial;
end Ellipse;
\end{lstlisting}%
\annotationindex{Ellipse}
Expand Down

0 comments on commit 649099d

Please sign in to comment.