id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
15870 (LaTeX)-typesetting of multi-character variables wrong dkrenn "We have
{{{
sage: abc = var('abc')
sage: latex((abc/(abc+1)+42)/(abc-1))
\frac{\frac{\mbox{abc}}{\mbox{abc} + 1} + 42}{\mbox{abc} - 1}
}}}
The \mbox here is wrong because of the following two reasons:
- In the example above `\mbox{abc}` has normal size, whereas the `+1` is typeset in subscriptsize (or so). You can see this by {{{view((abc/(abc+1)+42)/(abc-1))}}}.
- Variables are written in italic.
Therefore `\mbox` should be replaced by `\mathit` (which solves both problems mentioned above).
See also #13543 (Multi-character variables not supported in legend_labels).
" defect closed major sage-6.2 user interface fixed latex, variable Daniel Krenn Andrey Novoseltsev N/A 8655a9a8f5278d055f5ea033110360ea55cbc67e 8655a9a8f5278d055f5ea033110360ea55cbc67e