%this is a simple set of black and white slides
%using the seminar class
%there are other classes you can use with varying degrees 
%of frustration.
%It is also possible to change the background and text colors
%this will maybe follow later.

%To compile, use:
%   latex slides
%at the prompt or choose latex under the command menu of emacs
%then use:
%   xdvi slides.dvi
%at the prompt or choose view under the command menu of emacs 
%to make a ps file to print from use
%dvips slides

%To make a pdf for pc-presentation use
%  cwpdvipdf slides at the command prompt

\documentclass[semhelv,npsfonts]{seminar}
%comment the above line and un-comment the two below to make
%the 2-up copies for the notebook

%\documentclass[2up,semhelv,npsfonts]{seminar}    
%\twoup 

%these packages include figures, uses the times font family 
%and includes the american math society math stuff
%and allow different colors of text

\usepackage{graphicx} 
\usepackage{amsmath,amssymb} 
\usepackage{color}

%set slide size and frame
%I didn't write this but it works...
\renewcommand{\slideleftmargin}{2cm}
\renewcommand{\slidetopmargin}{0.2cm}
\newdimen\slideframewidth \slideframewidth 0pt  %no frame

\def\paperwidth{215mm}
\def\paperheight{279mm}

\slidewidth=235mm
\slideheight=195mm
\centerslidestrue
\ptsize{17}

\landscapeonly
\pagestyle{empty}

%set a figure path, this lets you keep figures somewhere else
%so you don't need a bunch of copies
%-----------------------------------------------
\newcommand{\figpath}{/Net/klein/u1/amalcolm/research/DMOAMO/texfiles/figs}
%-----------------------------------------------

%Use by default bold fonts
\renewcommand{\seriesdefault}{bx}

%Define a large math bold (for making part of equation bold)
\newcommand{\bmath}[1]{\mbox{\LARGE \boldmath $#1$}}

%Ken says that \LARGE is large enough, but just in case...
%define three even larger than standard font sizes
\newfont{\kenhuge}{phvb8r scaled 3500}
\newfont{\kenBIG}{phvb8r scaled 3000}
\newfont{\kenbig}{phvb8r scaled 2800}

%start document
\begin{document}
\boldmath    %make all math symbols bold throughout
%title slide
\begin{slide}
\begin{center}
%Thus far you have to put in \LARGE to increase the fontsize on every slide.
%If anyone knows how to just make the font a bunch bigger please let me know!
\LARGE
{ Conditions on the Velocity Model for DMO and AMO}\\
\vspace*{3cm}
%For some reason it won't do all three of sans font, bold and italics at once
%\rmfamily turns off sans (uses times-roman rather than helvetica)
{\em Alison \& Maarten}
\end{center}
\end{slide}

%Here is a slide with a figure, no guarantee in 
%this case that the figure lettering is large enough!

\begin{slide}
\begin{center}
  \LARGE \includegraphics[width=10cm]{\figpath/simpulsefo.eps.gz}

\vspace*{.7cm}
%Use \bmath to make math symbols bold and still large
    {modelling operator $\bmath{L}$\\ \Large (single azimuth)}
\end{center}
\end{slide}

%sometimes in pdf the figures come out portrait rather than landscape
%it looks fine as a dvi but not as a pdf
\begin{slide}
\begin{center}
\LARGE
     \includegraphics[width=10cm]{\figpath/ellipse3.eps.gz}
\end{center}
\end{slide}

%here is the fix (it looks bad in dvi but fine in pdf)
\begin{slide}
\begin{center}
{\tiny \textcolor{white}{text}}
     \includegraphics[width=10cm]{\figpath/ellipse3.eps.gz}
\end{center}
\end{slide}


%Here is an example of a simple aligned environment
\begin{slide}
\begin{center}
\LARGE
\begin{tabular}{ll}
 $L$ &:  model $\mapsto$ data\\
 $R_0$ &: data $\mapsto$ zero-offset\\
 $R_a$ &: data $\mapsto$ single azimuth\\
 $R_g$ &: data $\mapsto$ acquired data\\
\end{tabular}
\end{center}
\end{slide}

%This slide has some math, to make the math itself bold 
%I would have to enclose it in \bmath, notice that only 
%the non-math text is bold here.

\begin{slide}
\begin{center}
\LARGE
{\bf DMO: $(R_0 \circ L) \circ (R_g \circ L)^{\dagger}(\cdot)$
\[ = \int K_D(\cdot) {\rm d}h\]

 AMO: $(R_a \circ L) \circ (R_g \circ L)^{\dagger}(\cdot)$ 
\[= \int K_A(\cdot) {\rm d}h\]}
\end{center}
\end{slide}

%Here is a slide with a list of bullets that also illustrates sizes
\begin{slide}
\begin{center}
\begin{itemize} 
\kenhuge \item kenhuge text
\kenBIG \item kenBIG text
\kenbig \item kenbig text
\LARGE \item  large text (smallest allowed)
\normalsize \item Here is normal size
\small \item  Here is smaller text
\end{itemize}
\end{center}
\end{slide}

%Some more items, this time with a title
%also shows how to change font shape

\begin{slide}
\begin{center}
\kenbig changing font shape
\begin{itemize}
\LARGE \item \textmd{non-bold text}
\item {\em italics}
\item{\rmfamily roman font}
\end{itemize}
\end{center}
\end{slide}

% For a PC presentation: Unlike in PowerPoint (thanks, Alex, for
%the template), you can't animate a slide by copying it and gradually
%adding new things (extra text or equations), because the old stuff will 
%move. Instead, you create the slide with everything on it, but make
%invisible some parts by coloring them white (or whatever your background).
%Then you copy the slide, uncoloring parts as needed.

%For example:

%%%%% Slide 1: "I'm always visible."

\begin{slide}
I'm always visible. \textcolor{white}{I like hiding.}
\end{slide}

%%%%% Slide 2: "I'm always visible. I like hiding."

\begin{slide}
I'm always visible. I like hiding.            
\end{slide}


%If in xdvi the white text shows up as black, don't despair!
%It appears correctly in the .ps and .pdf files.


\end{document}




