[BACK]Return to header.tex CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot / docs / latextut

Annotation of OpenXM_contrib/gnuplot/docs/latextut/header.tex, Revision 1.1

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:
        !            50: \documentstyle[titlepage,11pt]{article}
        !            51:
        !            52: % Margins
        !            53: \sloppy
        !            54: \setlength{\textwidth}{6.5in}
        !            55: \setlength{\textheight}{9in}
        !            56: \setlength{\topmargin}{-0.5in}
        !            57: \setlength{\oddsidemargin}{0pt}
        !            58: \setlength{\evensidemargin}{0pt}
        !            59:
        !            60: % see above
        !            61: \newlength{\fullboxwidth}
        !            62: \setlength{\fullboxwidth}{\textwidth}
        !            63: \addtolength{\fullboxwidth}{-0.1in}
        !            64:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>