-
Notifications
You must be signed in to change notification settings - Fork 0
/
me_article.cls
90 lines (77 loc) · 2.18 KB
/
me_article.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
% ===================================
% ========= CLASS DEFINITION =========
% ===================================
\ProvidesClass{me_article}[2011/12/13 Mathias Maciossek - Article]
\LoadClass[a4paper,11pt,titlepage]{article}
\ProcessOptions
% ===================================
% ============ PACKAGES ============
% ===================================
% Sth with font... ?
%\usepackage[T1]{fontenc}
% Hyperlinks and pdf stuff
\usepackage{hyperref}
% Use utf-8 encoding for foreign characters
\usepackage[utf8x]{inputenc}
% Setup for fullpage use
\usepackage{fullpage}
\usepackage{cite}
\usepackage{setspace}
% Running Headers and footers
\usepackage{fancyhdr}
% Surround parts of graphics with box
\usepackage{boxedminipage}
% Package for including code in the document
\usepackage{listings}
% If you want to generate a toc for each chapter (use with book)
\usepackage{minitoc}
% This is now the recommended way for checking for PDFLaTeX:
\usepackage{ifpdf}
% dunno
\usepackage{makeidx}
% for vmargins
\usepackage{vmargin}
% for tabluars
\usepackage{tabularx}
% for includepdf command
\usepackage{pdfpages}
%for appendix
\usepackage{appendix}
%for pictures parallel
\usepackage{subfigure}
%for eurosymbol
\usepackage{eurosym}
%\ifpdf
% \usepackage[pdftex]{graphicx} \else
\usepackage{graphicx} %\fi
% ===================================
% ============ SETTINGS =============
% ===================================
\hypersetup{
final=true, % final or draft
linkcolor=black,
citecolor=black,
urlcolor=black,
colorlinks=true, % color links in pdf
%bookmarks=true, % enable acrobat bookmarks
bookmarksnumbered=true, % display numbers in acrobat bookmarks
plainpages=false, % correct hyperlinks
%pdfpagelabels, % view TeX pagenumber in PDF reader
}
% Hurenkinder & Schusterjungen
\clubpenalty = 10000
\widowpenalty = 10000
\displaywidowpenalty = 10000
%\doublespacing
\onehalfspacing
%\singlespacing
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{2}
\usepackage{helvet}
% ===================================
% ========= NEW COMMANDS ==========
% ===================================
\newcommand{\blankpage}{
\clearpage{\pagestyle{empty}\cleardoublepage}
}
% END OF CLASS