#15870: typesetting of multi-character variables wrong
-----------------------------+----------------------------
Reporter: dkrenn | Owner:
Type: PLEASE CHANGE | Status: new
Priority: major | Milestone: sage-6.2
Component: PLEASE CHANGE | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------
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).
--
Ticket URL: <http://trac.sagemath.org/ticket/15870>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.