GNU Info

Info Node: (texinfo)math

(texinfo)math


Next: Glyphs Prev: minus Up: Insertions
Enter node , (file) or (file)node

`@math': Inserting Mathematical Expressions
===========================================

  You can write a short mathematical expression with the `@math'
command.  Write the mathematical expression between braces, like this:

     @math{(a + b)(a + b) = a^2 + 2ab + b^2}

This produces the following in Info:

     (a + b)(a + b) = a^2 + 2ab + b^2

  Thus, the `@math' command has no effect on the Info output.

  `@math' implies `@tex'.  This not only makes it possible to write
superscripts and subscripts (as in the above example), but also allows
you to use any of the plain TeX math control sequences.  It's simplest
to use `\' instead of `@' for these commands.  As in:
     @math{\sin 2\pi \equiv \cos 3\pi}

which looks like the input in Info and HTML:
     \sin 2\pi \equiv \cos 3\pi

  For displayed equations, you must at present use TeX directly (Note:
Raw Formatter Commands).


automatically generated by info2www version 1.2.2.9