diff options
author | Karl Berry <karl@freefriends.org> | 2024-09-06 21:24:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-09-06 21:24:15 +0000 |
commit | 5df5f1fa72c0989c1285345514e33a839d454c03 (patch) | |
tree | 124ab4c3c00d3d4ded3c07d14fd1a90924fc00a8 /Master/texmf-dist/tex/latex/rub-kunstgeschichte | |
parent | d0ce9202532a4ea3a2fb226f2a4e4cd5cb6da465 (diff) |
rub-kunstgeschichte (6sep24)
git-svn-id: svn://tug.org/texlive/trunk@72213 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/rub-kunstgeschichte')
-rw-r--r-- | Master/texmf-dist/tex/latex/rub-kunstgeschichte/rub-kunstgeschichte.cls | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/rub-kunstgeschichte/rub-kunstgeschichte.cls b/Master/texmf-dist/tex/latex/rub-kunstgeschichte/rub-kunstgeschichte.cls index ce7e04a509a..55e34820747 100644 --- a/Master/texmf-dist/tex/latex/rub-kunstgeschichte/rub-kunstgeschichte.cls +++ b/Master/texmf-dist/tex/latex/rub-kunstgeschichte/rub-kunstgeschichte.cls @@ -30,9 +30,45 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesClass{rub-kunstgeschichte} - [2024-05-26 v0.1.0 RUB KGI class] + [2024-09-06 v0.2.0 RUB Kunstgeschichte class] +%% Class options +\DeclareKeys[rubkgi]{ + biblatex.store = \@rubkgi@biblatexOptions, + biblatex.usage = load +} +\DeclareKeys[rubkgi]{ + hyperref.code = \PassOptionsToPackage{#1}{hyperref}, + hyperref.usage = load +} +%% TeX switch to decide wether to load the parskip package +\newif\if@rubkgi@parskip +\@rubkgi@parskiptrue +\DeclareKeys[rubkgi]{ + parskip.if = @rubkgi@parskip, + parskip.usage = load, + noparskip.ifnot = @rubkgi@parskip, + noparskip.usage = load +} +\ProcessKeyOptions[rubkgi] %% Load base class with 12pt base font size \LoadClass[12pt]{article} +%% biblatex options +\PassOptionsToPackage{ + backend=biber, + singletitle=true, + autocite=footnote, + autopunct=false +}{biblatex} +%% biblatex-dw package +\PassOptionsToPackage{ + style=authortitle-dw, + firstfull=true, + addyear=true +}{biblatex} +%% pass biblatex class options along +\PassOptionsToPackage{\@rubkgi@biblatexOptions}{biblatex} +%% load biblatex +\RequirePackage{biblatex} %% Set 1.5 times line spacing \RequirePackage[onehalfspacing]{setspace} %% Set a4 paper size and margins @@ -40,6 +76,14 @@ a4paper, top=2cm,left=2cm,bottom=2cm,right=4cm ]{geometry} +%% Avoid paragraph indentation +\if@rubkgi@parskip + \RequirePackage{parskip} +\fi +%% Hyperref +\RequirePackage{hyperref} +\hypersetup{hidelinks=true} + \endinput %% %% End of file `rub-kunstgeschichte.cls'. |