How
to prepare your document ( .tex file)
For producing
presentation material (slides or transparencies) with LaTeX, just use the
slides
class for a document. You may also want to use the
color
package, if you have access to a color printer. Remember all these packages
are installed in our system (atleast in all the UNIX computers in 330).
First few lines of a latex documents including seminar class and colors.
\documentclass[12,landscape]{seminar}
\usepackage[dvips]{color}
\usepackage[scanall]{psfrag}
\usepackage{fancybox}
\usepackage{psfig}
\usepackage{epsfig}
\usepackage{shadow}
\usepackage{subfigure}
\usepackage{amsmath, amssymb,
amsthm}
%%%
FOR COLORS
\usepackage[dvips]{pstcol} %
To use the standard `color' package with Seminar
\usepackage{semcolor}
\input{seminar.bug}
\usepackage{pst-grad}
%%% Definitions of color
\definecolor{Gold}{rgb}{1.,0.84,0.}
\definecolor{Pink}{rgb}{1.,0.75,0.8}
\definecolor{Blue3}{rgb}{0.53,0.81,.92}
\definecolor{Blue1}{rgb}{0.94,0.95,1.}
\definecolor{Blue2}{rgb}{0.96,1.00,.98}
\definecolor{Blue4}{rgb}{.9,.9,.99}
\definecolor{Blue5}{rgb}{.8,1.,1.}
\definecolor{subblue}{rgb}{0.27,
0.51, 0.71}
%%
To make shaded background
\slideframe[\psset{fillstyle=gradient,gradmidpoint=0.5,
gradbegin=Blue1,gradend=Blue2,linearc=.2cm}]{scplain}
%%%%%%%%%%%%%%END
COLORS%%%%%%%%%%%%%%%%
\setlength{\slideframewidth}{0mm}
\evensidemargin 0pt
\oddsidemargin 0pt
\topmargin=- 0.5in
\setlength{\textwidth}{10in}
\textwidth=10in
\textheight=7in
\pagestyle{empty}
Example of a latex file : example.tex
Corresponding ps file : example.ps
Corresponding
pdf file : example.pdf
How
to compile your document ( .ps file)
This is the tricky part.
pslatex example
dvips example -o
ps2pdf example.ps
This will
produce a file example.pdf with nice fonts which is best for viewing. The
pslatex command produces a ps file( through a dvi file ) which is optimized
for viewing a .ps document. Notice that the fonts from the sequence of
commands
latex example
dvips example -o
ps2pdf example.ps
are different
from the above.
Warning
: You could be getting some warnings while executing dvips command
like the one below. Just ignore it.
dvips:
Font cmex10 at 622 not found; scaling 600 instead.
kpathsea: Running mktexpk --mfmode
ljfour --bdpi 600 --mag 1+22/600 --dpi 622 cm
ex9
mktexpk: Running mf \mode:=ljfour;
mag:=1+22/600; nonstopmode; input cmex9
This is METAFONT, Version 2.7182
(Web2C 7.3.1)
(/usr/local/TEX/texmf/fonts/source/public/cm/cmex9.mf
(/usr/local/TEX/texmf/fonts/source/public/cm/cmbase.mf)
(/usr/local/TEX/texmf/fonts/source/public/cm/mathex.mf
(/usr/local/TEX/texmf/fonts/source/public/cm/bigdel.mf
[0] [16] [18] [32]
[48] [64] [66] [1] [17] [19]
[33] [49] [65] [67] [2] [104] [20] [34] [50]
[52] [54] [3] [105] [21] [35]
[51] [53] [55] [4] [106] [22] [36] [5] [107]
[23] [37] [6] [108] [24] [38]
[7] [109] [25] [39] [8] [110] [26] [40] [56]
[58] [60] [62] [9] [111] [27]
[41] [57] [59] [61] [122] [123] [124] [125]
[10] [68] [28] [42] [11] [69]
[29] [43] [14] [46] [30] [44] [15] [47] [31]
[45] [12] [13] [120] [121] [63]
[126] [127] [119] [112] [113] [114] [115]
[116] [117] [118]) (/usr/local/TEX/texmf/fonts/source/public/cm/bigop.mf
[70] [71] [74] [75] [76] [77]
[78] [79] [80] [88] [81] [89] [96] [97] [82]
[90] [72] [73] [83] [91] [84]
[92] [85] [93] [86] [94] [87] [95])
(/usr/local/TEX/texmf/fonts/source/public/cm/bigacc.mf
[98] [99] [100] [101]
[102] [103]) ) )
Font metrics written on cmex9.tfm.
Output written on cmex9.622gf
(128 characters, 40356 bytes).
Transcript written on cmex9.log.
cp: cannot create /var/mail/fonts/pk/ljfour/public/cm/pk703.tmp:
Permission deni
ed
dvips: Font cmex9 at 622 not
found; scaling 600 instead.
<texc.pro><psfrag.pro><pstricks.pro><pst-dots.pro><pst-grad.pro><8r.enc>
<texps.pro><special.pro><color.pro>.
[1] [2] [3] [4] [5] [6<mod.ps>] [7] [8
<bohing.ps>] [9] [10] [11]
[12<boothist.ps>] [13] [14] [15
</home/surajit/thesis/graph/h.1all.ps></home/surajit/thesis/graph/h.5all.ps>
</home/surajit/thesis/graph/h1all.ps></home/surajit/thesis/graph/h2all.ps>]
[16] [17] [18] [19] [20] [21]
[22] [23] [24] [25] [26] [27] [28] [29] [30]
You can apply many tricks during the pdf show. The following pdf document may be useful.
present.pdf <This is from a SOS talk I gave in 2000>.