→{\xrightarrow}
\catcode`↔=\active
\def↔{\xleftrightarrow}
\catcode`√=\active
\def√{\sqrt}
Have a look at char-def.lua. All the symbol mappings are defined there.
Please feel free to complete the table (it is a boring and time consuming
process, and I have only managed to cover about half of the table
mical and mathematical documents:
>
> \catcode`→=\active
> \def→{\xrightarrow}
> \catcode`↔=\active
> \def↔{\xleftrightarrow}
> \catcode`√=\active
> \def√{\sqrt}
Sorry for being a noob. I thought for the first three that is somehow
done already. If not, such a mechanism wo
{\xleftrightarrow}
\catcode`√=\active
\def√{\sqrt}
PS: i recently posted two questions to this list which i got no
replies to:“simplefonts: math in headers” and“headers:
numberconversion=something or \definestructureconversionset”
do you see them or did they get lost in transmission
there.
On Thu, 29 Jun 2006, Taco Hoekwater wrote:
> I assume amsmath has a few others as well, for double arrows and
> such. Can you post those defs as well? Then we can move the whole
> definition into math-ext.tex for the new release
These are the only ones defined in amsmath. H
B
>subscript
>
> and similar for xrightarrow, xleftrightarrow, xLeftarrow, xRightarrow
> and xLeftRightarrow.
>
>
> The closest that I could come to it was (only for superscripts)
>
> \def\xrightarrow#1{\buildrel{#1}\over\longrightarrow}
>
> But this is not
Hi,
Does ConTeXt have anything equivalent to xleftarrow, xrightarrow of
amsmath. Basically, I need a command that can do
A \xleftarrow[subscript]{superscript} B
should give
superscript
A <--- B
subscript
and similar for xrightarrow, xleftrightarrow, xLeftarrow, xRightar