-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlbrgeneric.cls
70 lines (56 loc) · 1.13 KB
/
lbrgeneric.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{lbrgeneric}[2020/04/16 Generic RPG Librarium document]
%%%
% Derive from class: Memoir
% http://texdoc.net/texmf-dist/doc/latex/memoir/memman.pdf
\DeclareOption{rgb}{\PassOptionsToPackage{rgb}{lbrcolor}}
\DeclareOption{cmyk}{\PassOptionsToPackage{rgb}{lbrcolor}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{memoir}}
\ProcessOptions\relax
% Default
\PassOptionsToClass{}{memoir}
\LoadClass{memoir}
%
%%%
%%%
% Memoir Class Page formatting
%
% Change line witdh to new font
\setlxvchars \setxlvchars
% 5mm binding tollerance
%\setbinding{5mm}
\settypeblocksize{600pt}{1.2\lxvchars}{*}
\setlrmargins{*}{*}{1}
\setulmargins{4cm}{*}{*}
\setheadfoot{2\onelineskip}{2\onelineskip}
\setmarginnotes{17pt}{3.5cm}{\onelineskip}
\checkandfixthelayout
%
%%%
%%%
% Language
\PassOptionsToPackage{english,ngerman}{babel}
\RequirePackage{babel}
\PassOptionsToPackage{german=quotes}{csquotes}
\RequirePackage{csquotes}
%
%%%
%%%
% Colors
\RequirePackage{lbrcolor}
%
%%%
%%%
% Fonts
\RequirePackage{lbrfonts}
%
%%%
%%%
% Metadata
\usepackage{hyperref}
%%%
%%%
% Grafikeinbindungen
\usepackage{graphicx}
%
%%%