\documentclass[letterpaper,11pt,pdftex]{article}
 \usepackage{natbib}
 \usepackage{color,calc,comment}
 \usepackage{xspace,colortbl}
 \usepackage{graphicx}
\usepackage[screen,panelleft,paneltoc]{pdfscreen}
 \margins{.75in}{.75in}{.25in}{.25in}
%next trial and error to fit Toshiba 2595cdt screen roughly :-)                   
\screensize{6in}{8in}

\bibliographystyle{unsrtnat}%gives order in .bib file
\renewcommand{\bibsection}{\relax}%requires package natbib

%\emblema puts a picture at top of panel (in this case a TuX)
\emblema{wlugtux.jpg}
%next one just matches default
%\definecolor{background}{rgb}{0.9,1,1}
\definecolor{panelbackground}{cmyk}{0,0,0.8,0}

\hypersetup{%   stuff for PDF's information fields;
pdfmenubar={true},%
pdftoolbar={true},%
%previous two lines needed to get Acrobat to disgorge this stuff
%i.e. comes up with file/document properties/summary
pdfauthor={Doug Waud},
pdftitle={TeX for WLUG},
pdfcreator={pdfLaTeX},
pdfsubject={TeX, LaTeX, pdfLaTeX},
pdfkeywords={TeX,LaTeX,pdfTeX,pdfLaTeX}
}
\pdfinfo{/ModDate (perfect first time!)}%found this in pdftex-a.pdf  :-)


%following macros from ltugboat.cls with simplification
\def\AW{Addison\kern.1em-Wesley}
\def\TUB{\textsl{TUGboat}}

%summary of overlay warnings.  (2/29/04)
%if no overlay, get no overlaywarning; if overlay get warning that have overlay!
%following line used for test overlay
%\overlay{/home/drw/borro3}
%can then turn this off with \overlayempty (there is also a \paneloverlayempty
%(found both in search of pdfscreen.sty  :-)   )
%\paneloverlayempty
%\overlayempty
%\ClearOverlay will avoid no overlay warnings at start of each slide :-)
%but it also wipes out menu! :-(
%\ClearOverlay
%can comment out lines 878,9 in pdfscreen.sty to kill those warnings :-)


\begin{document}

\begin{slide}%1
\section*{}
\addcontentsline{toc}{section}{Introduction}
\begin{center}\begin{Huge}\TeX\ and \LaTeX\end{Huge}\end{center}
\vspace{2cm}
\begin{center}\begin{Large}Worcester Linux Users Group\end{Large}\end{center}
\vspace{1cm}
\begin{center}\begin{large}March 25 2004\end{large}\end{center}
\vspace{1cm}
\begin{center}\begin{large}Douglas Waud\end{large}\end{center}
\end{slide}

\begin{slide}%2
\section*{}
\begin{center}\Huge The ``open source triad''\end{center}
\vspace{1in}
\begin{center}\Large \TeX\ and \LaTeX\end{center}
\vspace{1in}

\begin{flushleft}{\Large Linux}\end{flushleft}
\vspace{-1.5cm}
\begin{flushright}{\Large GNUstuff}\end{flushright}
\end{slide}

\begin{slide}%3
\section*{}
\addcontentsline{toc}{section}{Hello World}
\begin{center}\Large ``Hello World''\end{center}
\vspace{1in}
\hspace{\fill}
\begin{minipage}[t]{2in}
\large{%
The code
\vspace{1cm}
\begin{verbatim}
Hello World
\end
\end{verbatim}
gives

\vspace{1cm}
Hello World
}%end large
\end{minipage}
\hspace{\fill}
 \end{slide}

