Declaring math symbols
<#406#>decl<#406#>
| | <#407#>symbol<#407#> <#408#>type<#408#> <#409#>sym-font-name<#409#>
<#410#>slot<#410#>
The <#412#>symbol<#412#> can be either a single character such as `|;SPMgt;;SPMgt;|', or a
macro name, such as |&sum#sum;|.
Defines the <#413#>symbol<#413#> to be a math symbol of type
<#414#>type<#414#> in slot <#415#>slot<#415#> of symbol font <#416#>sym-font-name<#416#>. The
<#417#>type<#417#> can be given as a number or as a command:
<#418#>center<#418#>
<#419#>tabular<#419#><#420#>ccc<#420#>
Type ;SPMamp; Meaning ;SPMamp; Example
|0| or || ;SPMamp; Ordinary ;SPMamp; α
|1| or || ;SPMamp; Large operator ;SPMamp; #tex2html_wrap_inline1819#
|2| or || ;SPMamp; Binary operation ;SPMamp; ×
|3| or || ;SPMamp; Relation ;SPMamp; ≤
|4| or || ;SPMamp; Opening ;SPMamp; 〈
|5| or || ;SPMamp; Closing ;SPMamp; 〉
|6| or || ;SPMamp; Punctuation ;SPMamp; ;
|7| or || ;SPMamp; Alphabet character ;SPMamp; A
Only symbols of type || will be affected by math alphabet
commands: within the argument of a math alphabet command they will
produce the character in slot <#426#>slot<#426#> of that math alphabet's font.
Symbols of other types will always produce the same symbol
(within one math version).
| | allows a macro <#427#>symbol<#427#> to be redefined only if
it was previously defined to be a math symbol.
It also checks that the <#428#>sym-font-name<#428#> is a
declared symbol font.
Example:
<#429#>tex2html_preform<#429#>verbatim54#
<#431#>decl<#431#>
|| <#432#>cmd<#432#> <#433#>type<#433#>
<#434#>sym-font-name-1<#434#> <#435#>slot-1<#435#>
<#436#>sym-font-name-2<#436#> <#437#>slot-2<#437#>
Defines <#439#>cmd<#439#> to be a math delimiter where the small
variant is in slot <#440#>slot-1<#440#> of symbol font
<#441#>sym-font-name-1<#441#> and the large variant is in slot
<#442#>slot-2<#442#> of symbol font <#443#>sym-font-name-2<#443#>. Both symbol fonts
must have been declared previously.
Checks that <#444#>sym-font-name-i<#444#> are both
declared symbol fonts.
If TEX<#445#><#445#> is not looking for a delimiter, <#446#>cmd<#446#> is treated just as
if it had been defined with | | using
<#447#>type<#447#>,<#448#>sym-font-name-1<#448#> and <#449#>slot-1<#449#>. In other words, if a
command is defined as a delimiter then this automatically defines it
as a math symbol.
Example:
<#450#>tex2html_preform<#450#>verbatim55#
<#452#>decl<#452#>
|| <#453#>cmd<#453#> <#454#>type<#454#> <#455#>sym-font-name<#455#> <#456#>slot<#456#>
Defines <#458#>cmd<#458#> to act as a math accent.
The accent character comes from slot <#459#>slot<#459#> in
<#460#>sym-font-name<#460#>. The <#461#>type<#461#> can be either
|| or ||; in the latter case the accent character
changes font when used in a math alphabet.
Example:
<#462#>tex2html_preform<#462#>verbatim56#
<#464#>decl<#464#>
|| <#465#>cmd<#465#>
<#466#>sym-font-name-1<#466#> <#467#>slot-1<#467#>
<#468#>sym-font-name-2<#468#> <#469#>slot-2<#469#>
Defines <#471#>cmd<#471#> to be a radical where the small variant is in
slot <#472#>slot-1<#472#> of symbol font <#473#>sym-font-name-1<#473#> and the
large variant is in slot <#474#>slot-2<#474#> of symbol font
<#475#>sym-font-name-2<#475#>. Both symbol fonts must have been declared
previously.
Example (probably the only use for it!):
<#476#>tex2html_preform<#476#>verbatim57#