Logiweb(TM)

7.13.5 Rendering of strings

Prev Up Next Page 247 of 800 Search internet


The use rendering of a string is the string itself. The body is typically rendered as a file named page.tex which is sent through latex and other programs to generate a pdf file. Thus, a string like

"abc"

ends up being rendered as "abc" in the pdf and a string like

"$\oplus$"

is rendered as "\oplus".

Show rendering of a string is more complicated. As an example, show rendering of

"\oplus"

is rendered as

\mbox{`}\mbox{$\backslash$}oplus\mbox{'}

which ends up as show "\oplus" end show.

Sometimes it can be a bit difficult to get renderings right. When e.g. the body of a page is rendered as a page.tex file which is then sent through TeX, then one has to remember that the renderer toggles between use or show rendering and, afterwards, when TeX processes the file, TeX toggles between math mode, horizontal mode, and a couple of other modes.

Prev Up Next Page 247 of 800 Search logiweb.eu

Copyright © 2010 Klaus Grue, GRD-2010-01-05