\begin{slide}%4
\section*{}
\addcontentsline{toc}{section}{The Basic Ritual}
\begin{center}\Large The basic ritual\end{center}
\vspace{1in}
\begin{tabular}{>{\large}c>{\large}c>{\large}l}
Source Code (*.tex)\\
\begin{picture}(10,50)(-5,-25)
\protect\put(0,25){\protect\vector(0,-1){50}}
\end{picture}&
\begin{picture}(10,10)(-5,-25)
\protect\put(10,0){\protect\vector(-1,0){100}}
\end{picture}&\raise25pt\hbox{\raise-0.8ex\hbox{\TeX}}\\
DVI file (*.dvi)\\
\begin{picture}(10,50)(-5,-25)
\protect\put(0,25){\protect\vector(0,-1){50}}
\end{picture}&
\begin{picture}(10,10)(-5,-25)
\protect\put(10,0){\protect\vector(-1,0){100}}
\end{picture}&\raise25pt\hbox{\raise-0.8ex\hbox{Driver (xdvi or printer driver)}}\\
Final readable output
\end{tabular}
 \end{slide}

\begin{slide}%5
\section*{}
\addcontentsline{toc}{section}{Some Math}
\begin{center}\Large Some Math\end{center}
\vspace{-0.5cm}
Here we just have a few math examples. First here is some ``Inline
Math'', $x\times y=z^3$ and $f^*{x} \cap f_*(y)$.

In contrast we also have ``Display Math'' such as
$$a_0+1{\over\displaystyle a_1+
       {\strut 1\over\displaystyle a_2+
       {\strut 1\over\displaystyle a_3}}},$$

$$A=\left(\matrix{x-\lambda&1&0\cr
                  0&x-\delta&1\cr1
                  1&0&x-\theta\cr}\right),$$
and
$$y(\tau)=\int_0^\tau f(t)g(t-\tau)dt.$$ 
\end{slide}

\begin{slide}%6
\section*{}\vspace{-0.5cm}
\addcontentsline{toc}{section}{\protect\textsc{Metafont}}
\begin{center}\Large \textsc{Metafont}\end{center}
\normalsize

\TeX\ has a sibling \textsc{Metafont} which was deveoped by Knuth to
complement \TeX. In the process of deciphering how page layout worked
as a background to \TeX, he became interested in typeface design and
created the \textsc{Metafont} system to produce computer generatedX1
fonts. He then created a whole family, the Computer Modern Fonts.

Basically, \textsc{Metafont} allows one to design the characters with
the use of higher level properties (hence the ``meta'') which can then
be changed to create a whole new family with a different ``look and
feel''.

The end result from \textsc{Metafont} is a set of .tfm files and .pk
files. The tfm files (\TeX\ font metric) tell \TeX\ the dimensions of
  each character. \TeX\ then lines up empty boxes of these prescribed
  sizes to fill the page. The resulting output, the dvi file is then
  passed to a viewer or print drive which then uses the .pk files
  (which contain the actual bitmaps) to produce the final output.
  
\end{slide}

\begin{slide}%7
\section*{}
\begin{center}\Large Pros and Cons\end{center}
\vspace{1cm}
\begin{minipage}[t]{0.49\linewidth}
Pros
\begin{itemize}
\item ASCII
\item Open Source, Free
\item Stable
\item Powerful
\item \#1 for Math
\item Line/Page breaking
\item Fits well with Linux
\item Emacs knows about it
\end{itemize}
\end{minipage}
\hspace{\fill}
\begin{minipage}[t]{0.49\linewidth}
Cons
\begin{itemize}
\item Not WYSIWYG
\item Complex
\item Hardly user friendly
\item Long learning curve
\item Unaware of PDF
\item Metafont is bitmap
\end{itemize}
\end{minipage}
\end{slide}

\begin{slide}%8
\section*{}
\addcontentsline{toc}{section}{\protect\LaTeX}
\begin{center}\Large \LaTeX\end{center}
\vspace{1cm}
\hspace{\fill}
\begin{minipage}[t]{2in}
\large
The code
\vspace{1cm}
\begin{verbatim}
\documentclass{article}
\begin{document}
 Hello World
\end{document}
\end{verbatim}
gives

