Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ptb-latex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
André Wählisch
ptb-latex
Commits
72e414a1
Commit
72e414a1
authored
6 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
Versionierung von "vl-report.cls"; "luximono" --> "AnonymousPro"
parent
e3a6e125
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vaclab-docs/vl-report-test.tex
+36
-0
36 additions, 0 deletions
vaclab-docs/vl-report-test.tex
vaclab-docs/vl-report.cls
+228
-0
228 additions, 0 deletions
vaclab-docs/vl-report.cls
with
264 additions
and
0 deletions
vaclab-docs/vl-report-test.tex
0 → 100644
+
36
−
0
View file @
72e414a1
%---------------------------
\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}
%---------------------------
This diff is collapsed.
Click to expand it.
vaclab-docs/vl-report.cls
0 → 100644
+
228
−
0
View file @
72e414a1
\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'.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment