-
Notifications
You must be signed in to change notification settings - Fork 2
/
fa_orgmode_cv.sty
83 lines (69 loc) · 2.53 KB
/
fa_orgmode_cv.sty
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This LaTeX template could be used for emacs org-mode to create a
% resume more easily
%
% Author: Xu FaSheng <[email protected]>
%
% Version: 1.0 (2013-09-08)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
% Reference:
% https://github.com/punchagan/resume
% http://www.latextemplates.com/template/plasmati-graduate-cv
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% -------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
% -------------------------------------------------------------------
\ProvidesPackage{fa_orgmode_cv}
\usepackage{url}
\usepackage{calc}
\usepackage{parskip} % ignore paragraph prefix space
\usepackage{titlesec} % custom section
\usepackage{enumitem} % custom lists
\usepackage[big]{layaureo} % Margin formatting of the A4 page, an
% alternative to layaureo can be
% \usepackage{fullpage}
% To reduce the height of the top margin
% uncomment: \addtolength{\voffset}{-1.3cm}
%% Define Colors
\usepackage{color}
\usepackage{hyperref}
\definecolor{linkcolour}{rgb}{0,0.2,0.6}
\hypersetup{colorlinks,breaklinks, urlcolor=linkcolour,linkcolor=linkcolour}
\definecolor{sectionothercolor}{rgb}{1.00,0.65,0.20}
\definecolor{sectioncolor}{rgb}{0.35,0.45,0.55}
\pagestyle{empty} % Removes page numbering
%% Set all text's left skip
%% Config list
\usepackage{enumitem}
% -------------------------------------------------------------------
% REDEFINE COMMANDS
% -------------------------------------------------------------------
%% Redefine Title
\renewcommand*{\maketitle}{%
{
\raggedleft{\Huge \@title}\\[.5in]
}
}
%% Redefine Section Headings, etc.
\titleformat{\section} %command
{\Large\scshape\raggedright} %format
{} %prefix number label
{0em} %sep
{} %before
[\titlerule] %after
\titlespacing{\section}{0pt}{10pt}{5pt}
\titleformat{\subsection} %command
[leftmargin] %shape
{\normalsize\raggedleft} %format
{} %prefix number label
{0pt} %sep
{} %before
[] %after
\titlespacing{\subsection}
{0.15\textwidth}% max width of the title(for wrap/leftmargin shape)
{5pt}% vertical space before the title
{15pt}% separation between title and text