[d6f438]: CDKnews.sty  Maximize  Restore  History

Download this file

218 lines (217 with data), 7.8 kB

%%
%% This is file `CDKnews.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% CDKnews.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 CDKnews.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file CDKnews.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.0.1}
\def\filename{CDKnews}
\def\filedate{2002/06/02}
\def\docdate {2001/10/31}
%%
%% Package `CDKnews' to use with LaTeX2e
%% Based on the package `CDKnews`:
%%   Copyright (C) 2001--2002 by the R Core Development Team
%%
%% -*- LaTeX -*-
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{\filename}[\filedate\space\fileversion\space
                        CDKnews package]
\typeout{Package: `\filename\space\fileversion \@spaces <\filedate>'}
\typeout{English documentation as of <\docdate>}
\RequirePackage{ifthen}
\newboolean{CDKnews@driver}
\DeclareOption{driver}{\setboolean{CDKnews@driver}{true}}
\DeclareOption*{\PackageWarning{\filename}{Unknown option
    `\CurrentOption'}}
\ProcessOptions\relax
\ifthenelse{\boolean{CDKnews@driver}}{}{
\RequirePackage{multicol,graphicx,color,fancyhdr,hyperref,xspace}
\newcommand{\volume}[1]{\def\CDKnews@volume{#1}}
\newcommand{\volnumber}[1]{\def\CDKnews@number{#1}}
\renewcommand{\date}[1]{\def\CDKnews@date{#1}}
\setcounter{secnumdepth}{-1}
\renewcommand{\author}[1]{\def\CDKnews@author{#1}}
\renewcommand{\title}[1]{\def\CDKnews@title{#1}}
\newcommand{\subtitle}[1]{\def\CDKnews@subtitle{#1}}
\newenvironment{article}{%
  \author{}\title{}\subtitle{}}{\end{multicols}}
\renewcommand{\maketitle}{
  \begin{multicols}{2}[\chapter{\CDKnews@title}\refstepcounter{chapter}][3cm]
    \ifx\empty\CDKnews@subtitle\else\noindent\textbf{\CDKnews@subtitle}
    \par\nobreak\addvspace{\baselineskip}\fi
    \ifx\empty\CDKnews@author\else\noindent\textit{\CDKnews@author}
    \par\nobreak\addvspace{\baselineskip}\fi
    \@afterindentfalse\@nobreaktrue\@afterheading}
\newcommand{\makecommtitle}{
  \begin{multicols}{2}[\chapter{\fbox{\sf{\large{COMMUNICATION}}}\newline\CDKnews@title}\refstepcounter{chapter}][3cm]
    \ifx\empty\CDKnews@subtitle\else\noindent\textbf{\CDKnews@subtitle}
    \par\nobreak\addvspace{\baselineskip}\fi
    \ifx\empty\CDKnews@author\else\noindent\textit{\CDKnews@author}
    \par\nobreak\addvspace{\baselineskip}\fi
    \@afterindentfalse\@nobreaktrue\@afterheading}
\renewcommand\chapter{\secdef\CDKnews@chapter\@schapter}
\RequirePackage{hyphenat}
\newcommand{\CDKnews@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{\theequation}{\@arabic\c@equation}
\def\equation{%
  \let\refstepcounter\H@refstepcounter
  \H@equation
  \def\newname{\arabic{chapter}.\theequation}%
  \let\theHequation\newname%
  \hyper@makecurrent{equation}%
  \Hy@raisedlink{\hyper@anchorstart{\@currentHref}}%
  \let\refstepcounter\new@refstepcounter}%
\def\endequation{\Hy@raisedlink{\hyper@anchorend}\H@endequation}
\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]{../CDKlogo}\hspace{7mm}
    \fontsize{2cm}{2cm}\selectfont
    News
  \end{center}
  The Newsletter of the CDK Project\hfill
  Volume \CDKnews@volume/\CDKnews@number, \CDKnews@date\\[-.5\baselineskip]
  \rule{\textwidth}{.5pt}\\[-.8\baselineskip]
  \rule{\textwidth}{1pt}
  \vspace{1cm}
  \fancyhf{}
  \fancyhead[L]{Vol.~\CDKnews@volume/\CDKnews@number, \CDKnews@date}
  \fancyhead[R]{\thepage}
  \fancyfoot[L]{CDK News}
  \fancyfoot[R]{ISSN 1614-7553}
  \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{\CDK}{CDK\xspace}
\newcommand{\address}[1]{\addvspace{\baselineskip}\noindent\emph{#1}}
\newcommand{\email}[1]{\href{mailto:#1}{\normalfont\texttt{#1}}}
\newcommand{\inchi}[1]{\href{http://www.google.com/search?q=#1}{\normalfont\texttt{InChI=#1}}}
\newsavebox{\CDKnews@box}
\newlength{\CDKnews@len}
\newenvironment{bottombox}{%
  \begin{figure*}[b]
    \begin{center}
      \noindent
      \begin{lrbox}{\CDKnews@box}
        \begin{minipage}{0.99\textwidth}}{%
        \end{minipage}
      \end{lrbox}
      \addtolength{\CDKnews@len}{\fboxsep}
      \addtolength{\CDKnews@len}{\fboxrule}
      \hspace*{-\CDKnews@len}\fbox{\usebox{\CDKnews@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{CDKnews@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\hyphenchar\font=-1 #1}}
\let\pkg=\code
\let\module=\strong
\let\class=\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}
\newcommand{\breakPeriod}{\leavevmode%
  \prw@zbreak.\discretionary{}{}{}\prw@zbreak}
\newcommand{\breakSlash}{\leavevmode%
  \prw@zbreak/\discretionary{-}{}{}\prw@zbreak}
\endinput
%%
%% End of file `CDKnews.sty'.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks