2 % Header file for tutorial.tex
6 \newcommand{\singlespace}
7 {\addtolength{\baselineskip}{-.333\baselineskip}}
8 \newcommand{\doublespace}
9 {\addtolength{\baselineskip}{.5\baselineskip}}
11 % Spacing for the whole document
12 \newcommand{\currentspace}{} % use this for single space
13 % \newcommand{\currentspace}{\doubleespace} % use this for double space
15 % Common abbreviations
16 % (Remember to put '\ ' after if an interword space is
17 % desired rather than end-of-sentence space. Same for '.etc)' ).
18 \newcommand{\eg}{{\em e.g.}} % e.g.
19 \newcommand{\ie}{{\em i.e.}} % i.e.
20 \newcommand{\etc}{{\em etc.}} % etc.
21 \newcommand{\vs}{{\em vs.}} % vs.
22 \newcommand{\usec}{{$\mu$}sec} % microseconds
24 % \boxfigure{pos}{wid}{text}: A figure with a box around it
26 % pos the usual figure placement arg: eg. htbp
27 % wid the width of the figure, in some units: eg. 5in
28 % text the contents of the figure, including picture/caption/label/etc
31 \newcommand{\boxfigure}[3]{
33 \setlength{\boxwidth}{#2}
34 \addtolength{\boxwidth}{.1in}
45 % use \fullboxwidth for arg 2 of boxfigure to get box of size \textwidth
47 % To show a syntax for a gnutex command
48 \newenvironment{syntax}{\begin{quote}\tt}{\end{quote}}
52 % add `,a4' to `toc_entry' to load settings for A4-paper
53 % see below if you add 11pt or 12pt
54 \documentstyle[titlepage,a4]{article}
57 % add `[a4paper]' before `{article}' to load settings for A4-paper
58 % see below if you add 11pt or 12pt
59 \documentclass[titlepage,a4paper]{article} % DSL 24 May 1995
61 % If you are concerned about
62 % LaTeX Warning: \oval, \circle, or \line size unavailable on input line
63 % warnings, uncomment one of the following lines. You'll need to create
66 %\usepackage{pspicture}
72 % Only needed for epslatex driver
78 \setlength{\textwidth}{6.5in}
79 \setlength{\textheight}{9in}
80 \setlength{\topmargin}{-0.5in}
81 \setlength{\oddsidemargin}{0pt}
82 \setlength{\evensidemargin}{0pt}
85 \newlength{\fullboxwidth}
86 \setlength{\fullboxwidth}{\textwidth}
87 \addtolength{\fullboxwidth}{-0.1in}