1
\documentclass[a4paper,10pt]{article}
3
\usepackage[latin1]{inputenc}
7
\usepackage{graphicx} %for inserting figures
8
\usepackage[authoryear,longnamesfirst,round,comma]{natbib}
15
\hypersetup{backref,colorlinks=true}
16
\usepackage{ae,aecompl}
34
\textheight 24.0cm %bottom margin is relative to top!
36
\fontsize {12}{14} % I think this is superceded by the 12pt in the documentclass
40
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
41
% Try to disable hyphenation
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}
51
%%%%%%%%%%%%%%%%%%%%%%%%%
52
%Preventing figures from appearing on a page by themselves.
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}
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}
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
%%%%%%%%%%%%%%%%%%%%%%%%%%
66
\title{Building and Installing QGIS}
67
\author{Gary Sherman \and Tim Sutton}
72
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
75
% \fancyhead[L,R]{\slshape \rightmark}
76
\fancyhead[L]{\slshape Building QGIS 0.5}
78
% \fancyfoot[L,L]{\slshape}
79
% \fancyfoot[C]{\page}
80
% \fancyfoot[R,R]{\slshape}
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
89
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
90
%%%%%%%%%%%% START OF DOCUMENT %%%%%%%%%%%%%%%%%%%%
91
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
96
% To disable first line indents of paragraphs after the first one
97
\setlength{\parindent}{0in}
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
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}
115
\pagenumbering{arabic}
116
\input{install_source.tex}