Skip to content

Commit

Permalink
added book header
Browse files Browse the repository at this point in the history
  • Loading branch information
georglauterbach authored Jul 28, 2023
1 parent bc78e6d commit b4f3643
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 3 deletions.
3 changes: 3 additions & 0 deletions include/02-generic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@

\newif\ifframesloaded%
\framesloadedfalse%

\newif\ifcolorsloaded%
\colorsloadedfalse%
27 changes: 27 additions & 0 deletions include/11-book.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
% ┌───────────────────────────────────────────────────────┐
% |
% ? | Settings specifically designed around the `book'
% ? | class.
% |
% └───────────────────────────────────────────────────────┘

% Provide an improved layout, which is close to the book class,
% but comes with smaller margins.
\newgeometry{
top=\dimexpr1in+22pt+14.5pt+19.8pt,% standard offset+topmargin+headheight+headsep
textheight=595pt,
footskip=27.5pt,
marginparwidth=106pt,
marginparsep=7pt,
columnsep=10pt,
outer=11em,
inner=9em,
}

\usepackage{chngcntr}
\counterwithout*{footnote}{chapter}

\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\renewcommand{\arraystretch}{1.3}
2 changes: 2 additions & 0 deletions include/23-colors.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
%
% └───────────────────────────────────────────────────────┘

\colorsloadedtrue%

% base colors

\definecolor{BaseBlack} {HTML} {000000}
Expand Down
2 changes: 1 addition & 1 deletion include/41-tikz.tex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
% https://www.mathcha.io/
\usepackage{tikz}

\usetikzlibrary{patterns}
\usetikzlibrary{patterns,decorations.pathmorphing}
4 changes: 2 additions & 2 deletions include/42-frames.tex
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
\mdtheorem[style=proof] {proof} [definition] {Proof}
\mdtheorem[style=example] {example} [definition] {Example}

\else
\else%

\mdtheorem[style=theorem] {satz} [definition] {Satz}
\mdtheorem[style=theorem] {korollar} [definition] {Korollar}
\mdtheorem[style=proof] {beweis} [definition] {Beweis}
\mdtheorem[style=example] {beispiel} [definition] {Beispiel}

\fi
\fi% \ifenglish

0 comments on commit b4f3643

Please sign in to comment.