-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkarencv.cls
84 lines (80 loc) · 2.43 KB
/
karencv.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
%%
%% This is file `karencv.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% karencv.dtx (with options: `class')
%% This is a generated file.
%% Copyright (C) 2018 by Sebastian Ankargren
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3 of this license or (at your option) any later
%% version. The latest version of this license is in:
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesClass{karencv}
[2018/03/09 v0.1 Academic CV]
\DeclareOption*{\OptionNotUsed}
\ProcessOptions\relax
\LoadClass[12pt]{article}
\PassOptionsToPackage{a4paper, margin=1in}{geometry}
\RequirePackage{times}
\RequirePackage{calc}
\RequirePackage{fancyhdr}
\RequirePackage{color}
\RequirePackage{hyperref}
\RequirePackage{graphicx}
\RequirePackage{geometry}
\RequirePackage{enumitem}
\RequirePackage{titlesec}
\RequirePackage{url}%
\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\setlength{\parindent}{0in}
\pagestyle{fancy}
\rhead{\thepage}
\titleformat{name=\section}[hang]
{\normalsize \bfseries \scshape}
{}
{0em}
{\hspace{-0.4pt}\normalsize}
\titleformat{name=\subsection}[hang]
{\normalsize \bfseries}
{}
{0em}
{}
\titlespacing\subsection{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}
\definecolor{darkblue}{rgb}{0.0,0.0,0.3}
\hypersetup{colorlinks,breaklinks,
linkcolor=darkblue,urlcolor=darkblue,
anchorcolor=darkblue,citecolor=darkblue}
\urlstyle{same}
\providecommand*\emaillink[1]{\nolinkurl{#1}}
\providecommand*\email[1]{\href{mailto:#1}{\emaillink{#1}}}
\newcommand{\makecol}[3][0.07]{
\begin{minipage}[t]{#1\textwidth}
#2
\end{minipage}
\begin{minipage}[t]{\textwidth-#1\textwidth}
#3
\end{minipage}}
\newcommand{\forceindent}{\leavevmode{\parindent=1em\indent}}
\newcommand{\cvheader}[2][Curriculum vitae]{%
\thispagestyle{empty}%
\lhead{#2}%
\begin{minipage}[t]{\textwidth}{
\centering
{\large \bfseries #2}\\
#1\\[-0.15\baselineskip]%
\rule{\columnwidth}{1pt}}
\end{minipage}
}
\newlist{articlelist}{itemize}{3}
\setlist[articlelist]{label={},itemindent=-2em,leftmargin=2em,itemsep=-0.2em}
\newlist{reflist}{itemize}{3}
\setlist[reflist]{label={},leftmargin=0em}
\endinput
%%
%% End of file `karencv.cls'.