~ubuntu-branches/ubuntu/quantal/qgis/quantal

« back to all changes in this revision

Viewing changes to doc/source/install_guide/install.tex

  • Committer: Bazaar Package Importer
  • Author(s): Steve Halasz
  • Date: 2004-12-21 09:46:27 UTC
  • Revision ID: james.westby@ubuntu.com-20041221094627-r9lb6mlz2o3yp8gn
Tags: upstream-0.6.0
ImportĀ upstreamĀ versionĀ 0.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
\documentclass[a4paper,10pt]{article}
 
2
 
 
3
\usepackage[latin1]{inputenc}
 
4
\usepackage{amsmath}
 
5
\usepackage{amsfonts}
 
6
\usepackage{amssymb}
 
7
\usepackage{graphicx} %for inserting figures
 
8
\usepackage[authoryear,longnamesfirst,round,comma]{natbib}
 
9
\usepackage{longtable}
 
10
\usepackage{colortbl}
 
11
\usepackage{setspace}
 
12
\usepackage{listings}
 
13
\usepackage{color}
 
14
\usepackage{hyperref}
 
15
 \hypersetup{backref,colorlinks=true}
 
16
\usepackage{ae,aecompl}
 
17
 
 
18
%%%%%%%%%%%%%%%%%%%
 
19
% Page Layout
 
20
%%%%%%%%%%%%%%%%%%%
 
21
 
 
22
\headheight      0.7cm
 
23
\headsep         1.0cm
 
24
\topskip         0.0cm
 
25
 
 
26
 
 
27
%%%%%%%%%%%%
 
28
% Set up the margins
 
29
%%%%%%%%%%%%
 
30
\oddsidemargin  0cm
 
31
\leftmargin     -2.0cm
 
32
\rightmargin    0.6cm
 
33
\topmargin      -2cm
 
34
\textheight     24.0cm %bottom margin is relative to top!
 
35
\textwidth      6.5in
 
36
\fontsize       {12}{14} % I think this is superceded by the 12pt in the documentclass
 
37
%\parskip        5.mm
 
38
 
 
39
 
 
40
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
41
% Try to disable hyphenation
 
42
\pretolerance=2000
 
43
\tolerance=3000
 
44
 
 
45
 
 
46
%try to use semicolons between in text citations instead of commas
 
47
\bibpunct{(}{)}{;}{(a}{}{}
 
48
    %%%%%%%%%%%% set the harvard style used in text
 
49
    %\citationmode{default}
 
50
 
 
51
    %%%%%%%%%%%%%%%%%%%%%%%%%
 
52
    %Preventing figures from appearing on a page by themselves.
 
53
 
 
54
    % LaTeX's figure placement algorithm is quite biased in favour of putting figures on a page by themselves, instead of on the top of a page with some text below it.  Often, I find the result aesthetically unappealing (to be polite).  Fortunately, the parameters of the algorithm can be changed.  The main problem is that LaTeX per default only allows a part of the top of a text-page (70%) to contain figures, and requires at least 20% of a page to be text when text and figures share a page.  These parameters should be set to more reasonable values, for example 85% and 10%.
 
55
    \renewcommand{\topfraction}{0.85}
 
56
    \renewcommand{\textfraction}{0.1}
 
57
 
 
58
    %  This helps, but sometimes LaTeX puts a figure on a page by itself, although it would fit perfectly well on the top of a page.  This happens when the figure will not fit on the page where it was defined.  LaTeX then attempts to put it on a figures-only page before it attempts to put it at the top of the next page.  A page may contain figures alone if the figure(s) use at least half the page.  To prevent half-empty pages this limit should probably be increased to around 75%.
 
59
    \renewcommand{\floatpagefraction}{0.75}
 
60
 
 
61
    %    Be careful not to make \floatpagefraction larger than \topfraction, then you risk to produce a figure that can neither go on the top of a text page, nor on a page by itself.  If that happens, the figure and all later figures will be postponed until next time a \clearpage is executed (typically at the end of a chapter or the end of the document).  This will also happen if a figure is too large to fit on a page.
 
62
    %%%%%%%%%%%%%%%%%%%%%%%%%%
 
63
 
 
64
 
 
65
    % Title Page
 
66
    \title{Building and Installing QGIS}
 
67
    \author{Gary Sherman \and Tim Sutton}
 
68
 
 
69
 
 
70
%\date{May 2004}
 
71
 
 
72
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
73
%Set up page headers
 
74
\usepackage{fancyhdr}
 
75
% \fancyhead[L,R]{\slshape \rightmark}
 
76
 \fancyhead[L]{\slshape Building QGIS 0.5}
 
77
 
78
% \fancyfoot[L,L]{\slshape}
 
79
% \fancyfoot[C]{\page}
 
80
% \fancyfoot[R,R]{\slshape}
 
81
\pagestyle{fancy}
 
82
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
83
%Define our own custom colors
 
84
\definecolor{gray}{rgb}{.5,.5,.5} %rgb values expressed as 0-1 not 0-255!
 
85
\definecolor{lightgray}{rgb}{.9,.9,.9} %rgb values expressed as 0-1 not 0-255!
 
86
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
87
 
 
88
 
 
89
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
90
%%%%%%%%%%%%     START OF DOCUMENT %%%%%%%%%%%%%%%%%%%%
 
91
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
92
 
 
93
 
 
94
\begin{document}
 
95
 
 
96
% To disable first line indents of paragraphs after the first one
 
97
\setlength{\parindent}{0in}
 
98
 
 
99
\maketitle
 
100
\tableofcontents
 
101
%added by Tim to create a decent space between paragraphs
 
102
%note its only after toc so toc remains compact
 
103
\setlength{\parskip}{8pt plus 1pt minus 1pt}
 
104
% Spacing options are:
 
105
% \singlespacing, \onehalfspacing, or \doublespacing
 
106
%\onehalfspacing
 
107
 
 
108
% \lstset{language=csh}
 
109
% \lstset{commentstyle=\textit}
 
110
%\lstset{frameround=fttt}
 
111
% \lstset{framesep=3mm}
 
112
% \lstset{backgroundcolor=\color[rgb]{.95,.95,.95}}
 
113
%\lstset{frame=shadowbox}
 
114
 
 
115
\pagenumbering{arabic}
 
116
\input{install_source.tex}
 
117
\end{document}