DXfontutils Gallery

Here are some examples of DXfontutils in action.

In this example, we use the LaTeXFileCaption macro to read LaTeX commands from a file to produce a caption on the right hand side of the image. Additionally, TextAlias was used to smooth the text. The non-default arguments to LaTeXFileCaption were: screen_pos: [0.95,0.95,0.0]; height: 450; reference: 9. The preamble argument was:

"\\usepackage[width=2.2in, height=4in]{geometry}\\usepackage{amsmath}\\usepackage{cmbright}"

The HFBright fonts were used throughout. Note the use of the geometry package to control the width of the text.

dft

Special effects. Here, we have attempted to simulate coloured glass. We use LaTeXText in conjunction with the standard Tube and ShowBoundary modules to produce transparent coloured text with a tubular border (to simulate the lead in stained glass). The text was produced with the LaTeX command string: "$$\\nabla^2\\varphi(\\textbf{r})$$" as the main argument. Again the HFBright fonts were used.

stained glass

This example illustrates a static annotation containing a substantial amount of mathematics added using LaTeXFileCaption. There is a smaller dynamic caption (bottom left) which changes depending on which function is plotted on the screen. This caption is added with LaTeXCaption. Dynamic captions such as this are quite slow at present due to the sluggish speed of the dvidx script. The Format module was used to feed the parameters into LaTeXCaption. This itself was somewhat cumbersome as a LaTeX backslash character actually had to be repeated 4 times since it is treated as an escape character by both Format and LaTeXCaption!

wave function

[Home]
Modified: Tuesday 22 March 2005 - 19:59:56