---------------------------------------------------------------------

next up previous contents
Next: Centerize and Align to Up: About parameter variables Previous: Write comment

---------------------------------------------------------------------

Write LaTeXcommand in PADEL

By selecting the parameter variable texmode  either latex or verbatim, you can select whether the string in PADEL is treated as LaTeXcommand or normal command. The default is verbatim and this setting will print the string in PADEL in PAD figure as it is. When latex is specifies, the following

    /* pad2ps: texmode = latex */
    {
        /* pad2ps: message = Calculate $\sqrt{2}$ */
        $ x = 1 $
        while ( $ | x^{2} - 2 | > 0.0001 $) {
            $ \displaystyle x = x - \frac{x^{2} - 2}{2 x} $
        }
    }

will create this PAD figure.

---------------------------------------------------------------------

Go back to pad2ps - automatic PAD drawer.
Go back to Seiichi Yoshida's Home Page.
Copyright(C) Seiichi Yoshida (comet@aerith.net). All rights reserved.
Sun Nov 10 01:36:04 JST 1996