Functions | |
list | DrawLatex (scalar x, scalar y, scalar z, string Text, string Name) |
Renders a bitmap from latex code and displays it. | |
list | DrawLatex (multivector P, string Text, string Name) |
Renders a bitmap from latex code and displays it. | |
void | EnableRenderLatex (counter DoEnable) |
Enables or disables the rendering of LaTeX globally. | |
image | GetLatexImg (string sLatex, string sName) |
Returns the image of a rendered latex text. | |
string | Latex (any_type X) |
Creates a string with LaTeX code representing the content of the variable passed. | |
void | SetLatexAlign (scalar X, scalar Y) |
Sets the alignment of a LaTeX bitmap relative to the point where it should be drawn. | |
void | SetLatexMagStep (counter MagStep) |
Sets the LaTeX magnification step. |
Under a Linux standard distribution all this software should already be installed. Under Windows you will need to install MikTex from www.miktex.org (or something comparable) and AFPL Ghostscript v8.13 or later from www.ghostscript.com. They both come with an installer for Windows and are easy to install.
|
Renders a bitmap from latex code and displays it.
|
|
Renders a bitmap from latex code and displays it.
|
|
Enables or disables the rendering of LaTeX globally.
|
|
Returns the image of a rendered latex text.
Note that the current color is used for the rendering of the latex text. |
|
Creates a string with LaTeX code representing the content of the variable passed.
produces the following output, M = (| 1 2|, | 3 4|) \left(\begin{array}{cc} 1 & 2\\ 3 & 4 \end{array}\right) |
|
Sets the alignment of a LaTeX bitmap relative to the point where it should be drawn.
|
|
Sets the LaTeX magnification step.
![]() ![]()
These magnification steps are used instead of a completely variable magnification, since then the fonts do not have to be rendered in too many different resolutions. This formula is also the same as used by LaTeX itself. |