On Tue, Nov 02, 2004 at 03:12:03PM +0000, Greg Kochanski wrote:
> Package: grace
> Version: 5.1.16-1
> Severity: minor
> 
> In a subscript, as in an axis label generated
> via
> 
> f\s0
> 
> The subscript is too low.   The center of the zero is
> below the bottom of the ``f''.    Compare this with,
> TeX, for instance, where the subscript center is noticeably
> above the baseline of the main letter.
> 

Hi Greg,

I agree on the subscript issue. However, it is not easy. Grace's
defaults are:

\s      \v{-0.4}\z{0.71}
\S      \v{+0.6}\z{0.71}

In a \[y_a y_b\] construct LaTeX's defaults are:

\s      \v{-0.15000}\h{0.000000}\z{0.667}
\S      \v{+0.41289}\h{0.035880}\z{0.667}

(Note, the super-script is also slightly shifted to the right.)

However, with y_a^b the subscript is even lower:

\s      \v{-0.24722}\h{0.000000}\z{0.667}
\S      \v{+0.41289}\h{0.035880}\z{0.667}

Also, with LaTeX, the zoom factor varies between 0.667 and 0.75,
depending on the text font size.

Personally I find 

\s      \v{-0.15}\h{0.00}\z{0.71}
\S      \v{+0.41}\h{0.04}\z{0.71}

a good compromise. That is, grace's scaling factor and LaTeX's
translations. What do you think? I would build and upload some packages
with these new numbers. Attached you will find my experiments. Black is
the grace default, red the LaTeX default and blue my proposal.

Greetings,
Ionut

PS The real solution for this is a LaTeX input module for grace, which I
have started a long time ago, but didn't manage to finish yet.

