Skip to content

Commit

Permalink
Switch from table to item-list after latexml bug was corrected.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Sep 9, 2020
1 parent b425c4d commit 22b221d
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions chapters/overloaded.tex
Expand Up @@ -20,20 +20,16 @@ \section{Overview of overloaded operators}\label{overview-of-overloaded-operator
% Changing to use itemize was attempted, but currently fails in LaTeXML
% https://github.com/brucemiller/LaTeXML/issues/1057
% (Note: It's pure coincide that this issue occured for this case.)
\begin{longtable}[c]{@{}|ll|@{}}
\hline\endhead
\multicolumn{2}{|l|}{Overloaded constructors, see \cref{overloaded-constructors}:}\\
& \lstinline!'constructor'!, \lstinline!'0'!\\
\multicolumn{2}{|l|}{Overloaded string conversions, see \cref{overloaded-string-conversions}:}\\
& \lstinline!'String'! \\
\multicolumn{2}{|l|}{Overloaded binary operations, see \cref{overloaded-binary-operations}:}\\
& \lstinline!'+'!, \lstinline!'-'! (subtraction), \lstinline!'*'!, \lstinline!'/'!, \lstinline!'^'!,\\
& \lstinline!'=='!, \lstinline!'<='!', \lstinline!'>'!, \lstinline!'<'!,
\lstinline!'>='!, \lstinline!'<='!, \lstinline!'and'!, \lstinline!'or'!\\
\multicolumn{2}{|l|}{Overloaded unary operations, see \cref{overloaded-unary-operations}:}\\
& \lstinline!'-'! (negation), \lstinline!'not'!\\
\hline
\end{longtable}
\begin{itemize}
\item Overloaded constructors, see \cref{overloaded-constructors}:\\ \lstinline!'constructor'!, \lstinline!'0'!
\item Overloaded string conversions, see \cref{overloaded-string-conversions}:\\ \lstinline!'String'!
\item Overloaded binary operations, see \cref{overloaded-binary-operations}:\\
\lstinline!'+'!, \lstinline!'-'! (subtraction), \lstinline!'*'!, \lstinline!'/'!, \lstinline!'^'!,\\
\lstinline!'=='!, \lstinline!'<='!', \lstinline!'>'!, \lstinline!'<'!,
\lstinline!'>='!, \lstinline!'<='!, \lstinline!'and'!, \lstinline!'or'!
\item Overloaded unary operations, see \cref{overloaded-unary-operations}:\\
\lstinline!'-'! (negation), \lstinline!'not'!
\end{itemize}

The functions defined in the operator-class must take at least one
component of the record class as input, except for the
Expand Down

0 comments on commit 22b221d

Please sign in to comment.