Making Viewgraphs using LaTeX


The LaTeX document preparation system is well suited for viewgraphs such as the following:


The .tex source file for this is:


\documentstyle [12pt] {article}
\pagestyle {empty}
\textheight=9in
\addtolength{\oddsidemargin}{-.7in}
\addtolength{\evensidemargin}{-.7in}
\addtolength{\topmargin}{-1.5in}
\textwidth=6.3in
\footheight=.5in
\footskip=.3in

\newcommand{\PSbox}[3]{\mbox{\rule{0in}{#3}\special{psfile=#1}\hspace{#2}}}
}}}

\newcommand{\Fig}[4]
{\begin{figure}
\begin{center}
\PSbox{./Graphics/#1}{#2}{#3}
\end{center}
\caption{#4}
\label{fig:#1}
\end{figure}}


\input{chemtex}  % a special list of macros for chemical symbols

\begin{document}

 \initial
 \len=4

\Huge

\centerline{A Viewgraph Example}

\LARGE

\begin{itemize}

\item Wave Equation

$$ \frac{ \partial u}{\partial t} = c^2 \frac{\partial^2 u}{\partial
x^2}, \quad c =\sqrt{ \frac{E}{\rho}} $$

\item The energy equation:

$$ \rho c \left[ \frac{ \partial T }{ \partial t } + u\nabla T \right]
= Q + \nabla ( k \nabla T) $$

\item Diffusion of carbon in iron: % postscript file from Xess

\PSbox{/mit/roylance/3a09/bestfit.ps  hoffset=0 voffset=-300
hscale=70 vscale=70} {5in}{3in}

\item The purine group \normalsize  % use chemtex macros

\[ \purine{Q}{D}{Q}{D}{Q}{$NH_{2}$}{Q}{D}{Q}
    \hspace{3cm}\purine{Q}{D}{Q}{D}{Q}{$NH_{2}$}{Q}{D}{}  \]

% \cright{$CH_3$}{Q}{$CH$} {S}{$COOCH_3$}{S}{$COOCH_3$} 


\end{itemize}

\end{document}


Here the postscript output has been converted to a .gif file for viewing.