-
Notifications
You must be signed in to change notification settings - Fork 0
/
ifimaster.cls
39 lines (24 loc) · 907 Bytes
/
ifimaster.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
%% Identification part:
\NeedsTeXFormat{LaTeX2e}[1995/12/01] % Any version, really!
\ProvidesClass{ifimaster}[2013/11/25 v1.01 Ifi/UiO document class]
%% Initial code part:
%% Option declaration part:
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}
\ExecuteOptions{}
\ProcessOptions \relax
%% Base class load part:
\LoadClass[a4paper,11pt,twoside,openright]{report}
%% Adjustments:
\addtolength{\topmargin}{-1\baselineskip}
\addtolength{\textheight}{4\baselineskip}
\pretolerance = 2000
\tolerance = 5000 \hbadness = \tolerance
%% Required packages:
\IfFileExists{uiofont.sty}% Official text font (if installed)
{\RequirePackage{uiofont}}%
{\RequirePackage{mathpazo}}
%% Document parts:
\newcommand{\frontmatter}{\cleardoublepage \pagenumbering{roman}}
\newcommand{\mainmatter}{\cleardoublepage \pagenumbering{arabic}}
\newcommand{\backmatter}{\cleardoublepage}
\endinput