Debian Codegraph @

texmf-dist/doc/latex/relsize/README

raw
1 relsize.sty 4.1 Mar 29, 2013
2
3 Setting the font size relative to the current size
4
5 Authored by Donald Arseneau <[email protected]> and Matt Swift <[email protected]>.
6 (Inspired by smaller.sty author Bernie Cosell)
7
8 This software is contributed to the public domain by its authors, who disclaim
9 all copyrights. For people and jurisdictions that do not recognize contribution
10 to the public domain, this software is licensed by the terms of the unlicense,
11 <http://unlicense.org/>
12
13 commands are:
14 \relsize{n} where n gives the number of steps ("mag-step" = factor of 1.2)
15 to change the size by; n = 3 changes from \normalsize to
16 \LARGE size. Negative n selects smaller fonts. n is an
17 integer (or half-integer).
18
19 \smaller = \relsize{-1}, \smaller[n] = \relsize{-n}
20 \larger = \relsize{1}, \larger[n] = \relsize{n}
21
22 \textsmaller{text}, \textlarger{text} - versions that take an argument
23
24 \relscale{f} like \relsize, but instead of scale-steps,
25 the parameter is a scale factor, such as .75
26 \textscale{f}{text}
27
28 The font-size command nearest the requested size will be used, and if
29 the size error is more than \RSpercentTolerance, then the size will
30 be adjusted more precisely using \fontsize. (The default empty
31 \RSpercentTolerance signals automatic handling, choosing the tolerance
32 based on the font declarations.)
33
34 \mathsmaller{A}, \mathlarger{B} - math versions
35 (The math versions are entirely different from the text versions.)