-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathre2o-poster.cls
More file actions
48 lines (38 loc) · 1.08 KB
/
re2o-poster.cls
File metadata and controls
48 lines (38 loc) · 1.08 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
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{re2o-poster}[Re2o Poster]
\RequirePackage{kvoptions}
\SetupKeyvalOptions{prefix=re@}
\DeclareStringOption{color}[cf0f23]
\DeclareStringOption{size}[12pt]
\DeclareStringOption{logo}[logo.png]
\ProcessKeyvalOptions*
\PassOptionsToClass{\re@size}{article}
\LoadClass[a4paper]{article}
\RequirePackage[table]{xcolor}
\RequirePackage[sfdefault,lf]{carlito}
\RequirePackage[margin=1.1cm,a4paper]{geometry}
\RequirePackage{ragged2e}
\RequirePackage{graphicx}
\RequirePackage{background}
\definecolor{MainColor}{HTML}{\re@color}
\pagestyle{empty}
\RaggedRight
\parskip=\re@size plus 4pt
\renewcommand{\labelenumi}{\Huge\color{MainColor}\bfseries \arabic{enumi} }
\renewcommand{\maketitle}{{\fontsize{40pt}{42pt}\bfseries\selectfont\color{MainColor}%
\makeatletter\@title\makeatother%
\par}}
\renewcommand{\emph}[1]{{\itshape\color{MainColor}\bfseries#1}}
\newcommand{\link}[1]{{\bfseries#1}}
\backgroundsetup{
scale=1,
color=black,
opacity=0.1,
angle=0,
placement=top,
vshift=1.9cm,
contents={%
\includegraphics[width=\paperwidth]{\re@logo}
}%
}
%\endinput