TeX/above: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Xania
m Reverted edits by 172.58.29.247 (talk) to last version by 148.103.179.213
 
(No difference)

Latest revision as of 01:42, 21 July 2023

Synopsis

\above[dimen]

Description

\above is TeX's more general command for making fractions. Printing

a\above 0.5pt b

produces the fraction ab where the separating bar has thickness 0.5pt. Grouping may be required to make sure that not too much is included in the numerator and denominator. A good rule of thumb is to simply put braces around any fraction as in

{a\above 0.5pt b}

The primitives \over and \atop can be replicated in terms of \above as

\over = \above 0.4pt
\atop = \above 0pt

See Also

Template:BookCat