W3cubDocs

/LaTeX

\DeclareTextAccentDefault

Synopsis:

\DeclareTextAccentDefault{cmd}{encoding}

If there is an encoding-specific accent command cmd but there is no associated \DeclareTextAccent for that encoding then this command will pick up the slack, by saying to use it as described for encoding.

For example, to make the encoding OT1 be the default encoding for the accent \", declare this.

\DeclareTextAccentDefault{\"}{OT1}

If you issue a \" when the current encoding does not have a definition for that accent then LaTeX will use the definition from OT1

That is, this command is equivalent to this call (see \UseTextAccent & \UseTextSymbol).

\DeclareTextCommandDefault[1]{cmd}
   {\UseTextAccent{encoding}{cmd}{#1}}

Note that \DeclareTextAccentDefault works for any one-argument fontenc command, not just the accent command.

© 2007–2018 Karl Berry
Public Domain Software
http://latexref.xyz/_005cDeclareTextAccentDefault.html