octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58376] Request for better looking tex supersc


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #58376] Request for better looking tex superscripts and subscripts
Date: Fri, 15 May 2020 18:25:49 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0

URL:
  <https://savannah.gnu.org/bugs/?58376>

                 Summary: Request for better looking tex superscripts and
subscripts
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: ven. 15 mai 2020 22:25:47 UTC
                Category: Plotting with OpenGL
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:

I attached a figure (orig.png) in which I compared the output of Octave's
internal tex renderer (with default and STIX font) and LaTeX's. Needless to
say that I prefer Latex's output.

The main problem is that Octave exaggerates baseline shifts and scales them
with the font ascender and descender. Those can be overly large for fonts like
STIX that have large math symbols.
The second problem is that subscript nested in superscript are not correctly
handled. 

I attached modififed.png which I obtained changing how octave handles baseline
offsets and font size. I'll attach the corresponding simple patch when I have
a bug number.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58376>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]