Annotation of OpenXM_contrib/gnuplot/docs/latextut/header.tex, Revision 1.1.1.2
1.1 maekawa 1: %
2: % Header file for tutorial.tex
3: %
4:
5: % Spacing
6: \newcommand{\singlespace}
7: {\addtolength{\baselineskip}{-.333\baselineskip}}
8: \newcommand{\doublespace}
9: {\addtolength{\baselineskip}{.5\baselineskip}}
10:
11: % Spacing for the whole document
12: \newcommand{\currentspace}{} % use this for single space
13: % \newcommand{\currentspace}{\doubleespace} % use this for double space
14:
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
23:
24: % \boxfigure{pos}{wid}{text}: A figure with a box around it
25: %
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
29: %
30: \newlength{\boxwidth}
31: \newcommand{\boxfigure}[3]{
32: \begin{figure}[#1]
33: \setlength{\boxwidth}{#2}
34: \addtolength{\boxwidth}{.1in}
35:
36: \centering
37: \framebox[\boxwidth]{
38: \begin{minipage}{#2}
39: #3
40: \end{minipage}
41: }
42: \end{figure}
43: }
44:
45: % use \fullboxwidth for arg 2 of boxfigure to get box of size \textwidth
46:
47: % To show a syntax for a gnutex command
48: \newenvironment{syntax}{\begin{quote}\tt}{\end{quote}}
49:
1.1.1.2 ! maekawa 50: \ifx\LaTeXe\undefined
! 51: % old LaTeX version
! 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}
! 55: \else
! 56: % LaTeX2e version
! 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
! 60: \usepackage{latexsym}
! 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
! 64: % tutorial.ps then.
! 65: %\usepackage{eepic}
! 66: %\usepackage{pspicture}
! 67: \fi
1.1 maekawa 68:
69: % Margins
70: \sloppy
71: \setlength{\textwidth}{6.5in}
72: \setlength{\textheight}{9in}
73: \setlength{\topmargin}{-0.5in}
74: \setlength{\oddsidemargin}{0pt}
75: \setlength{\evensidemargin}{0pt}
76:
77: % see above
78: \newlength{\fullboxwidth}
79: \setlength{\fullboxwidth}{\textwidth}
80: \addtolength{\fullboxwidth}{-0.1in}
81:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>