HaTeX-3.6.1.0: The Haskell LaTeX library.

Safe HaskellSafe-Inferred

Text.LaTeX.Packages.Fontenc

Contents

Description

Select new font encodings using the fontenc package.

Synopsis

Fontenc package

fontenc :: PackageNameSource

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] -> lSource

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