diff --git a/chapters/overloaded.tex b/chapters/overloaded.tex index c19920912..3518c1905 100644 --- a/chapters/overloaded.tex +++ b/chapters/overloaded.tex @@ -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