| Example of some special effects in the LaTeX graphics package |
This example illustrates some ways in which the LaTeX
graphics package can manipulate text.
Copy the following lines with the
mouse and use a text editor to change the
information to apply to yourself. Then save the file as
test.tex, open a terminal window, and run the commands
latex test and dvips test. Next start the
PostScript screen previewer via ghostview test.ps &.
(The previewer xdvi is not smart enough to handle these
special effects.) What do the LaTeX commands
\rotatebox and \reflectbox do?
\documentclass[12pt]{article}
\usepackage[dvips]{graphics}
\begin{document}
This is a test of the graphics package.
What does \rotatebox{30}{my name} do?
What does \reflectbox{a secret message} do?
\end{document}
Rotating text is a special effect that should be used sparingly. More useful is the capability to include graphics that some other program has created. See the next example.
The Math 696 course
pages were last modified April 5, 2005.| Example of some special effects in the LaTeX graphics package |