0

How can I adjust the font size ratio of superscripts and subscripts relative to the main font in mathematical formulas, as well as their vertical position relative to the main text? When using unicode-math and compiling with XeLaTeX, is it possible to adjust the font size ratio of superscripts and subscripts relative to the main font and also modify their vertical positioning? How can this be done?

lualatex is not an option. I must use xelatex. "scriptPercentScaleDown, scriptScriptPercentScaleDown and the shifting vertically via subscriptShiftDown", how to set these parameter when using xelatex?

3
  • 4
    Provide a specific code example to show your requirement more clearly, pls. BTW, "adjust the font size ratio" and the "vertical positioning" looks like two different questions. Commented Nov 13 at 0:52
  • 3
    best also say if lualatex is an option. Commented Nov 13 at 4:11
  • 3
    If it follows the OpenType spec, then you can do the scaling via the font parameters scriptPercentScaleDown, scriptScriptPercentScaleDown and the shifting vertically via subscriptShiftDown and friends (see the math constants table in the spec: learn.microsoft.com/en-us/typography/opentype/spec/math) Commented Nov 13 at 8:02

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.