HaTeX-3.22.4.1: The Haskell LaTeX library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.LaTeX.Packages.Fontenc

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 

Instances

Instances details
Render FontEnc Source # 
Instance details

Defined in Text.LaTeX.Packages.Fontenc

Texy FontEnc Source # 
Instance details

Defined in Text.LaTeX.Packages.Fontenc

Methods

texy :: LaTeXC l => FontEnc -> l Source #

Show FontEnc Source # 
Instance details

Defined in Text.LaTeX.Packages.Fontenc

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