% This is slide-sample.tex. How to use is below.
% Nobuyuki Tsuchimura (tutimura@nn.iij4u.or.jp) 2002/4/11

% % latex slide-sample.tex
% % xdvi -paper a5r slide-sample.dvi

% When you finish making tex, let's get PDF.
% % dvipdfm -p a5 -l slide-sample.dvi
% (You can get PDF by dvips and ps2pdf, but with dirty fonts.)

% % acroread slide-sample.pdf
% Goto full screen mode for presentation.

% To get PS file
% % dvips -t landscape -x 1414 -O 15mm,10mm slide-sample.dvi

\documentclass[a5paper,landscape]{slides}
\setlength{\topmargin}{-60pt}
\addtolength{\textheight}{90pt}
\setlength{\oddsidemargin}{-30pt}
\addtolength{\textwidth}{40pt}

%\usepackage[dvipdfm]{color}
\usepackage[dvips]{color}

%% 英文はAdobeフォントを使う
%\usepackage{amsmath,amssymb,txfonts}
%% ただしTypewritter書体は ComputerModern を使う
%\renewcommand{\ttdefault}{cmtt}

%% 和文TFMとして東京書籍印刷の小林肇さんの
%% 作られたJISフォントメトリック（\texttt{jis}，\texttt{jisg}）を使う
%\DeclareFontShape{JY1}{mc}{m}{n}{<-> s * [0.961] jis}{}
%\DeclareFontShape{JY1}{gt}{m}{n}{<-> s * [0.961] jisg}{}

\begin{document}
\begin{slide} % begin of one slide page
This is normal font.
\large
This is large font.
\Large
This is Large font.
\LARGE
This is LARGE font.
\end{slide} % end of one slide page

\begin{slide}
Of course, we can use equation.
\[
 \sum_{k=1}^n{k} = \frac{n(n+1)}{2}
\]

\LARGE Here is LARGE equation.
\[
 \sum_{k=1}^n{k} = {n(n+1) \above1.5pt 2}
\]
\end{slide}%%%%%%%%%%%%%%%%%%%

\begin{overlay}
Numbering of this page is strange.
\end{overlay}%%%%%%%%%%%%%%%%%%%

\begin{note}
This page is for note.
\end{note}%%%%%%%%%%%%%%%%%%%

\begin{overlay}
Numbering of this page is strange, again.

\invisible
This part is invisible.
\visible
$\leftarrow$ We can't see.
\end{overlay}%%%%%%%%%%%%%%%%%%%

\begin{overlay}
Numbering of this page is strange, again.

\visible
This part is invisible.
\visible
$\leftarrow$ We got it.
\end{overlay}%%%%%%%%%%%%%%%%%%%


\begin{slide}
\color{black}
black
\color{blue}
blue
\color{red}
red
\color{magenta}
magenta
\color{green}
green
\color{cyan}
cyan
\color{yellow}
yellow
\color{white}
white

\color[rgb]{0.5,0.5,0.5}
gray
\color{black} % normal color

\textcolor{red}{This is red.}
\colorbox{red}{Back is red.}
\fcolorbox{red}{blue}{Frame is red.}
\end{slide}%%%%%%%%%%%%%%%%%%%

\begin{slide}
\pagecolor[rgb]{0,0.4,0}
This page is dark green.
\textcolor{white}{White color can be seen.}
\end{slide}%%%%%%%%%%%%%%%%%%%

\begin{slide}
\pagecolor{white} % normal color
If a page is filled with many letters,
it will be something like this.
If a page is filled with many letters,
it will be something like this.
If a page is filled with many letters,
it will be something like this.
If a page is filled with many letters,
it will be something like this.
If a page is filled with many letters,
it will be something like this.
If a page is filled with many letters,
it will be something like this.
If a page is filled with many letters,
it will be something like this.
If a page is filled with many letters,
it will be something like this.
\end{slide}%%%%%%%%%%%%%%%%%%%

\end{document}
