%% Style definitions for latex2html
%% [$Id$]
%% nothing to change below
% important for nice acroread-visualization as pdf.
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
% to qgis and grass commands optimize:
% found here: http://www.open4me.de/pdfprobleme.html
\usepackage{ae,aecompl}
% Change of Caption font and size
\usepackage[bf]{caption}
\renewcommand{\captionfont}{\small}
% Include HTML package for latex2html
% http://irb.cs.tu-berlin.de/leitfaden/manuale/latex-local/html/node20.html
\usepackage{html}
% float package needed for QGIS tips, QGIS tips style is in preamble.tex
\usepackage{float}
% Serif font
%\usepackage{palatino}
% mathpazo are mathefonts for formulars in palatino font
%\usepackage{mathpazo}
% new definition, to make it all without serif-font (Helvetica) see FAQ 10.2.2
\usepackage{helvet}
\renewcommand{\sfdefault}{phv} % switch \sf to Helvetica T1
\renewcommand*{\familydefault}{\sfdefault}
% new commands to suppress appendix-captions
\def\afterfi#1\fi{\fi#1}
\let\ORIGaddtocontents\addtocontents
\newcommand*\dontaddtolof[2]{\edef\temp{#1}%
\ifx\temp\ext@figure\else\afterfi\ORIGaddtocontents{#1}{#2}\fi}
\newcommand*\ignorelof{\let\addtocontents\dontaddtolof}
\newcommand*\obeylof{\let\addtocontents\ORIGaddtocontents}
% graficx package for dvips und dvipdf and standard index for includegraphics
% see: /usr/share/doc/texmf/latex/graphics/grfguide.ps.gz
\usepackage[dvips,dvipdf]{graphicx}
\graphicspath{{./finalpix/}{../finalpix/}}
% color package for dvips
\usepackage[dvips]{color}
% author-year-citation paket natbib (for cited literature)
\usepackage[round,sort]{natbib}
% \bibpunct{(}{)}{,}{a}{}{;}
% A4:
\usepackage{typearea}
\areaset[12mm]{17cm}{22cm}
\topmargin-0.2cm % A4
% For floating texts around images and tables
\usepackage{floatflt}
% to allow hyphenation for re-projection (composita)
\usepackage{hyphenat}
% header and footer package fancyhdr
\usepackage{fancyhdr}
% \setlength{\unitlength}{1mm}
\pagestyle{fancy}
\fancyhead{} %clear all fields
\fancyfoot{} %clear all fields
% \rhead{\it{\nouppercase{\leftmark}}}
% \chead{}
% \lhead{}
% \lfoot{}
% \cfoot{}
% \rfoot{\hbox{}\hfill\thepage}
% \renewcommand{\footrulewidth}{0.3pt} %liniendicke Fusszeile
% \renewcommand{\headrulewidth}{0.3pt} %liniendicke Kopfzeile
%% fancy positions
%% +-------------+-----------------+
%% | LE CE RE | LO CO RO | <- head
%% | even left | odd page right |
%% | LE CE RE | LO CO RO | <- foot
%% +-------------+-----------------+
\fancyhead[RO]{\rightmark} % print section right on odd
\fancyhead[LE]{\leftmark} % print chapter left on even page
\fancyhead[CE,RE]{} % empty
\fancyhead[LO,CO]{} % empty
%Doppelseiten-Footer:
%\fancyfoot[LE,RO]{\thepage}
%\fancyfoot[RE,LO]{QGIS User Guide}
%Einseiten-Footer:
\fancyfoot[RE,RO]{\thepage} % pages in footer, single sided
\fancyfoot[LE,LO]{QGIS \CURRENT User Guide} % overridden by qgis_style.sty, line 84!!
\renewcommand{\headrulewidth}{0.3pt} % ruler at top
\renewcommand{\footrulewidth}{0.3pt} % ruler at bottom
%define plain for chapter's first page:
\fancypagestyle{plain}{%
\fancyhf{} %clear all fields
\fancyfoot[C]{\thepage} %put page into center footer
\renewcommand{\headrulewidth}{0pt} % no ruler at top
\renewcommand{\footrulewidth}{0pt}} % no ruler at bottom
\pagenumbering{roman}
% for extra long tables
\usepackage{supertabular}
% create an automatic index
\usepackage{makeidx}
% for page-width tables
\usepackage{tabularx}
% rotate tables
\usepackage{rotating}
% table rows and cols with grey background color
\usepackage{colortbl}
% don't cover column lines
\usepackage{hhline}
% footer formating
\usepackage[bottom]{footmisc}
% row distance
\renewcommand{\baselinestretch}{1.1}
\small\normalsize
% syllable division
\sloppy
% paragraph distance
\parskip1.5ex
% indentation -> here 0
\parindent0ex
% also in article-style 5 structure level!
% 3 are enough... to keep it clear
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
% several graphics next to eachother counting
\usepackage[normal]{subfigure}
% new command for subfigure to optimize distance between figures
\newcommand{\goodgap}{%
\hspace{\subfigtopskip}%
\hspace{\subfigbottomskip}}
% keep float-grafics in a section
\usepackage[below]{placeins}
% map index
%\usepackage{float}
% command for subscript and superscript in formulars.
\newfont{\tensy}{cmsy10}
\newcommand{\hoch}[1]{{$\fontdimen16\tensy=3.0pt
\fontdimen17\tensy=3.0pt \mathrm{#1}$}}
% For 2 separated bib indices (lit and web)
%\usepackage{bibtopic}
%Fonts for all QGIS/Unix commands
\newcommand{\qgis}{\texttt}
% using xspace
\usepackage{xspace}
%Macros QGIS Versions
\def\CURRENT{1.2.0\xspace}
\def\OLD{1.1.0\xspace}
\def\VERYOLD{1.0.2\xspace}
% bookmarksnumbered=true % needs to be included at the end
\usepackage[bookmarks=true, bookmarksnumbered=false, pdftitle={QGIS Documentation}, pdfauthor={QGIS Project}, pdfsubject={QGIS User Guide}, breaklinks=true, colorlinks=false, linkcolor=black,dvips]{hyperref}
% if colorlinks=false then add pdfborder={0 0 0} (no link boxes)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%