[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58376] Request for better looking tex supersc
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts |
Date: |
Sun, 17 May 2020 20:35:26 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Update of bug #58376 (project octave):
Status: Patch Submitted => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #8:
This is a real nice improvement. I reviewed the printed results from Latex
and the new Octave implementation by measuring the sizes and placement in
pixels. Summary results are below.
Latex Superscript
------------------------------------------------------------
Size1 : 57
Size2 : 42 (42/57 = 74% of Size 1)
Size3 : 28 (28/42 = 67% of Size 2)
Placement
A1 : 0
A2 : +29 (or 28/57 = 49%)
A3 : +25 (or 25/42 = 60%)
Latex Subscript
------------------------------------------------------------
Size1 : 57
Size2 : 42 (42/57 = 74% of Size 1)
Size3 : 28 (28/42 = 67% of Size 2)
Placement
A1 : 0
A2 : -12 (or 12/57 = -21%)
A3 : -8 (or 8/42 = -19%))
################################################################################
Octave Superscript
------------------------------------------------------------
Size1 : 59
Size2 : 42 (42/57 = 71% of Size 1)
Size3 : 30 (30/42 = 71% of Size 2)
Placement
A1 : 0
A2 : +33 (or 28/57 = 56%)
A3 : +23 (or 23/42 = 55%)
Octave Subscript
------------------------------------------------------------
Size1 : 59
Size2 : 42 (42/57 = 74% of Size 1)
Size3 : 30 (28/42 = 67% of Size 2)
Placement
A1 : 0
A2 : -17 (or 17/59 = -29%)
A3 : -12 (or 12/42 = -29%))
Latex seems to vary the size of the font based on whether it is the first,
second, or presumably third superscript. However, the *average* font size
decrease is 70% which matches what Pantxo programmed. Similarly, the
superscript placement varies with whether it is the first, second, or third
superscript, but the *average* seems to be 55% which is what was programmed.
For subscripts, the sizing was the same. Octave, however, was placing the
subscripts farther down at approximately -29% of fontsize versus -20% for
Latex. I changed the yoffset to be -15% and this results in a measured
difference of -25% of fontsize which I think is a nice compromise.
I added a note in the NEWS file about the visual improvement and checked in
the patch here: https://hg.savannah.gnu.org/hgweb/octave/rev/6e8d5c99263c.
Marking as fixed and closing report.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58376>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/15
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/15
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/15
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/15
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/15
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/16
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Guillaume, 2020/05/16
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/17
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/17
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts,
Rik <=
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Rik, 2020/05/17
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/18
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Rik, 2020/05/18
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/18
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Rik, 2020/05/18
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/18
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Rik, 2020/05/18
- [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts, Pantxo Diribarne, 2020/05/18