Skip to content

Commit

Permalink
Another tweak and fix to latex output
Browse files Browse the repository at this point in the history
  • Loading branch information
DMRobertson committed Jan 17, 2018
1 parent 0e56f04 commit 6ca3c04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions thompson/homomorphism.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def format_pl_segments(self, LaTeX=False, sfrac=False):
%\usepackage{array}
\begin{equation*}
\setlength\arraycolsep{1.3pt}
\left\{ \begin{array}{llll>{\quad}l<{\quad}lll}
\left\{ \begin{array}{ccrl>{\quad}c<{\quad}ccc}
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
Expand Down Expand Up @@ -695,8 +695,8 @@ def format_pl_segments_directly(cls, segments, LaTeX=False, sfrac=False):
return r"""%\usepackage{array}
\begin{equation*}
\setlength\arraycolsep{1.3pt}
\left\{ \begin{array}{llll>{\quad}l<{\quad}lll}
""" + body + """
\left\{ \begin{array}{ccrl>{\quad}c<{\quad}ccc}
""" + body + r"""
\end{array} \right.
\end{equation*}"""
else:
Expand Down

0 comments on commit 6ca3c04

Please sign in to comment.