Next: , Previous: , Up: fontenc package   [Contents][Index]


4.1.10 \LastDeclaredEncoding

Synopsis:

\LastDeclaredEncoding

Get the name of the most recently declared encoding. The \DeclareFontEncoding command stores the name so that it can be retrieved with this command (see \DeclareFontEncoding).

This relies on \LastDeclaredEncoding rather than give the name of the encoding explicitly.

\DeclareFontEncoding{JH1}{}{}
\DeclareTextAccent{\'}{\LastDeclaredEncoding}{0}

Unofficial LaTeX2e reference manual