summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hausarbeit-jura
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-26 22:05:28 +0000
committerKarl Berry <karl@freefriends.org>2016-04-26 22:05:28 +0000
commit4280e8cda1c6ec8813b64aceffb11e9d32567ca9 (patch)
treee2d210e4409a507513931694920c80c4d346ecc9 /Master/texmf-dist/tex/latex/hausarbeit-jura
parentcd762c3f398b48eae5392618c170bb689fc4f0ef (diff)
hausarbeit-jura (26apr16)
git-svn-id: svn://tug.org/texlive/trunk@40774 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hausarbeit-jura')
-rw-r--r--Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls36
1 files changed, 26 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls b/Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls
index c7bac1bad5e..8f43f5bfc64 100644
--- a/Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls
+++ b/Master/texmf-dist/tex/latex/hausarbeit-jura/hausarbeit-jura.cls
@@ -15,7 +15,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{hausarbeit-jura}
-[2016/04/04 v1.2 Eine Klasse für juristische Hausarbeiten (ao, ms)]
+[2016/04/25 v1.4 Eine Klasse für juristische Hausarbeiten (ao, ms)]
\RequirePackage{ifthen}
\DeclareOption{american}{%
\PassOptionsToPackage{american,ngerman}{babel}
@@ -89,17 +89,21 @@
\fi%
\RequirePackage{babel}
\RequirePackage{indentfirst}
+\RequirePackage{geometry}
\if@headline
- \RequirePackage[left=7cm,right=1cm,top=1cm,bottom=1.5cm,footskip=0.5cm,marginparwidth=5cm,verbose,includehead]{geometry}%
+ \geometry{left=7cm,right=1cm,top=1cm,bottom=1.5cm,footskip=0.5cm,marginparwidth=5cm,verbose,includehead}%
\else
- \RequirePackage[left=7cm,right=1cm,top=1cm,bottom=1.5cm,footskip=0.5cm,marginparwidth=5cm,verbose]{geometry}%
+ \geometry{left=7cm,right=1cm,top=1cm,bottom=1.5cm,footskip=0.5cm,marginparwidth=5cm,verbose}%
\fi%
+\savegeometry{pagemainmatter}
+\newgeometry{left=2cm,right=2cm,top=2cm,bottom=2cm}
+\savegeometry{pagefrontmatter}
\RequirePackage{ellipsis}
\RequirePackage[autostyle]{csquotes}
\defineshorthand{"`}{\openautoquote}
\defineshorthand{"'}{\closeautoquote}
-\usepackage{microtype}
-
+\RequirePackage[final,tracking=smallcaps,expansion=alltext,protrusion=true]{microtype}%
+\SetTracking{encoding=*,shape=sc}{50}%
\if@headline
\renewcommand{\SetJuboPagestyle}{%
\pagestyle{fancy}%
@@ -255,6 +259,13 @@
{\sectionbefore}%
{\sectionafter}%
{\normalfont\large\bfseries}}
+\renewcommand{\subsubsection}{\@startsection%
+ {subsubsection}%
+ {3}%
+ {\z@}%
+ {\sectionbefore}%
+ {\sectionafter}%
+ {\normalfont\normalsize\bfseries}}
\renewcommand{\subthreesection}{\@startsection%
{subthreesection}%
{4}%
@@ -306,7 +317,9 @@
%%%
\let\@ORIGfrontmatter\frontmatter
\renewcommand\frontmatter{\@ORIGfrontmatter%
-\newgeometry{left=2cm,right=2cm,top=2cm,bottom=2cm}%
+\loadgeometry{pagefrontmatter}%
+\onehalfspacing% muss nochmal gesetzt werden, da es sonst durch loadgeometry verloren geht
+\reversemarginpar% muss nochmal gesetzt werden, da es sonst durch loadgeometry verloren geht
\fancyfootoffset[RO]{0cm}%
\pagestyle{fancyplain}%
\if@headline\fancyheadoffset[L]{0pt}\fi}
@@ -314,7 +327,9 @@
\let\@ORIGmainmatter\mainmatter
\renewcommand\mainmatter{\@ORIGmainmatter%
-\restoregeometry%
+ \loadgeometry{pagemainmatter}%
+ \onehalfspacing%
+ \reversemarginpar%
\fancyfootoffset[RO,RE]{0cm}%
\if@headline\fancyheadoffset[L]{\marginparsep+\marginparwidth}\fi}
\renewcommand{\chapter}{%
@@ -326,6 +341,10 @@
\secdef\@chapter\@schapter%
}
+\newcommand{\setpg}[2][]{\setpgfront{#1}\setpgmain{#2}}
+\newcommand{\setpgmain}[1]{\newgeometry{#1}\savegeometry{pagemainmatter}}
+\newcommand{\setpgfront}[1]{\newgeometry{#1}\savegeometry{pagefrontmatter}}
+
%%% Kein § vor der Kapitelnummer; korrekte Abstände
\renewcommand{\make@jubo@chaptercomplete}{%
\if@chapterprefix%
@@ -450,11 +469,8 @@
\setlength{\marginparwidth}{.6\oddsidemargin}%
\addtolength{\marginparwidth}{1in}}
-\onehalfspacing
-
\let\frqq\glqq
\let\flqq\grqq
-\reversemarginpar
\tolerance 1414
\hbadness 1414
\emergencystretch 1.5em