<#187#>decl<#187#>
|| <#188#>cmd<#188#> <#189#>ENC<#189#> <#190#>family<#190#> <#191#>series<#191#>
<#192#>shape<#192#> <#193#>size<#193#>
Declares command <#195#>cmd<#195#> to be a font switch which selects the font
that is specified by the attributes <#196#>ENC<#196#>, <#197#>family<#197#>, <#198#>series<#198#>,
<#199#>shape<#199#>, and <#200#>size<#200#>.
The font is selected without any adjustments to baselineskip and other
surrounding conditions.
This example makes |<#201#>#tex2html_accent_inline1709#<#201#>| select a small dot very quickly:
<#202#>tex2html_preform<#202#>verbatim43#
<#204#>decl<#204#>
|| <#205#>cmd<#205#> <#206#>font-switches<#206#>
Declares command <#208#>cmd<#208#> to be a font command with one argument.
The current font attributes are locally modified by <#209#>font-switches<#209#>
and then the argument of <#210#>cmd<#210#> is typeset in the resulting new font.
Commands defined by || automatically take care
of any necessary italic correction (on either side).
The following example shows how |<#0#>#tex2html_accent_inline1710#<#0#> is defined by the kernel.
<#211#>tex2html_preform<#211#>verbatim44#
To define a command that always typeset its argument in the italic
shape of the main document font you could declare:
<#213#>tex2html_preform<#213#>verbatim45#
This declaration can be used to change the meaning of a command; if
<#215#>cmd<#215#> is already defined, a log that it has been redefined
is put in the transcript file.
<#216#>decl<#216#>
|| <#217#>cmd<#217#> <#218#>text-switch<#218#>
<#219#>math-switch<#219#>
Declares command <#221#>cmd<#221#> to be a font switch (i.e.~used with the
syntax |<#222#>;SPMlt;cmd;SPMgt;...<#222#>|) having the definition <#223#>text-switch<#223#>
when used in text and the definition <#224#>math-switch<#224#> when used in a
formula.
Math alphabet commands, like ||, when used within <#225#>math-switch<#225#>
should not have an argument. Their use in this argument causes their
semantics to change so that they here act as a font switch, as
required by the usage of the <#226#>cmd<#226#>.
This declaration is useful for setting up commands like || to behave
as they did in LATEX~2.09. We strongly urge you not to misuse
this declaration to invent new font commands.
The following example defines || to produce the italic shape of the
main document font if used in text and to switch to the font that would
normally be produced by the math alphabet || if used in a
formula.
<#228#>tex2html_preform<#228#>verbatim46#
This declaration can be used to change the meaning of a command; if
<#230#>cmd<#230#> is already defined, a log that it has been redefined
is put in the transcript file.