HaTeX-3.16.1.0: The Haskell LaTeX library.

Safe HaskellNone
LanguageHaskell2010

Text.LaTeX.Packages.Fontenc

Contents

Description

Select new font encodings using the fontenc package.

Synopsis

Fontenc package

fontenc :: PackageName Source

The fontenc package. It is recommended to use the useencoding function to import it.

Font encodings

data FontEnc Source

Font encodings.

Constructors

T1 
OT1 

useencoding :: LaTeXC l => [FontEnc] -> l Source

In the preamble, select encodings to use in your document. The last one will be the default encoding. Example:

useencoding [T1]

It imports the fontenc package. In fact:

useencoding xs = usepackage (fmap texy xs) fontenc