Skip to content
Snippets Groups Projects
Commit 72e414a1 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

Versionierung von "vl-report.cls"; "luximono" --> "AnonymousPro"

parent e3a6e125
No related branches found
No related tags found
No related merge requests found
%---------------------------
\listfiles
\documentclass[titlepage=false,toc=nobibliography]{vl-report}
% inputencoding ist fest auf utf8 eingestellt!
\moveTypeArea% Heftrand erzwingen
\begin{document}
\subject{PTB~--~AG~7.54}
\title{Ein Test}
%\subtitle{xxx}
\date{2018-06-26}
\author{ Rolf Niepraschk \and Thomas Bock }
\maketitle
\tableofcontents
\section*{Einleitung}
Im Folgenden soll ein Überblick über \dots
\section{BlaBla}
\begin{lstlisting}[language={}]
{
"Result":["...","..."],
"t_start":1385556963144,"t_stop":1385556963157,
"exitCode":...
}
\end{lstlisting}
\end{document}
%---------------------------
\setcounter{errorcontextlines}{100}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{vl-report}
[2018/06/26 v0.1g Dokumentenklasse (RN)]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrreprt}}
\ProcessOptions\relax
\input{glyphtounicode.tex}
\edef\@classoptionslist{ngerman,toc=bibliography,\@classoptionslist}
% "ngerman" als Standard, "toc=bibliography" soll auch "biblatex" sehen.
\PassOptionsToPackage{twoside,headinclude,headlines=1.25}{typearea}
\PassOptionsToClass{
,fontsize=11pt
,paper=a4
,pagesize
,headings=normal
,titlepage=false
}{scrartcl}
\LoadClassWithOptions{scrartcl}
\RequirePackage{hyphsubst}% Trennregeln austauschen
\HyphSubstIfExists{ngerman-x-latest}{%
\HyphSubstLet{ngerman}{ngerman-x-latest}}{}
% Markus Kohm in "d.c.t.t." (16 Jul 2007 10:15:02 CEST):
%\BeforePackage{babel}{\DeclareOption{fallbacklanguage}{%
% \ifx\bbl@main@language\@undefined\ExecuteOptions{ngerman}\fi}%
%}%
\RequirePackage{babel}
\RequirePackage{xcolor,scrpage2}
\pagestyle{scrheadings}
\automark[subsection]{section}
%\expandafter\ifnum \@nameuse{scr@v@3.12}=\scr@v@last\relax
% % wegen Macke in KOMA-Script 3.12 %
% \RequirePackage{xpatch}
% \xpatchcmd{\ps@headings}{\sectionmarkformat\fi}{\sectionmarkformat}{}{}
%\fi
\newcommand*\moveTypeArea{%
\addtolength{\oddsidemargin}{1.75cm}%
\addtolength{\evensidemargin}{-1.75cm}%
}
\RequirePackage[section]{placeins}% \FloatBarrier{}
\RequirePackage{graphicx}
\RequirePackage[T1]{fontenc}
\RequirePackage[largesmallcaps]{kpfonts}
\RequirePackage[scale=.9]{tgheros}
\iffalse
\RequirePackage[scaled]{luximono}
\else
\RequirePackage[ttdefault=true,scale=1.034]{AnonymousPro}
\fi
\RequirePackage{microtype}
\DeclareMicrotypeAlias{jkp}{ppl}
\DeclareMicrotypeAlias{jkpk}{ppl}
\RequirePackage[obeyspaces,spaces]{url}
\renewcommand\UrlFont{\ttfamily\small}
\RequirePackage[utf8]{inputenc}
\RequirePackage[autostyle=true,babel=once,german=guillemets,maxlevel=3]{csquotes}%
\defineshorthand{"`}{\openautoquote}
\defineshorthand{"'}{\closeautoquote}
\MakeAutoQuote{»}{«}
\addtokomafont{caption}{\small}
\addtokomafont{captionlabel}{\bfseries\sffamily}
\addtokomafont{subject}{\sffamily}
\renewcommand*\labelitemii{$\circ$}
\newcommand\Minisec[1]{\@afterindentfalse \vskip 1.5ex
{\parindent \z@
\raggedsection\normalfont\sectfont\nobreak
\usekomafont{minisec}#1\nobreak}\nobreak%
\@afterheading
}
\newcommand*\Program[1]{\textsf{#1}}
\newcommand\TODO[1]{%
\begingroup
\color{red}\textbf{\textsf{TODO:}} #1%
\endgroup
}
\RequirePackage{xcolor,listings}
\lstset{%
,basicstyle=\footnotesize\ttfamily
,identifierstyle={}
,keywordstyle=\bfseries
,%stringstyle=\itshape\color{DTKlstStrings}
,commentstyle=\itshape
,columns=fixed
,tabsize=2
,frame=single
,extendedchars=true
,showspaces=false
,showstringspaces=false
,breaklines=true
,breakindent=10pt
,backgroundcolor=\color{black!10}
,breakautoindent=true
,captionpos=t
,aboveskip=\medskipamount
,belowskip=\medskipamount
,xrightmargin=\fboxsep
,prebreak=\mbox{$\hookleftarrow$}
,columns=fullflexible
,keepspaces=true
}
\setlength\textheight{1.08\textheight}
\RequirePackage[
,style=numeric
,language=auto
,hyperref=auto
,abbreviate=true
%,sorting=nyt
,bibencoding=utf8
,block=ragged
,backend=biber
,useprefix=true
,backrefstyle=two
,sortlocale=de_DE
,dateabbrev=false
,datezeros=false
,maxnames=3
,minnames=3
,defernumbers=true
]{biblatex}
\renewcaptionname{ngerman}\bibname{Literatur und Verweise}
\renewcaptionname{ngerman}\refname{\bibname}
\renewcaptionname{ngerman}\figurename{Abb.}
\DefineBibliographyStrings{ngerman}{%
bibliography = {\bibname},
references = {\bibname},
}
\renewcommand{\floatpagefraction}{.9}
\renewcommand{\textfraction}{.1}
\renewcommand{\topfraction}{.9}
\renewcommand{\bottomfraction}{.9}
\setcounter{topnumber}{3}
\setcounter{bottomnumber}{3}
\setcounter{totalnumber}{5}
\renewcommand{\dbltopfraction}{.8}
\renewcommand{\dblfloatpagefraction}{.6}
% Einzelne Abbildungen nicht auf leerer Seite zentrieren.
\expandafter\setlength\csname @fptop\endcsname{0pt}
\emergencystretch=3em %
\hfuzz=2pt % --> \overfullrule
%\RequirePackage{titlepage}
%\TitlePageStyle[Optionen]{TU-Dresden}
\renewcommand*\next@tdpage{% mieser Hack; besser machen!
\null\vskip -1.5cm %
}
\AtBeginDocument{%
\@ifpackageloaded{hyperref}{%
\RequirePackage{bookmark}%
}{}%
}
\RequirePackage{shortvrb}
\MakeShortVerb{\|}
\RequirePackage[neverdecrease]{paralist}
\newcommand*\vl@begin@list[1]{%
\@ovxx=\parindent
\@ovyy=\parskip
\@nameuse{#1}%
\parindent=\@ovxx
\parskip=\@ovyy
}
\def\enumerate{%
\vl@begin@list{compactenum}%
}
\def\itemize{%
\vl@begin@list{compactitem}%
}
\def\description{%
\vl@begin@list{compactdesc}%
}
\let\enditemize\endcompactitem
\let\endenumerate\endcompactenum
\let\enddescription\endcompactdesc
\pltopsep=\medskipamount
\plitemsep=\medskipamount
\renewenvironment{titlepage}{%
\cleardoublepage
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse\newpage
\fi
\thispagestyle{empty}%
\if@compatibility \setcounter{page}{0}\fi
\addmargin[\dimexpr-\oddsidemargin-1in]{\dimexpr-\evensidemargin-1in}%
\vspace*{\dimexpr-\topmargin-1in-\headheight-\headsep-\topskip}
\enlargethispage{\dimexpr\paperheight-\topmargin-\headheight
-\headsep-\textheight-\footskip-2\baselineskip}%
}{%
\endaddmargin
\if@restonecol\twocolumn \else \newpage \fi
}%
\endinput
%%
%% End of file `vl-report.cls'.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment