File: main.tex

package info (click to toggle)
pyxplot 0.9.2-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,288 kB
  • sloc: ansic: 50,373; xml: 1,339; python: 570; sh: 318; makefile: 89
file content (176 lines) | stat: -rw-r--r-- 4,042 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
% main.tex
%
% The documentation in this file is part of Pyxplot
% <http://www.pyxplot.org.uk>
%
% Copyright (C) 2006-2012 Dominic Ford <coders@pyxplot.org.uk>
%               2008-2012 Ross Church
%
% $Id: main.tex 1280 2012-07-29 18:14:26Z dcf21 $
%
% Pyxplot is free software; you can redistribute it and/or modify it under the
% terms of the GNU General Public License as published by the Free Software
% Foundation; either version 2 of the License, or (at your option) any later
% version.
%
% You should have received a copy of the GNU General Public License along with
% Pyxplot; if not, write to the Free Software Foundation, Inc., 51 Franklin
% Street, Fifth Floor, Boston, MA  02110-1301, USA

% ----------------------------------------------------------------------------

% LaTeX source for the Pyxplot Users' Guide

\makeindex
\input{definitions}

% Make bold tt work
\usepackage{bold-extra}

% Make box and example float environments
\definecolor{LightGrey}{gray}{0.9}
\usepackage[bf]{caption}
\usepackage{float}
\floatstyle{plain}

% Make box float environment
\newfloat{boxout2}{thp}{lob}
\floatname{boxout2}{Box}

\newcommand{\boxout}[3]{
\begin{boxout2}
\begin{tabular}{|>{\columncolor{LightGrey}}l|}
\hline
\begin{minipage}{\textwidth}
\vspace{2.5mm}
#3
\vspace{2.5mm}
\end{minipage} \\
\hline
\end{tabular}
\caption{#1}
\label{#2}
\end{boxout2}
}

% Make example float environment
\newfloat{exampletag}{thp}{loe}
\floatname{exampletag}{Example}

\newcommand{\example}[3]{
%\afterpage{
\upshape\mdseries\rm
\begin{exampletag}[H]\caption[#2]{#2.}\label{#1}\end{exampletag}
\vspace{-5mm}
\begin{longtable}{|>{\columncolor{LightGrey}}p{\textwidth}|}
\hline \endfoot
\hline \endhead
#3
\end{longtable}%\newpage
%}
}

\newcommand{\nlnp} {\\\hspace{8mm}}
\newcommand{\nlscf}{\vspace{3mm}\\\noindent}
\newcommand{\nlfcf}{\vspace{3mm}\\\hspace{8mm}}

\begin{document}

\begin{titlepage}
\normalsize
\vspace*{0.4cm}
\begin{center}
{\Huge \bf Pyxplot Users' Guide}\\
\end{center}
\vspace*{0.5cm}
\begin{center}
{\LARGE \bf A Scientific Scripting Language, \\ \vspace{2mm} Graph Plotting Suite and \\ \vspace{2mm} Vector Graphics Toolkit. \\}
\end{center}
\vspace*{0.4cm}
\begin{center}
{\Large Version \version \\}
\end{center}
\vspace*{0.0cm}
\begin{center}
\includegraphics[width=10cm]{examples/eps/ex_cover}
\end{center}
\vspace*{0.2cm}
\begin{center}
{\large
Lead Developer: Dominic Ford \\
\vspace{1mm}
Lead Tester: Ross Church \\ 
\vspace{2mm}
Email: \noindent {\tt coders@pyxplot.org.uk} \\
\vspace{4mm}
This manual is also available in HTML, at \\
\url{http://www.pyxplot.org.uk/0.9/doc/html/} \\
}
\end{center}
\vspace*{0.5cm}
\begin{center}
{\Large \reldate \\}
\end{center}
\end{titlepage}

\pagenumbering{roman}

\makeatletter
\renewcommand\l@chapter[2]{%
  \ifnum \c@tocdepth >\m@ne
    \addpenalty{-\@highpenalty}%
    \vskip 1.0em \@plus\p@
    \setlength\@tempdima{2em}%
    \begingroup
      \parindent \z@ \rightskip \@pnumwidth
      \parfillskip -\@pnumwidth
      \leavevmode \bfseries
      \advance\leftskip\@tempdima
      \hskip -\leftskip
      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
      \penalty\@highpenalty
    \endgroup
  \fi}
\renewcommand\l@section{\@dottedtocline{1}{2.0em}{3.0em}}
\renewcommand\l@subsection{\@dottedtocline{2}{5.0em}{4.0em}}
\makeatother
\tableofcontents

\listoffigures
\listof{exampletag}{List of Examples}

\newpage
\pagenumbering{arabic}

\part{Introduction to Pyxplot}
\include{introduction}
\include{installation}
\include{first_steps}
\include{calculations}
\include{data}
\include{programming}
\include{flowctrl}
\part{Plotting and vector graphics}
\include{plotting}
\include{terminals}
\include{vector_graphics}
\part{Reference manual}
\include{reference}
\include{functions}
\include{types}
\include{constants}
\include{units}
\include{papersizes}
\include{colors}
\include{linestyles}
\include{configuration}
\part{Appendices}
\appendix
\include{other_apps}
\include{gnuplot_diffs}
\include{fit_maths}
\include{changelog}

\printindex
\end{document}