HaTeX-3.17.0.2: The Haskell LaTeX library.

Safe HaskellSafe
LanguageHaskell2010

Text.LaTeX.Packages.Relsize

Contents

Description

The relsize package is used to set the font size relative to the current size.

CTAN page for relsize: http://ctan.org/pkg/relsize.

Synopsis

Relsize package

prelsize :: ClassName Source #

The prelsize package. Example:

usepackage [] prelsize

Commands

relsize :: LaTeXC l => Int -> l Source #

Change font size by i steps. A step is a number of '\magsteps' to change size; from this are defined commands '\larger', '\smaller', '\textlarger', etc.

larger :: LaTeXC l => Maybe Int -> l Source #

Increase font size by (optional) i steps (default 1).

smaller :: LaTeXC l => Maybe Int -> l Source #

Reduce font size by i steps (default 1).

relscale :: LaTeXC l => Float -> l Source #

Change font size by scale factor f.

textlarger :: LaTeXC l => Maybe Int -> l -> l Source #

Text size enlarged by (optional) i steps.

textsmaller :: LaTeXC l => Maybe Int -> l -> l Source #

Text size reduced by (optional) i steps.

textscale :: LaTeXC l => Float -> l -> l Source #

Text size scaled by factor f.