diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/einfuehrung/exareport.cls')
-rw-r--r-- | Master/texmf-dist/doc/latex/einfuehrung/exareport.cls | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/einfuehrung/exareport.cls b/Master/texmf-dist/doc/latex/einfuehrung/exareport.cls new file mode 100644 index 00000000000..6a5c355505b --- /dev/null +++ b/Master/texmf-dist/doc/latex/einfuehrung/exareport.cls @@ -0,0 +1,58 @@ +%% +%% +%% Copyright (C) 2012 Herbert Voss +%% +%% It may be distributed and/or modified under the conditions +%% of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% +%% See http://www.latex-project.org/lppl.txt for details. +%% +% +\RequirePackage{DEoptions} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}} +\ProcessOptions\relax +\LoadClass[twoside,openany,10pt]{report} + +\RequirePackage{DEexa} +\def\@makechapterhead#1{% + \vspace*{10\p@}% + {\parindent \z@ \raggedright \normalfont + \ifnum \c@secnumdepth >\m@ne + \Large\bfseries \@chapapp\space \thechapter + \par\nobreak + \vskip 20\p@ + \fi + \interlinepenalty\@M + \Large\bfseries #1\par\nobreak + \vskip 20\p@ + }} +\def\@makeschapterhead#1{% + \vspace*{10\p@}% + {\parindent \z@ \raggedright + \normalfont + \interlinepenalty\@M + \Large\bfseries #1\par\nobreak + \vskip 20\p@ + }} + + +\let\relax +\let\relax +\makeatletter +%\let\ps@plain\ps@empty +\makeatother +\renewcommand\documentclass[2][]{} +\endinput + +\AtBeginDocument{ +\ifx\color\@undefined +\else + \definecolor{blue}{cmyk}{1,0.56,0,0} + \definecolor{red}{cmyk}{0,0,0,.3} + \definecolor{green}{cmyk}{0,0,0,.2} + \definecolor{yellow}{cmyk}{0,0,0,.1} +\fi +} + + |