summaryrefslogtreecommitdiff
path: root/fonts/etbb/doc/ETbb-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/etbb/doc/ETbb-doc.tex')
-rw-r--r--fonts/etbb/doc/ETbb-doc.tex56
1 files changed, 28 insertions, 28 deletions
diff --git a/fonts/etbb/doc/ETbb-doc.tex b/fonts/etbb/doc/ETbb-doc.tex
index a46a8bb5ff..f8f6830a7d 100644
--- a/fonts/etbb/doc/ETbb-doc.tex
+++ b/fonts/etbb/doc/ETbb-doc.tex
@@ -131,44 +131,44 @@ and \verb|\textin{123}| has the same effect as \verb|{\infigures 123}|.
If you prefer typing longer names, you may use \verb|\textinferior| as a synonym for \verb|\textin|, and similarly for \verb|\textsu|. Likewise,
\verb|\textde{123}| has the same effect as \verb|{\defigures 123}| or \verb|{\denomfigures 123}|, and you may use \verb|\textdenom| as a synonym for \verb|\textde|. Note the difference in baseline between \verb|\textin| and \verb|\textde|: \textin{123} versus \textde{123}.
-The \verb|\textfrac| macro constructs fractions using \verb|\textsu| and \verb|\textde| with baseline aligned with the text baseline. The behavior is quite configurable, there being three parameters available to control the kerns before and after the fraction solidus, and the amount to raise the resulting box. The three parameters are passed as options to {\tt ETbb}, named
+The \verb|\textfrac| macro constructs fractions using \verb|\textsu| and \verb|\textde| with baseline aligned with the text baseline. The behavior is somewhat configurable, there being two parameters available to control the kerns before and after the fraction solidus. The two parameters are passed as options to {\tt ETbb}, named
\begin{verbatim}
-foresolidus % default value -.05em
-aftsolidus % default value -.08em
-raisefrac % default value 0em
+foresolidus % default value -.04em
+aftsolidus % default value -.04em
\end{verbatim}
+%raisefrac % default value 0em
(The values should always be {\tt em} units in order to behave correctly with respect to scaling.)
-If you were to change the default behavior with the option
-\begin{verbatim}
-raisefrac=-112em
-\end{verbatim}
-you would get a fraction with the denominator's baseline at the baseline of the \verb|\textin| figures, namely {\tt -.112em}.
-%Those who wish the fractional part to be vertically centered with respect to lining figures should specify
+%If you were to change the default behavior with the option
%\begin{verbatim}
-%raisefrac=-.056em
+%raisefrac=-112em
%\end{verbatim}
-All the above have to do with globally defined settings for \verb|\textfrac|, but that macro allows one optional argument that can override the effect of {\tt raisefrac}, with, e.g., \verb|\textfrac[.1em][6}{11}| raising the fraction 6/11 by {\tt .1em} instead of the default specified in the original options.
+%you would get a fraction with the denominator's baseline at the baseline of the \verb|\textin| figures, namely {\tt -.112em}.
+%%Those who wish the fractional part to be vertically centered with respect to lining figures should specify
+%%\begin{verbatim}
+%%raisefrac=-.056em
+%%\end{verbatim}
+%All the above have to do with globally defined settings for \verb|\textfrac|, but that macro allows one optional argument that can override the effect of {\tt raisefrac}, with, e.g., \verb|\textfrac[.1em][6}{11}| raising the fraction 6/11 by {\tt .1em} instead of the default specified in the original options.
\textsc{Example:}\\
-$\bullet$ \verb|2\textfrac{17}{32}| renders as 2\textfrac{17}{32} with default settings.\\
+$\bullet$ \verb|\textfrac[2]{17}{32}| renders as \textfrac[2]{17}{32} with default settings. (The optional argument 2 will always print in lining figres, not matter the choice of the text figure style.)\\
%$\bullet$ \verb|2\textfrac[.053em]{17}{32}| produces a fraction centered on the mid-height of lining figures: 2\textfrac[.053em]{17}{32}.\\
%$\bullet$ \verb|2\textfrac[0em]{17}{32}| produces a fraction with numerator and denominator at the normal heights of superior and inferior figures: 2\textfrac[0em]{17}{32}.\\
-The \verb|\textfrac| macro uses spacing control for each individual digit, one for the numerator and one for the denominator. It is optimized for regular weight, upright shape, but works satisfactorily in bold weight, upright shape. Italic shapes are not handled with any precision. Currently, the spacing settings are specified by two macros in {\tt ETbb.sty}: \verb|\tx@addNkern| and \verb|\tx@addDkern| for numerator and denominator respectively. These may be redefined in your preamble after loading the {\tt ETbb} package with a block like
-\begin{verbatim}
-\makeatletter
-\renewcommand*{\tx@addNkern}[1]{%
-.
-.
-.
-}
-\renewcommand*{\tx@addDkern}[1]{%
-.
-.
-.
-}
-\end{verbatim}
-following the pattern of the definitions in {|tt ETbb.sty}. You should be careful to follow those patterns precisely, as it is very easy to introduce inadvertent space characters in the output.
+%The \verb|\textfrac| macro uses spacing control for each individual digit, one for the numerator and one for the denominator. It is optimized for regular weight, upright shape, but works satisfactorily in bold weight, upright shape. Italic shapes are not handled with any precision. Currently, the spacing settings are specified by two macros in {\tt ETbb.sty}: \verb|\tx@addNkern| and \verb|\tx@addDkern| for numerator and denominator respectively. These may be redefined in your preamble after loading the {\tt ETbb} package with a block like
+%\begin{verbatim}
+%\makeatletter
+%\renewcommand*{\tx@addNkern}[1]{%
+%.
+%.
+%.
+%}
+%\renewcommand*{\tx@addDkern}[1]{%
+%.
+%.
+%.
+%}
+%\end{verbatim}
+%following the pattern of the definitions in {|tt ETbb.sty}. You should be careful to follow those patterns precisely, as it is very easy to introduce inadvertent space characters in the output.
Option {\tt sups} changes the form of footnote markers to use {\tt ETbb}'s superior figures, unless you have redefined the meaning of \verb|\thefootnote| prior to loading {\tt ETbb}. For more control over size, spacing and position of footnote markers, use the \textsf{superiors} package: E.g.,