Vorlage für einen Report

Masterfile

Erstellung eines Berichts mit standartisiertem Deckblatt.

 
documentclass{ArnesReport}
begin{document}
deckblatt{titlesubtitle}{date}
 
section{first section}
end{document}

ArnesReport.cls

NeedsTeXFormat{LaTeX2e}
ProvidesClass{ArnesReport}[2006/03/17]
RequirePackage{ifthen}
 
newififpdf 
ifxpdfoutputundefined 
   pdffalse           % we are not running pdflatex  
else 
   pdfoutput=1        % we are running pdflatex  
   pdfcompresslevel=9 % compression level for text and image 
   pdftrue 
fi
 
PassOptionsToClass {a4paper,twoside,12pt}{article}
ProcessOptions
LoadClass{article}
 
 
usepackage{graphicx,epsfig,rotating} %figures 
usepackage{eurosym}                  %The EURO symbol 
%usepackage[english,german]{babel}    %german identifiers 
usepackage[latin1]{inputenc}         %special german characters 
usepackage{enumerate}                %fancy enumeration marks 
usepackage{fancyhdr}                 %fancy headings and footers 
usepackage{amsmath}                  %many math symbols 
usepackage{amssymb}                  % 
usepackage{longtable}                %table: fixed width, multiple pages 
usepackage{lscape}                   %landscape orientation of page 
usepackage{here}                     %place figure HERE! 
usepackage{textcomp} 	             % ? 
usepackage{caption}                  %fancy captions 
 
ifpdf
   usepackage[pdftex]{color}
   usepackage[pdftex,colorlinks=true, pdfstartview=FitV, linkcolor=Agreen,  citecolor=Ablue, urlcolor=Agreen, filecolor=Ablue, bookmarks=true]{hyperref}
else
   usepackage{color}
   usepackage{html}
 fi
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%colors 
definecolor{Agreen}{rgb}{0.0,0.53,0.0}
definecolor{Ared}{rgb}{0.8,0.0,0.0}
definecolor{Ablue}{rgb}{0.0,0.0,0.8}
definecolor{company}{rgb}{0.0,0.8,0.8}
%phys units 
renewcommand{d}{,{rm d}}
newcommand{e}{,{rm e}}
newcommand{J}{,{rm J}}
newcommand{K}{,{rm K}}
newcommand{N}{,{rm N}}
newcommand{V}{,{rm V}}
newcommand{W}{,{rm W}}
newcommand{sqm}{,{rm m^{2}}}
newcommand{cm}{,{rm m^{3}}}
newcommand{kg}{,{rm kg}}
newcommand{kJK}{,{rm kJ/K}}
newcommand{MPa}{,{rm MPa}}
newcommand{Pa}{,{rm Pa}}
newcommand{s}{,{rm s}}
newcommand{m}{,{rm m}}
renewcommand{captionfont}{small}
renewcommand{captionlabelfont}{bfseries}
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%page layout 
setcounter{page}{1} 
 
%setlength:  ~/home/texmf/tex/latex/fancyhdr/fancyhdr.pdf 
setlength{parindent}{0pt}
setlength{textheight}{250mm}
setlength{textwidth}{160mm}
setlength{topmargin}{-10mm}
 
%header, footer 
%pagestyle{headings} 
pagestyle{fancy} 
lhead[fancyplain{}{thepage}]{fancyplain{}{rightmark}}
rhead[fancyplain{}{leftmark}]{fancyplain{}{thepage}}
cfoot{{color{Ared}bf confidential}}
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
%title page 
newcommand{deckblatt}[2]{%
begin{titlepage}%
pagestyle{empty}%
begin{center}%
includegraphics[width=textwidth]{Logo1}%
end{center}%
vspace{20mm}%
begin{center}%
{huge #1}[0.5em] %
{em #2} %
end{center} %
vfill %
hrule %
begin{minipage}{0.75textwidth} %
vspace{1.5mm} %
your name %
your copany %
section of your company %
street %
town %
Fon: + %
htmladdnormallink{{color{blue}your@mail.com}}{mailto:your@mail.com} %
end{minipage} %
hfill %
begin{minipage}{0.2textwidth} %
vfill %
includegraphics[width=textwidth]{Logo2} %
vfill %
end{minipage} %
vspace{0.5mm} %
hrule %
end{titlepage} %
thispagestyle{empty} %
cleardoublepage %
%all indexes 
tableofcontents %
%listoffigures %
%newpage %
%thispagestyle{empty} %
%pagenumbering{arabic} %
%setcounter{page}{1} %
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
 
setlength{oddsidemargin}{7mm}    %Gemurkse, damit Seiten gut aussehen 
setlength{evensidemargin}{-8mm}  %Gemurkse, damit Seiten gut aussehen 
Login
Valid HTML 4.01!