HaTeX-3.20.0.1: 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 
Instances
Show FontEnc Source # 
Instance details

Defined in Text.LaTeX.Packages.Fontenc

Render FontEnc Source # 
Instance details

Defined in Text.LaTeX.Packages.Fontenc

Methods

render :: FontEnc -> Text Source #

Texy FontEnc Source # 
Instance details

Defined in Text.LaTeX.Packages.Fontenc

Methods

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

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