galgebra icon indicating copy to clipboard operation
galgebra copied to clipboard

atan2 printed out without its arguments when using xpdf

Open FreddyBaudine opened this issue 6 years ago • 2 comments

Dear all,

I seem to have come across a printing issue. The command xpdf generates a .tex file that does not entail the printing of the arguments of the inverse trig function atan2. When you cast an eye on the bit at fault in the .tex file, you can observe that the “\end{equation*}” arrives too soon, see zip file attached.

However, this phenomenon does not occur when using jupyter.

Look forward to hearing from you. kind regards, FB atan2_issue.zip

FreddyBaudine avatar Dec 22 '19 18:12 FreddyBaudine

The relevant tex snippet:

\pmb{\mbox{atan2 is printed out without its arguments!}}
\begin{equation*} atan2(u,v) = atan_{2} \end{equation*}
\begin{equation*} atan(u/v) = \arctan{\left (\frac{u}{v} \right )} \end{equation*}
\end{document}

eric-wieser avatar Dec 24 '19 18:12 eric-wieser

What's also weird is the subscript for 2, probably this is a lead.

I've checked the code to specifically handle atan and atan2, they seem harmless.

utensil avatar Jan 06 '20 02:01 utensil