%%
%% DO NOT EDIT THIS FILE!
%%
%% This is file `GRASSnews.sty',
%% derived from 'RNews.sty' file
%% kindly provided by the R Project..
%%
\def\fileversion{v0.2}
\def\filename{GRASSnews}
\def\filedate{2004/08/06}
\def\docdate {2001/10/31}
%%
%% Package `GRASSnews' to use with LaTeX2e
%% Copyright (C) 2004 GRASS Development Team
%%
%% -*- LaTeX -*-
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{\filename}[\filedate\space\fileversion\space
                        GRASSnews package]
\typeout{Package: `\filename\space\fileversion \@spaces <\filedate>'}
\typeout{English documentation as of <\docdate>}
\RequirePackage{ifthen}
\newboolean{GRASSnews@driver}
\DeclareOption{driver}{\setboolean{GRASSnews@driver}{true}}
\DeclareOption*{\PackageWarning{\filename}{Unknown option
    `\CurrentOption'}}
\ProcessOptions\relax
\ifthenelse{\boolean{GRASSnews@driver}}{}{
\RequirePackage{multicol,graphicx,color,fancyhdr,hyperref}
\newcommand{\volume}[1]{\def\GRASSnews@volume{#1}}
\newcommand{\volnumber}[1]{\def\GRASSnews@number{#1}}
\renewcommand{\date}[1]{\def\GRASSnews@date{#1}}
\setcounter{secnumdepth}{-1}
\renewcommand{\author}[1]{\def\GRASSnews@author{#1}}
\renewcommand{\title}[1]{\def\GRASSnews@title{#1}}
\newcommand{\subtitle}[1]{\def\GRASSnews@subtitle{#1}}
\newenvironment{article}{%
  \author{}\title{}\subtitle{}}{\end{multicols}}
\renewcommand{\maketitle}{
  \begin{multicols}{2}[\chapter{\GRASSnews@title}\refstepcounter{chapter}][3cm]
    \ifx\empty\Rnews@subtitle\else\noindent\textbf{\GRASSnews@subtitle}
    \par\nobreak\addvspace{\baselineskip}\fi
    \ifx\empty\GRASSnews@author\else\noindent\textit{\GRASSnews@author}
    \par\nobreak\addvspace{\baselineskip}\fi
    \@afterindentfalse\@nobreaktrue\@afterheading}
\renewcommand\chapter{\secdef\GRASSnews@chapter\@schapter}
\providecommand{\nohyphens}{%
  \hyphenpenalty=10000\exhyphenpenalty=10000\relax}
\newcommand{\GRASSnews@chapter}{%
  \renewcommand{\@seccntformat}[1]{}%
  \@startsection{chapter}{0}{0mm}{%
    -2\baselineskip \@plus -\baselineskip \@minus -.2ex}{\p@}{%
    \normalfont\Huge\bfseries\raggedright}}
\renewcommand*\l@chapter{\@dottedtocline{0}{0pt}{1em}}
\def\@schapter#1{\section*#1}
\renewenvironment{figure}[1][]{%
  \def\@captype{figure}
  \noindent
  \begin{minipage}{\columnwidth}}{%
  \end{minipage}\par\addvspace{\baselineskip}}
\renewcommand{\thefigure}{\@arabic\c@figure}
\renewcommand{\thetable}{\@arabic\c@table}
\renewcommand{\contentsname}{Contents of this volume:}
\renewcommand\tableofcontents{%
  \section*{\contentsname
    \@mkboth{%
      \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
  \@starttoc{toc}}
\renewcommand{\titlepage}{%
  \noindent
  %\rule{\textwidth}{1pt}\\[-.8\baselineskip]
  %\rule{\textwidth}{.5pt}

  \begin{center}
    \graphicspath{{./images/}}
    \includegraphics[height=0.75cm]{grass_osgeo_logo}
    \hspace{7mm}
    \fontsize{1cm}{1cm}\selectfont
   FOSSGIS/ Training Manual
  \end{center}
%  The Newsletter of the GRASS  Project\hfill
%\begin{small}
\textbf{Open Source GIS and Remote Sensing Tutorials}
%\textbf{G}eographic \textbf{R}esources \textbf{A}nalysis \textbf{S}upport \textbf{S}ystem
%\end{small}
\hfill
  Version \GRASSnews@volume, \GRASSnews@date\\[-.5\baselineskip]
  \rule{\textwidth}{.5pt}\\[-.7\baselineskip]
  \rule{\textwidth}{2pt}
  \vspace{1cm}
  \fancyhf{}
  \fancyhead[L]{GRASS-Tutorials}
  \fancyhead[R]{Ver.~\GRASSnews@volume, \GRASSnews@date}
  \fancyfoot[R]{\thepage}
  \thispagestyle{empty}
  \begin{bottombox}
    \begin{multicols}{2}
      \setcounter{tocdepth}{0}
      \tableofcontents
      \setcounter{tocdepth}{2}
    \end{multicols}
  \end{bottombox}}
\setlength{\textheight}{240mm}
\setlength{\topmargin}{0mm}
\setlength{\textwidth}{17cm}
\setlength{\oddsidemargin}{-6mm}
\setlength{\columnseprule}{.1pt}
\setlength{\columnsep}{20pt}
\RequirePackage{ae}
\RequirePackage[T1]{fontenc}
\renewcommand{\rmdefault}{ppl}
\renewcommand{\sfdefault}{aess}
\renewcommand{\ttdefault}{aett}
\definecolor{Red}{rgb}{0.7,0,0}
\definecolor{Blue}{rgb}{0,0,0.8}
\definecolor{hellgrau}{rgb}{0.55,0.55,0.55}
\newcommand{\R}{R}
\newcommand{\address}[1]{\addvspace{\baselineskip}\noindent\emph{#1}}
\newcommand{\email}[1]{\href{mailto:#1}{\normalfont\texttt{#1}}}
\newsavebox{\GRASSnews@box}
\newlength{\GRASSnews@len}
\newenvironment{bottombox}{%
  \begin{figure*}[b]
    \begin{center}
      \noindent
      \begin{lrbox}{\GRASSnews@box}
        \begin{minipage}{0.99\textwidth}}{%
        \end{minipage}
      \end{lrbox}
      \addtolength{\GRASSnews@len}{\fboxsep}
      \addtolength{\GRASSnews@len}{\fboxrule}
      \hspace*{-\GRASSnews@len}\fbox{\usebox{\GRASSnews@box}}
    \end{center}
  \end{figure*}}
\RequirePackage{verbatim}
\def\boxedverbatim{%
  \def\verbatim@processline{%
    {\setbox0=\hbox{\the\verbatim@line}%
    \hsize=\wd0 \the\verbatim@line\par}}%
  \@minipagetrue
  \@tempswatrue
  \setbox0=\vbox
  \bgroup\small\verbatim
}
\def\endboxedverbatim{%
  \endverbatim
  \unskip\setbox0=\lastbox
  \egroup
  \fbox{\box0}
}
\pagestyle{fancy}
} % \ifthenelse{\boolean{GRASSnews@driver}}
\newcommand\code{\bgroup\@codex}
\def\@codex#1{{\normalfont\ttfamily\hyphenchar\font=-1 #1}\egroup}
\newcommand{\kbd}[1]{{\normalfont\texttt{#1}}}
\newcommand{\key}[1]{{\normalfont\texttt{\uppercase{#1}}}}
\newcommand\samp{`\bgroup\@noligs\@sampx}
\def\@sampx#1{{\normalfont\texttt{#1}}\egroup'}
\newcommand{\var}[1]{{\normalfont\textsl{#1}}}
\let\env=\code
\newcommand{\file}[1]{{`\normalfont\textsf{#1}'}}
\let\command=\code
\let\option=\samp
\newcommand{\dfn}[1]{{\normalfont\textsl{#1}}}
\newcommand{\acronym}[1]{{\normalfont\textsc{\lowercase{#1}}}}
\newcommand{\strong}[1]{{\normalfont\fontseries{b}\selectfont #1}}
\let\pkg=\strong
\RequirePackage{alltt}
\newenvironment{example}{\begin{alltt}}{\end{alltt}}
\newenvironment{smallexample}{\begin{alltt}\small}{\end{alltt}}
\newenvironment{display}{\list{}{}\item\relax}{\endlist}
\newenvironment{smallverbatim}{\small\verbatim}{\endverbatim}
\providecommand{\operatorname}[1]{%
  \mathop{\operator@font#1}\nolimits}
\renewcommand{\P}{%
  \mathop{\operator@font I\hspace{-1.5pt}P\hspace{.13pt}}}
\newcommand{\E}{%
  \mathop{\operator@font I\hspace{-1.5pt}E\hspace{.13pt}}}
\newcommand{\VAR}{\operatorname{var}}
\newcommand{\COV}{\operatorname{cov}}
\newcommand{\COR}{\operatorname{cor}}
\RequirePackage{amsfonts}
\endinput


%%
%% End of file `GRASSnews.sty'.
