| 1 |
%%^^A%% um-doc-mathfontdimen.tex -- part of UNICODE-MATH <wspr.io/unicode-math> |
| 2 |
|
| 3 |
\section{\Hologo{XeTeX} math font dimensions} |
| 4 |
|
| 5 |
These are the extended \cmd\fontdimen s available for suitable fonts |
| 6 |
in \XeTeX. Note that Lua\TeX\ takes an alternative route, and this package |
| 7 |
will eventually provide a wrapper interface to the two (I hope). |
| 8 |
|
| 9 |
\newcounter{mfdimen} |
| 10 |
\setcounter{mfdimen}{9} |
| 11 |
\newcommand\mathfontdimen[2]{^^A |
| 12 |
\stepcounter{mfdimen}^^A |
| 13 |
\themfdimen & {\scshape\small #1} & #2\vspace{0.5ex} \tabularnewline} |
| 14 |
|
| 15 |
\begin{longtable}{ |
| 16 |
@{}c>{\raggedright\parfillskip=0pt}p{4cm}>{\raggedright}p{7cm}@{}} |
| 17 |
\toprule \cmd\fontdimen & Dimension name & Description\tabularnewline\midrule \endhead |
| 18 |
\bottomrule\endfoot |
| 19 |
\mathfontdimen{Script\-Percent\-Scale\-Down} |
| 20 |
{Percentage of scaling down for script level 1. Suggested value: 80\%.} |
| 21 |
\mathfontdimen{Script\-Script\-Percent\-Scale\-Down} |
| 22 |
{Percentage of scaling down for script level 2 (Script\-Script). Suggested value: 60\%.} |
| 23 |
\mathfontdimen{Delimited\-Sub\-Formula\-Min\-Height} |
| 24 |
{Minimum height required for a delimited expression to be treated as a subformula. Suggested value: normal line height\,×\,1.5.} |
| 25 |
\mathfontdimen{Display\-Operator\-Min\-Height} |
| 26 |
{Minimum height of n-ary operators (such as integral and summation) for formulas in display mode.} |
| 27 |
\mathfontdimen{Math\-Leading} |
| 28 |
{White space to be left between math formulas to ensure proper line spacing. For example, for applications that treat line gap as a part of line ascender, formulas with ink going above (os2.sTypoAscender + os2.sTypoLineGap – MathLeading) or with ink going below os2.sTypoDescender will result in increasing line height.} |
| 29 |
\mathfontdimen{Axis\-Height} |
| 30 |
{Axis height of the font. } |
| 31 |
\mathfontdimen{Accent\-Base\-Height} |
| 32 |
{Maximum (ink) height of accent base that does not require raising the accents. Suggested: x-height of the font (os2.sxHeight) plus any possible overshots. } |
| 33 |
\mathfontdimen{Flattened\-Accent\-Base\-Height} |
| 34 |
{Maximum (ink) height of accent base that does not require flattening the accents. Suggested: cap height of the font (os2.sCapHeight).} |
| 35 |
\mathfontdimen{Subscript\-Shift\-Down} |
| 36 |
{The standard shift down applied to subscript elements. Positive for moving in the downward direction. Suggested: os2.ySubscriptYOffset.} |
| 37 |
\mathfontdimen{Subscript\-Top\-Max} |
| 38 |
{Maximum allowed height of the (ink) top of subscripts that does not require moving subscripts further down. Suggested: /5 x-height.} |
| 39 |
\mathfontdimen{Subscript\-Baseline\-Drop\-Min} |
| 40 |
{Minimum allowed drop of the baseline of subscripts relative to the (ink) bottom of the base. Checked for bases that are treated as a box or extended shape. Positive for subscript baseline dropped below the base bottom.} |
| 41 |
\mathfontdimen{Superscript\-Shift\-Up} |
| 42 |
{Standard shift up applied to superscript elements. Suggested: os2.ySuperscriptYOffset.} |
| 43 |
\mathfontdimen{Superscript\-Shift\-Up\-Cramped} |
| 44 |
{Standard shift of superscripts relative to the base, in cramped style.} |
| 45 |
\mathfontdimen{Superscript\-Bottom\-Min} |
| 46 |
{Minimum allowed height of the (ink) bottom of superscripts that does not require moving subscripts further up. Suggested: ¼ x-height.} |
| 47 |
\mathfontdimen{Superscript\-Baseline\-Drop\-Max} |
| 48 |
{Maximum allowed drop of the baseline of superscripts relative to the (ink) top of the base. Checked for bases that are treated as a box or extended shape. Positive for superscript baseline below the base top.} |
| 49 |
\mathfontdimen{Sub\-Superscript\-Gap\-Min} |
| 50 |
{Minimum gap between the superscript and subscript ink. Suggested: 4×default rule thickness.} |
| 51 |
\mathfontdimen{Superscript\-Bottom\-Max\-With\-Subscript} |
| 52 |
{The maximum level to which the (ink) bottom of superscript can be pushed to increase the gap between superscript and subscript, before subscript starts being moved down. |
| 53 |
Suggested: /5 x-height.} |
| 54 |
\mathfontdimen{Space\-After\-Script} |
| 55 |
{Extra white space to be added after each subscript and superscript. Suggested: 0.5pt for a 12 pt font.} |
| 56 |
\mathfontdimen{Upper\-Limit\-Gap\-Min} |
| 57 |
{Minimum gap between the (ink) bottom of the upper limit, and the (ink) top of the base operator. } |
| 58 |
\mathfontdimen{Upper\-Limit\-Baseline\-Rise\-Min} |
| 59 |
{Minimum distance between baseline of upper limit and (ink) top of the base operator.} |
| 60 |
\mathfontdimen{Lower\-Limit\-Gap\-Min} |
| 61 |
{Minimum gap between (ink) top of the lower limit, and (ink) bottom of the base operator.} |
| 62 |
\mathfontdimen{Lower\-Limit\-Baseline\-Drop\-Min} |
| 63 |
{Minimum distance between baseline of the lower limit and (ink) bottom of the base operator.} |
| 64 |
\mathfontdimen{Stack\-Top\-Shift\-Up} |
| 65 |
{Standard shift up applied to the top element of a stack.} |
| 66 |
\mathfontdimen{Stack\-Top\-Display\-Style\-Shift\-Up} |
| 67 |
{Standard shift up applied to the top element of a stack in display style.} |
| 68 |
\mathfontdimen{Stack\-Bottom\-Shift\-Down} |
| 69 |
{Standard shift down applied to the bottom element of a stack. Positive for moving in the downward direction.} |
| 70 |
\mathfontdimen{Stack\-Bottom\-Display\-Style\-Shift\-Down} |
| 71 |
{Standard shift down applied to the bottom element of a stack in display style. Positive for moving in the downward direction.} |
| 72 |
\mathfontdimen{Stack\-Gap\-Min} |
| 73 |
{Minimum gap between (ink) bottom of the top element of a stack, and the (ink) top of the bottom element. Suggested: 3×default rule thickness.} |
| 74 |
\mathfontdimen{Stack\-Display\-Style\-Gap\-Min} |
| 75 |
{Minimum gap between (ink) bottom of the top element of a stack, and the (ink) top of the bottom element in display style. Suggested: 7×default rule thickness.} |
| 76 |
\mathfontdimen{Stretch\-Stack\-Top\-Shift\-Up} |
| 77 |
{Standard shift up applied to the top element of the stretch stack.} |
| 78 |
\mathfontdimen{Stretch\-Stack\-Bottom\-Shift\-Down} |
| 79 |
{Standard shift down applied to the bottom element of the stretch stack. Positive for moving in the downward direction.} |
| 80 |
\mathfontdimen{Stretch\-Stack\-Gap\-Above\-Min} |
| 81 |
{Minimum gap between the ink of the stretched element, and the (ink) bottom of the element above. Suggested: Upper\-Limit\-Gap\-Min} |
| 82 |
\mathfontdimen{Stretch\-Stack\-Gap\-Below\-Min} |
| 83 |
{Minimum gap between the ink of the stretched element, and the (ink) top of the element below. Suggested: Lower\-Limit\-Gap\-Min.} |
| 84 |
\mathfontdimen{Fraction\-Numerator\-Shift\-Up} |
| 85 |
{Standard shift up applied to the numerator. } |
| 86 |
\mathfontdimen{Fraction\-Numerator\-Display\-Style\-Shift\-Up} |
| 87 |
{Standard shift up applied to the numerator in display style. Suggested: Stack\-Top\-Display\-Style\-Shift\-Up.} |
| 88 |
\mathfontdimen{Fraction\-Denominator\-Shift\-Down} |
| 89 |
{Standard shift down applied to the denominator. Positive for moving in the downward direction.} |
| 90 |
\mathfontdimen{Fraction\-Denominator\-Display\-Style\-Shift\-Down} |
| 91 |
{Standard shift down applied to the denominator in display style. Positive for moving in the downward direction. Suggested: Stack\-Bottom\-Display\-Style\-Shift\-Down.} |
| 92 |
\mathfontdimen{Fraction\-Numerator\-Gap\-Min} |
| 93 |
{Minimum tolerated gap between the (ink) bottom of the numerator and the ink of the fraction bar. Suggested: default rule thickness} |
| 94 |
\mathfontdimen{Fraction\-Num\-Display\-Style\-Gap\-Min} |
| 95 |
{Minimum tolerated gap between the (ink) bottom of the numerator and the ink of the fraction bar in display style. Suggested: 3×default rule thickness.} |
| 96 |
\mathfontdimen{Fraction\-Rule\-Thickness} |
| 97 |
{Thickness of the fraction bar. Suggested: default rule thickness.} |
| 98 |
\mathfontdimen{Fraction\-Denominator\-Gap\-Min} |
| 99 |
{Minimum tolerated gap between the (ink) top of the denominator and the ink of the fraction bar. Suggested: default rule thickness} |
| 100 |
\mathfontdimen{Fraction\-Denom\-Display\-Style\-Gap\-Min} |
| 101 |
{Minimum tolerated gap between the (ink) top of the denominator and the ink of the fraction bar in display style. Suggested: 3×default rule thickness.} |
| 102 |
\mathfontdimen{Skewed\-Fraction\-Horizontal\-Gap} |
| 103 |
{Horizontal distance between the top and bottom elements of a skewed fraction.} |
| 104 |
\mathfontdimen{Skewed\-Fraction\-Vertical\-Gap} |
| 105 |
{Vertical distance between the ink of the top and bottom elements of a skewed fraction.} |
| 106 |
\mathfontdimen{Overbar\-Vertical\-Gap} |
| 107 |
{Distance between the overbar and the (ink) top of he base. Suggested: 3×default rule thickness.} |
| 108 |
\mathfontdimen{Overbar\-Rule\-Thickness} |
| 109 |
{Thickness of overbar. Suggested: default rule thickness.} |
| 110 |
\mathfontdimen{Overbar\-Extra\-Ascender} |
| 111 |
{Extra white space reserved above the overbar. Suggested: default rule thickness.} |
| 112 |
\mathfontdimen{Underbar\-Vertical\-Gap} |
| 113 |
{Distance between underbar and (ink) bottom of the base. Suggested: 3×default rule thickness.} |
| 114 |
\mathfontdimen{Underbar\-Rule\-Thickness} |
| 115 |
{Thickness of underbar. Suggested: default rule thickness.} |
| 116 |
\mathfontdimen{Underbar\-Extra\-Descender} |
| 117 |
{Extra white space reserved below the underbar. Always positive. Suggested: default rule thickness.} |
| 118 |
\mathfontdimen{Radical\-Vertical\-Gap} |
| 119 |
{Space between the (ink) top of the expression and the bar over it. Suggested: 1¼ default rule thickness.} |
| 120 |
\mathfontdimen{Radical\-Display\-Style\-Vertical\-Gap} |
| 121 |
{Space between the (ink) top of the expression and the bar over it. Suggested: default rule thickness + ¼ x-height. } |
| 122 |
\mathfontdimen{Radical\-Rule\-Thickness} |
| 123 |
{Thickness of the radical rule. This is the thickness of the rule in designed or constructed radical signs. Suggested: default rule thickness.} |
| 124 |
\mathfontdimen{Radical\-Extra\-Ascender} |
| 125 |
{Extra white space reserved above the radical. Suggested: Radical\-Rule\-Thickness.} |
| 126 |
\mathfontdimen{Radical\-Kern\-Before\-Degree} |
| 127 |
{Extra horizontal kern before the degree of a radical, if such is present. Suggested: 5/18 of em.} |
| 128 |
\mathfontdimen{Radical\-Kern\-After\-Degree} |
| 129 |
{Negative kern after the degree of a radical, if such is present. Suggested: −10/18 of em.} |
| 130 |
\mathfontdimen{Radical\-Degree\-Bottom\-Raise\-Percent} |
| 131 |
{Height of the bottom of the radical degree, if such is present, in proportion to the ascender of the radical sign. Suggested: 60\%.} |
| 132 |
\end{longtable} |
| 133 |
|
| 134 |
\endinput |
| 135 |
|
| 136 |
% /© |
| 137 |
% |
| 138 |
% ------------------------------------------------ |
| 139 |
% The UNICODE-MATH package <wspr.io/unicode-math> |
| 140 |
% ------------------------------------------------ |
| 141 |
% This package is free software and may be redistributed and/or modified under |
| 142 |
% the conditions of the LaTeX Project Public License, version 1.3c or higher |
| 143 |
% (your choice): <http://www.latex-project.org/lppl/>. |
| 144 |
% ------------------------------------------------ |
| 145 |
% Copyright 2006-2019 Will Robertson, LPPL "maintainer" |
| 146 |
% Copyright 2010-2017 Philipp Stephani |
| 147 |
% Copyright 2011-2017 Joseph Wright |
| 148 |
% Copyright 2012-2015 Khaled Hosny |
| 149 |
% ------------------------------------------------ |
| 150 |
% |
| 151 |
% ©/ |