\DeclareTextSymbolDefault

Synopsis:

\DeclareTextSymbolDefault{cmd}{encoding}

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

For example, to declare that if the current encoding has no meaning for \textdollar then use the one from OT1, declare this.

\DeclareTextSymbolDefault{\textdollar}{OT1}

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

\DeclareTextCommandDefault{cmd}
   {\UseTextSymbol{encoding}{cmd}}

Note that \DeclareTextSymbolDefault can be used to define a default for any zero-argument fontenc command.

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