4.1.9 \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 \UseTextSymbol & \UseTextAccent).

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

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


Unofficial LaTeX2e reference manual