Skip to content

Commit

Permalink
Whoops - fix latex output
Browse files Browse the repository at this point in the history
  • Loading branch information
DMRobertson committed Jan 17, 2018
1 parent 895113d commit 2a64af3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thompson/homomorphism.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ def format_pl_segments(self, LaTeX=False, sfrac=False):
0 &+& 1/2 &(t - 0 ) &\text{if}& 0 &\leq t < & 1/2 \\
1/4 &+& 1 &(t - 1/2 ) &\text{if}& 1/2 &\leq t < & 3/4 \\
1/2 &+& 2 &(t - 3/4 ) &\text{if}& 3/4 &\leq t < & 1
\end{array}
\end{array} \right.
\end{equation*}
"""
return self.format_pl_segments_directly( self.pl_segments(), LaTeX, sfrac)
Expand Down Expand Up @@ -697,7 +697,7 @@ def format_pl_segments_directly(cls, segments, LaTeX=False, sfrac=False):
\setlength\arraycolsep{1.3pt}
\left\{ \begin{array}{llll>{\quad}l<{\quad}lll}
""" + body + """
\end{array}
\end{array} \right.
\end{equation*}"""
else:
return body
Expand Down

0 comments on commit 2a64af3

Please sign in to comment.