-- 
***************
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 
# Grace project file
#
@version 50118
@page size 842, 595
@page scroll 5%
@page inout 5%
@link page off
@map font 54 to "Courier", "Courier"
@map font 55 to "Courier-Bold", "Courier-Bold"
@map font 11 to "Courier-BoldOblique", "Courier-BoldOblique"
@map font 9 to "Courier-Oblique", "Courier-Oblique"
@map font 14 to "GreekArial-Italic", "GreekArial-Italic"
@map font 15 to "GreekArial-Plain", "GreekArial-Plain"
@map font 16 to "GreekCourier-Bold", "GreekCourier-Bold"
@map font 17 to "GreekCourier-BoldItalic", "GreekCourier-BoldItalic"
@map font 18 to "GreekCourier-Italic", "GreekCourier-Italic"
@map font 19 to "GreekCourier-Plain", "GreekCourier-Plain"
@map font 20 to "GreekPoly-Italic", "GreekPoly-Italic"
@map font 21 to "GreekPoly-Plain", "GreekPoly-Plain"
@map font 22 to "GreekTimes-Bold", "GreekTimes-Bold"
@map font 23 to "GreekTimes-BoldItalic", "GreekTimes-BoldItalic"
@map font 24 to "GreekTimes-Italic", "GreekTimes-Italic"
@map font 25 to "GreekTimes-Plain", "GreekTimes-Plain"
@map font 4 to "Helvetica", "Helvetica"
@map font 6 to "Helvetica-Bold", "Helvetica-Bold"
@map font 7 to "Helvetica-BoldOblique", "Helvetica-BoldOblique"
@map font 29 to "Helvetica-Narrow", "Helvetica-Narrow"
@map font 30 to "Helvetica-Narrow-Bold", "Helvetica-Narrow-Bold"
@map font 31 to "Helvetica-Narrow-BoldOblique", "Helvetica-Narrow-BoldOblique"
@map font 32 to "Helvetica-Narrow-Oblique", "Helvetica-Narrow-Oblique"
@map font 5 to "Helvetica-Oblique", "Helvetica-Oblique"
@map font 34 to "NewCenturySchlbk-Bold", "NewCenturySchlbk-Bold"
@map font 35 to "NewCenturySchlbk-BoldItalic", "NewCenturySchlbk-BoldItalic"
@map font 36 to "NewCenturySchlbk-Italic", "NewCenturySchlbk-Italic"
@map font 37 to "NewCenturySchlbk-Roman", "NewCenturySchlbk-Roman"
@map font 38 to "Palatino-Bold", "Palatino-Bold"
@map font 39 to "Palatino-BoldItalic", "Palatino-BoldItalic"
@map font 40 to "Palatino-Italic", "Palatino-Italic"
@map font 41 to "Palatino-Roman", "Palatino-Roman"
@map font 12 to "Symbol", "Symbol"
@map font 2 to "Times-Bold", "Times-Bold"
@map font 3 to "Times-BoldItalic", "Times-BoldItalic"
@map font 1 to "Times-Italic", "Times-Italic"
@map font 0 to "Times-Roman", "Times-Roman"
@map font 47 to "ZapfChancery-MediumItalic", "ZapfChancery-MediumItalic"
@map font 13 to "ZapfDingbats", "ZapfDingbats"
@map font 49 to "CenturySchCYR-Bold", "CenturySchCYR-Bold"
@map font 50 to "CenturySchCYR-BoldItal", "CenturySchCYR-BoldItal"
@map font 51 to "CenturySchCYR-Ital", "CenturySchCYR-Ital"
@map font 52 to "CenturySchCYR-Roma", "CenturySchCYR-Roma"
@map font 53 to "ChanceryCYR-MediItal", "ChanceryCYR-MediItal"
@map font 56 to "Courier-BoldItalic", "Courier-BoldItalic"
@map font 57 to "Courier-Italic", "Courier-Italic"
@map font 58 to "LuxiMono", "LuxiMono"
@map font 59 to "LuxiMono-Bold", "LuxiMono-Bold"
@map font 60 to "LuxiMono-BoldOblique", "LuxiMono-BoldOblique"
@map font 61 to "LuxiMono-Oblique", "LuxiMono-Oblique"
@map font 62 to "LuxiSans", "LuxiSans"
@map font 63 to "LuxiSans-Bold", "LuxiSans-Bold"
@map font 64 to "LuxiSans-BoldOblique", "LuxiSans-BoldOblique"
@map font 65 to "LuxiSans-Oblique", "LuxiSans-Oblique"
@map font 66 to "LuxiSerif", "LuxiSerif"
@map font 67 to "LuxiSerif-Bold", "LuxiSerif-Bold"
@map font 68 to "LuxiSerif-BoldOblique", "LuxiSerif-BoldOblique"
@map font 69 to "LuxiSerif-Oblique", "LuxiSerif-Oblique"
@map font 70 to "NimbusMonCYR-Bold", "NimbusMonCYR-Bold"
@map font 71 to "NimbusMonCYR-BoldObli", "NimbusMonCYR-BoldObli"
@map font 72 to "NimbusMonCYR-Regu", "NimbusMonCYR-Regu"
@map font 73 to "NimbusMonCYR-ReguObli", "NimbusMonCYR-ReguObli"
@map font 74 to "NimbusRomanCYR-Medi", "NimbusRomanCYR-Medi"
@map font 75 to "NimbusRomanCYR-MediItal", "NimbusRomanCYR-MediItal"
@map font 76 to "NimbusRomanCYR-Regu", "NimbusRomanCYR-Regu"
@map font 77 to "NimbusRomanCYR-ReguItal", "NimbusRomanCYR-ReguItal"
@map font 78 to "NimbusSansCYR-Bold", "NimbusSansCYR-Bold"
@map font 79 to "NimbusSansCYR-BoldCond", "NimbusSansCYR-BoldCond"
@map font 80 to "NimbusSansCYR-BoldCondItal", "NimbusSansCYR-BoldCondItal"
@map font 81 to "NimbusSansCYR-BoldItal", "NimbusSansCYR-BoldItal"
@map font 82 to "NimbusSansCYR-Regu", "NimbusSansCYR-Regu"
@map font 83 to "NimbusSansCYR-ReguCond", "NimbusSansCYR-ReguCond"
@map font 84 to "NimbusSansCYR-ReguCondItal", "NimbusSansCYR-ReguCondItal"
@map font 85 to "NimbusSansCYR-ReguItal", "NimbusSansCYR-ReguItal"
@map font 86 to "OldSlavicRegu", "OldSlavicRegu"
@map font 87 to "Teams-Bold", "Teams-Bold"
@map font 88 to "Teams-BoldItalic", "Teams-BoldItalic"
@map font 89 to "Teams-Italic", "Teams-Italic"
@map font 90 to "Teams-Normal", "Teams-Normal"
@map font 91 to "URWBookmanCYR-DemiBold", "URWBookmanCYR-DemiBold"
@map font 92 to "URWBookmanCYR-DemiBoldItal", "URWBookmanCYR-DemiBoldItal"
@map font 93 to "URWBookmanCYR-Ligh", "URWBookmanCYR-Ligh"
@map font 94 to "URWBookmanCYR-LighItal", "URWBookmanCYR-LighItal"
@map font 95 to "URWGothicCYR-Book", "URWGothicCYR-Book"
@map font 96 to "URWGothicCYR-BookObli", "URWGothicCYR-BookObli"
@map font 97 to "URWGothicCYR-Demi", "URWGothicCYR-Demi"
@map font 98 to "URWGothicCYR-DemiObli", "URWGothicCYR-DemiObli"
@map font 99 to "URWPalladioCYR-Bold", "URWPalladioCYR-Bold"
@map font 100 to "URWPalladioCYR-BoldItal", "URWPalladioCYR-BoldItal"
@map font 101 to "URWPalladioCYR-Ital", "URWPalladioCYR-Ital"
@map font 102 to "URWPalladioCYR-Roma", "URWPalladioCYR-Roma"
@map color 0 to (255, 255, 255), "white"
@map color 1 to (0, 0, 0), "black"
@map color 2 to (255, 0, 0), "red"
@map color 3 to (0, 255, 0), "green"
@map color 4 to (0, 0, 255), "blue"
@map color 5 to (255, 255, 0), "yellow"
@map color 6 to (188, 143, 143), "brown"
@map color 7 to (220, 220, 220), "grey"
@map color 8 to (148, 0, 211), "violet"
@map color 9 to (0, 255, 255), "cyan"
@map color 10 to (255, 0, 255), "magenta"
@map color 11 to (255, 165, 0), "orange"
@map color 12 to (114, 33, 188), "indigo"
@map color 13 to (103, 7, 72), "maroon"
@map color 14 to (64, 224, 208), "turquoise"
@map color 15 to (0, 139, 0), "green4"
@reference date 0
@date wrap off
@date wrap year 1950
@default linewidth 1.0
@default linestyle 1
@default color 1
@default pattern 1
@default font 0
@default char size 1.000000
@default symbol size 1.000000
@default sformat "%.8g"
@background color 0
@page background fill on
@timestamp off
@timestamp 0.03, 0.03
@timestamp color 1
@timestamp rot 0
@timestamp font 0
@timestamp char size 1.000000
@timestamp def "Wed Sep  7 14:55:09 2005"
@with string
@    string on
@    string loctype view
@    string 0.72316925918, 0.773906764211
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def "-3.1415\h{2}+3.1415"
@with string
@    string on
@    string loctype view
@    string 0.712010007023, 0.713201695196
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def "\f{Symbol}-3.1415\h{2}+3.1415"
@with string
@    string on
@    string loctype view
@    string 0.698001752018, 0.652180947195
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def "\f{Courier}-3.1415\h{2}+3.1415"
@with string
@    string on
@    string loctype view
@    string 0.723090339433, 0.585698952735
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def "\f{Helvetica}-3.1415\h{2}+3.1415"
@with string
@    string on
@    string loctype view
@    string 0.232438383409, 0.585967279873
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def 
"\f{Symbol}y\s\qa\Q\N\h{1}\R{red}y\v{-0.15}\z{0.71}\qa\Q\z{}\v{}\h{1}\R{blue}y\v{-0.15}\z{0.71}\qa\Q\z{}\v{}"
@with string
@    string on
@    string loctype view
@    string 0.239454348873, 0.76284221575
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def 
"\f{Times-Italic}y\sa\N\h{1}\R{red}y\v{-0.15}\z{0.667}a\z{}\v{}\h{1}\R{blue}y\v{-0.15}\z{0.71}a\z{}\v{}"
@with string
@    string on
@    string loctype view
@    string 0.226740377711, 0.668588362494
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def 
"\f{Symbol}y\sa\N\h{1}\R{red}y\v{-0.15}\z{0.667}a\z{}\v{}\h{1}\R{blue}y\v{-0.15}\z{0.71}a\z{}\v{}"
@with string
@    string on
@    string loctype view
@    string 0.230907340326, 0.389622842531
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def 
"\f{Times-Italic}y\Sa\N\h{1}\R{red}y\v{0.41289}\h{0.035880}\z{0.667}a\z{}\v{}\h{1}\R{blue}y\v{0.41289}\h{0.035880}\z{0.71}a\z{}\v{}"
@with string
@    string on
@    string loctype view
@    string 0.206797357768, 0.318161012067
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def 
"\f{Symbol}y\Sa\N\h{1}\R{red}y\v{0.41289}\h{0.035880}\z{0.667}a\z{}\v{}\h{1}\R{blue}y\v{0.41289}\h{0.03580}\z{0.71}a\z{}\v{}"
@with string
@    string on
@    string loctype view
@    string 0.203948354919, 0.232690926597
@    string color 1
@    string rot 0
@    string font 0
@    string just 0
@    string char size 1.500000
@    string def 
"\f{Symbol}y\S\qa\Q\N\h{1}\R{red}y\v{0.41289}\h{0.035880}\z{0.667}\qa\Q\z{}\v{}\h{1}\R{blue}y\v{0.41289}\h{0.03580}\z{0.71}\qa\Q\z{}\v{}"
@r0 off
@link r0 to g0
@r0 type above
@r0 linestyle 1
@r0 linewidth 1.0
@r0 color 1
@r0 line 0, 0, 0, 0
@r1 off
@link r1 to g0
@r1 type above
@r1 linestyle 1
@r1 linewidth 1.0
@r1 color 1
@r1 line 0, 0, 0, 0
@r2 off
@link r2 to g0
@r2 type above
@r2 linestyle 1
@r2 linewidth 1.0
@r2 color 1
@r2 line 0, 0, 0, 0
@r3 off
@link r3 to g0
@r3 type above
@r3 linestyle 1
@r3 linewidth 1.0
@r3 color 1
@r3 line 0, 0, 0, 0
@r4 off
@link r4 to g0
@r4 type above
@r4 linestyle 1
@r4 linewidth 1.0
@r4 color 1
@r4 line 0, 0, 0, 0
@g0 on
@g0 hidden false
@g0 type XY
@g0 stacked false
@g0 bar hgap 0.000000
@g0 fixedpoint off
@g0 fixedpoint type 0
@g0 fixedpoint xy 0.000000, 0.000000
@g0 fixedpoint format general general
@g0 fixedpoint prec 6, 6
@with g0
@    world 0, 0, 1, 1
@    stack world 0, 0, 0, 0
@    znorm 1
@    view 0.150000, 0.150000, 1.150000, 0.850000
@    title ""
@    title font 0
@    title size 1.500000
@    title color 1
@    subtitle ""
@    subtitle font 0
@    subtitle size 1.000000
@    subtitle color 1
@    xaxes scale Normal
@    yaxes scale Normal
@    xaxes invert off
@    yaxes invert off
@    xaxis  on
@    xaxis  type zero false
@    xaxis  offset 0.000000 , 0.000000
@    xaxis  bar on
@    xaxis  bar color 1
@    xaxis  bar linestyle 1
@    xaxis  bar linewidth 1.0
@    xaxis  label ""
@    xaxis  label layout para
@    xaxis  label place auto
@    xaxis  label char size 1.000000
@    xaxis  label font 0
@    xaxis  label color 1
@    xaxis  label place normal
@    xaxis  tick on
@    xaxis  tick major 0.5
@    xaxis  tick minor ticks 1
@    xaxis  tick default 6
@    xaxis  tick place rounded true
@    xaxis  tick in
@    xaxis  tick major size 1.000000
@    xaxis  tick major color 1
@    xaxis  tick major linewidth 1.0
@    xaxis  tick major linestyle 1
@    xaxis  tick major grid off
@    xaxis  tick minor color 1
@    xaxis  tick minor linewidth 1.0
@    xaxis  tick minor linestyle 1
@    xaxis  tick minor grid off
@    xaxis  tick minor size 0.500000
@    xaxis  ticklabel on
@    xaxis  ticklabel format general
@    xaxis  ticklabel prec 5
@    xaxis  ticklabel formula ""
@    xaxis  ticklabel append ""
@    xaxis  ticklabel prepend ""
@    xaxis  ticklabel angle 0
@    xaxis  ticklabel skip 0
@    xaxis  ticklabel stagger 0
@    xaxis  ticklabel place normal
@    xaxis  ticklabel offset auto
@    xaxis  ticklabel offset 0.000000 , 0.010000
@    xaxis  ticklabel start type auto
@    xaxis  ticklabel start 0.000000
@    xaxis  ticklabel stop type auto
@    xaxis  ticklabel stop 0.000000
@    xaxis  ticklabel char size 1.000000
@    xaxis  ticklabel font 0
@    xaxis  ticklabel color 1
@    xaxis  tick place both
@    xaxis  tick spec type none
@    yaxis  on
@    yaxis  type zero false
@    yaxis  offset 0.000000 , 0.000000
@    yaxis  bar on
@    yaxis  bar color 1
@    yaxis  bar linestyle 1
@    yaxis  bar linewidth 1.0
@    yaxis  label ""
@    yaxis  label layout para
@    yaxis  label place auto
@    yaxis  label char size 1.000000
@    yaxis  label font 0
@    yaxis  label color 1
@    yaxis  label place normal
@    yaxis  tick on
@    yaxis  tick major 0.5
@    yaxis  tick minor ticks 1
@    yaxis  tick default 6
@    yaxis  tick place rounded true
@    yaxis  tick in
@    yaxis  tick major size 1.000000
@    yaxis  tick major color 1
@    yaxis  tick major linewidth 1.0
@    yaxis  tick major linestyle 1
@    yaxis  tick major grid off
@    yaxis  tick minor color 1
@    yaxis  tick minor linewidth 1.0
@    yaxis  tick minor linestyle 1
@    yaxis  tick minor grid off
@    yaxis  tick minor size 0.500000
@    yaxis  ticklabel on
@    yaxis  ticklabel format general
@    yaxis  ticklabel prec 5
@    yaxis  ticklabel formula ""
@    yaxis  ticklabel append ""
@    yaxis  ticklabel prepend ""
@    yaxis  ticklabel angle 0
@    yaxis  ticklabel skip 0
@    yaxis  ticklabel stagger 0
@    yaxis  ticklabel place normal
@    yaxis  ticklabel offset auto
@    yaxis  ticklabel offset 0.000000 , 0.010000
@    yaxis  ticklabel start type auto
@    yaxis  ticklabel start 0.000000
@    yaxis  ticklabel stop type auto
@    yaxis  ticklabel stop 0.000000
@    yaxis  ticklabel char size 1.000000
@    yaxis  ticklabel font 0
@    yaxis  ticklabel color 1
@    yaxis  tick place both
@    yaxis  tick spec type none
@    altxaxis  off
@    altyaxis  off
@    legend on
@    legend loctype view
@    legend 0.85, 0.8
@    legend box color 1
@    legend box pattern 1
@    legend box linewidth 1.0
@    legend box linestyle 1
@    legend box fill color 0
@    legend box fill pattern 1
@    legend font 0
@    legend char size 1.000000
@    legend color 1
@    legend length 4
@    legend vgap 1
@    legend hgap 1
@    legend invert false
@    frame type 0
@    frame linestyle 1
@    frame linewidth 1.0
@    frame color 1
@    frame pattern 1
@    frame background color 0
@    frame background pattern 0

Attachment: signature.asc
Description: Digital signature

Reply via email to