HaTeX-3.13.0.1: The Haskell LaTeX library.

Safe HaskellNone

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