-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjimouris-review.cls
More file actions
76 lines (60 loc) 路 1.49 KB
/
Copy pathjimouris-review.cls
File metadata and controls
76 lines (60 loc) 路 1.49 KB
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
\ProvidesClass{jimouris-review}[2017/03/18 Review]
\NeedsTeXFormat{LaTeX2e}
\DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{article}%
}
\ProcessOptions\relax
% \LoadClass[11pt]{article}
\LoadClass[12pt]{article}
%%%%%%%%%%
% Colors %
%%%%%%%%%%
\RequirePackage{xcolor}
\definecolor{gray}{HTML}{808080}
%%%%%%%%%
% Fonts %
%%%%%%%%%
\RequirePackage{fontspec}
\setmainfont[Path = fonts/,
BoldFont={Ubuntu-M.ttf},
ItalicFont={Ubuntu-LI.ttf},
BoldItalicFont={Ubuntu-BI.ttf}
]{Ubuntu-L.ttf}
%%%%%%%%%%
% Footer %
%%%%%%%%%%
\RequirePackage[parfill]{parskip}
\RequirePackage{fancyhdr}
\RequirePackage{lastpage}
\RequirePackage{hyperref}
\newcommand{\footer}[3]{%
\fancypagestyle{plain}{
\fancyhf{} % Clear header/footer
\renewcommand{\headrulewidth}{0pt}
\fancyfoot[L]{\Large {\color{gray}{#1}}}
\fancyfoot[C]{\Large {\color{gray}\href{mailto:#2}{#2}}}
\fancyfoot[R]{\large {\color{gray}{#3}}}
}
\pagestyle{plain}% Set page style to plain.
}
%%%%%%%%%%
% Header %
%%%%%%%%%%
\RequirePackage{titlesec}
\newcommand{\header}[1]{%
\makeatletter
\def\maketitle{%
\par{\Large{\hfil{Paper Review}\hfil}}%
\par\textbf{\Large{\hfil``#1''\hfil}}%
\par{}%%\vspace{-0.5cm}
}
\makeatother
\titlelabel{\thetitle. }
\titlespacing\section{0pt}{8pt}{0pt}
}
%%%%%%%%%%%%%%%%
% Enumerations %
%%%%%%%%%%%%%%%%
\RequirePackage{enumerate}
\RequirePackage[shortlabels]{enumitem}
\setlist[enumerate]{nosep, leftmargin=*}