\vspace{1cm}
Hello World
\end{minipage}
\hspace{\fill}
\end{slide}

\begin{slide}%9
\section*{}
\begin{center}\Large Environments\end{center}
 We can replace the
\begin{verbatim}Hello World\end{verbatim}
in the preceding example with
\begin{verbatim}  \begin{enumerate}
    \item Cats
    \item Dogs 
    \item Pigs
  \end{enumerate}
\end{verbatim}
to get

  \begin{enumerate}
    \item Cats
    \item Dogs 
    \item Pigs
  \end{enumerate}
\end{slide}

\begin{slide}%10
\section*{}
 Note the difference from raw \TeX. With \LaTeX\ one uses
 ``environments'' such as that \texttt{enumerate}
 environment which enclose code designed to do a specific task. As
 another example, one might have
 \begin{verbatim}
   \begin{tabular}{lrc}
     dogs&woof&wag\\
     cats&meow&sleep\\
     cows&moo&milk\\
   \end{tabular}
 \end{verbatim}
to get

\vspace{1cm}
   \begin{tabular}{lrc}
     dogs&woof&wag\\
     cats&meow&sleep\\
     cows&moo&milk\\
   \end{tabular}
\end{slide}

\begin{slide}%11
\section*{}
\begin{center}\Large Packages\end{center}
\small
At a higher level, one can use ``Packages'', code which someone has
provided to solve a particular problem. Some packages can be trivial
(but still convenient!) while others can be very complex.
As with Linux, there is a large international community of
\TeX/\LaTeX\ users who contribute, update, and maintain these
packages.

Use is simple. You simply put something like
\begin{verbatim}
  \usepacage{graphicx}
\end{verbatim}
in the preamble (the space between the
\begin{verbatim}
  \documentclass
\end{verbatim}
and the
\begin{verbatim}
  \begin{document}
\end{verbatim}
of your \LaTeX\ file) and now you have the toys that package makes
available.

\vspace{0.5cm}
This modularity is reminiscent of the use of kernal modules in Linux.
You load what you need beyond the basic stuff.
\end{slide}

\begin{slide}%12
\section*{}
\vspace{-1cm}
\begin{center}\Large Package example\end{center}
With
\begin{verbatim}
   \usepackage{color}
\end{verbatim}
in the preamble, one can then write
\begin{verbatim}
\begin{center}
\color{red}
This will be in red\\
\color{green}
This will be in green
\end{center}
\end{verbatim}
to get
\begin{center}
\color{red}
This will be in red\\
\color{green}
This will be in green  
\end{center}
Where the \texttt{center} environment is illustrated as well (and
there is also a hidden \texttt{verbatim} to show the code).
\end{slide}

\begin{slide}%13
\section*{}
\addcontentsline{toc}{section}{pdf\protect\TeX\ and pdf\protect\LaTeX}
\begin{center}\Large Part III: pdf\TeX/LaTeX\end{center}

In the last few years Adobe's PDF format has become the \emph{de
  facto} standard for presentations, superceding its sibling
  Postscript by adding navigation aids like URLs, and putting more
  emphasis on a screen for output (as in this presentation).
\vspace{0.2cm}

The \TeX/\LaTeX\ community has kept up by developing a PDF version of
\TeX\ called pdf\TeX which, in turn, makes possible a pdf\LaTeX. This
PDF world is accompanied by a package \texttt{hyperref} which adds
both references to other documents and URL management to \LaTeX's own
internal reference mechanism (already available for indexes, table of
contents and bibliography citations).
 
\end{slide}

\begin{slide}%14
\section*{}
\addcontentsline{toc}{section}{Literature}
\begin{center}\large Literature\end{center}
\small
\nocite{*}
\bibliography{t_t}
\end{slide}

\begin{slide}%15
\section*{}
\begin{center}
\includegraphics[scale=0.7]{wlugtux}
\end{center}
\end{slide}

\end{document}

