%%
%% This is file `Rnews.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% Rnews.dtx  (with options: `package')
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from Rnews.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file Rnews.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\def\fileversion{v0.3.1}
\def\filename{Rnews}
\def\filedate{2001/09/04}
\def\docdate {2001/09/04}
%%
%% Package `Rnews' to use with LaTeX2e
%% Copyright (C) 2001 by the R Core Development Team
%% Please report errors to KH or FL
%%
%% -*- LaTeX -*-
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{\filename}[\filedate\space\fileversion\space
                        Rnews package]
\typeout{Package: `\filename\space\fileversion \@spaces <\filedate>'}
\typeout{English documentation as of <\docdate>}
\RequirePackage{ifthen}
\newboolean{Rnews@driver}
\DeclareOption{driver}{\setboolean{Rnews@driver}{true}}
\DeclareOption*{\PackageWarning{\filename}{Unknown option
    `\CurrentOption'}}
\ProcessOptions\relax
\ifthenelse{\boolean{Rnews@driver}}{}{
\RequirePackage{multicol,graphicx,color,fancyhdr,hyperref}
\newcommand{\volume}[1]{\def\Rnews@volume{#1}}
\newcommand{\volnumber}[1]{\def\Rnews@number{#1}}
\renewcommand{\date}[1]{\def\Rnews@date{#1}}
\setcounter{secnumdepth}{-1}
\renewcommand{\author}[1]{\def\Rnews@author{#1}}
\renewcommand{\title}[1]{\def\Rnews@title{#1}}
\newcommand{\subtitle}[1]{\def\Rnews@subtitle{#1}}
\newenvironment{article}{%
  \author{}\title{}\subtitle{}}{\end{multicols}}
\renewcommand{\maketitle}{
  \chapter{\Rnews@title}
  \refstepcounter{chapter}
  \begin{multicols}{2}
    \ifx\empty\Rnews@subtitle\else\par\addvspace{\baselineskip}
    \noindent\textbf{\Rnews@subtitle}\fi
    \ifx\empty\Rnews@author\else\par\addvspace{\baselineskip}
    \noindent\textit{\Rnews@author}\fi}
\renewcommand\chapter{\secdef\@chapter\@schapter}
\renewcommand*\l@chapter{\@dottedtocline{0}{0pt}{1em}}
\def\@makechapterhead#1{%
  \addvspace{2\baselineskip}%
  {\parindent \z@ \raggedright \normalfont
    \ifnum \c@secnumdepth >\m@ne
        \huge\bfseries \@chapapp\space \thechapter
        \par\nobreak
        \vskip 20\p@
    \fi
    \interlinepenalty\@M
    \Huge \bfseries #1\par\nobreak}}
\def\@schapter#1{\section*#1}
\renewenvironment{figure}[1][]{%
  \def\@captype{figure}
  \begin{minipage}{0.9\columnwidth}}{
  \end{minipage}\par\addvspace{\baselineskip}}
\renewcommand{\theequation}{\@arabic\c@equation}
\renewcommand{\thefigure}{\@arabic\c@figure}
\renewcommand{\thetable}{\@arabic\c@table}
\renewcommand{\contentsname}{Contents of this issue:}
\renewcommand\tableofcontents{%
  \section*{\contentsname
    \@mkboth{%
      \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
  \@starttoc{toc}}
\renewcommand{\titlepage}{%
  \noindent
  \rule{\textwidth}{1pt}\\[-.8\baselineskip]
  \rule{\textwidth}{.5pt}
  \begin{center}
    \includegraphics[height=2cm]{Rlogo}\hspace{7mm}
    \fontsize{2cm}{2cm}\selectfont
    News
  \end{center}
  The Newsletter of the R Project\hfill
  Volume \Rnews@volume/\Rnews@number, \Rnews@date\\[-.5\baselineskip]
  \rule{\textwidth}{.5pt}\\[-.8\baselineskip]
  \rule{\textwidth}{1pt}
  \vspace{1cm}
  \fancyhf{}
  \fancyhead[L]{Vol.~\Rnews@volume/\Rnews@number, \Rnews@date}
  \fancyhead[R]{\thepage}
  \fancyfoot[L]{R News}
  \fancyfoot[R]{ISSN 1609-3631}
  \thispagestyle{empty}
  \begin{bottombox}
    \begin{multicols}{2}
      \setcounter{tocdepth}{0}
      \tableofcontents
      \setcounter{tocdepth}{2}
    \end{multicols}
  \end{bottombox}}
\setlength{\textheight}{250mm}
\setlength{\topmargin}{-10mm}
\setlength{\textwidth}{17cm}
\setlength{\oddsidemargin}{-6mm}
\setlength{\columnseprule}{.1pt}
\setlength{\columnsep}{20pt}
\RequirePackage{ae,mathpple}
\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{\Rnews@box}
\newlength{\Rnews@len}
\newenvironment{bottombox}{%
  \begin{figure*}[b]
    \begin{center}
      \noindent
      \begin{lrbox}{\Rnews@box}
        \begin{minipage}{0.99\textwidth}}{%
        \end{minipage}
      \end{lrbox}
      \addtolength{\Rnews@len}{\fboxsep}
      \addtolength{\Rnews@len}{\fboxrule}
      \hspace*{-\Rnews@len}\fbox{\usebox{\Rnews@box}}
    \end{center}
  \end{figure*}}
\newenvironment{boxedverbatim}{%
  \begin{lrbox}{\Rnews@box}
    \begin{smallverbatim}}{%
    \end{smallverbatim}
  \end{lrbox}
  \hspace*{-\fboxsep}\fbox{\usebox{\Rnews@box}}}
\pagestyle{fancy}
} % \ifthenelse{\boolean{Rnews@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}
\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 `Rnews.sty'.
