summaryrefslogtreecommitdiff
path: root/tex/latex/kinote/kinote-cv.sty
blob: b7db096099de51d8493051b8c55528c41868faaa (plain)
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
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{kinote-cv}[2022/11/18 Kinote CV template]
\RequirePackage{kinote}

\pagestyle{empty}
\renewcommand{\maketitle}{}
\usepackage{Alegreya}
\usepackage[sfdefault]{AlegreyaSans}

\setlength{\parskip}{0.1em}

\geometry{
  top=1.5cm,
  bottom=2cm,
  left=2cm,
  right=2cm,
  headheight=0cm,
  %includehead,
  %includefoot,
  %heightrounded, % to avoid spurious underfull messages
}

\titleformat{\section}{\Large\color{kinoteBlue}}{}{1em}{{\color{kinoteBlue}\rule{1.5em}{0.65em}\hspace{0.5em}}}
%\titlespacing*{\section}{0pt}{0pt}{0pt}
\titlespacing*{\section}{0pt}{2ex plus 1ex minus .2ex}{1pt}
%\titlespacing*{\subsection}{0pt}{1.5ex plus 1ex minus .2ex}{0pt}
\titlespacing*{\subsection}{0pt}{2ex plus 1ex minus .2ex}{0pt}

\newenvironment{cvaddress}
{%
  \begin{minipage}[t]{0.68\linewidth}\vspace{0pt}%
    \begin{flushright}%
      \Huge\@title
    \end{flushright}%
  \end{minipage}%
  \begin{minipage}[t]{0.32\linewidth}\vspace{0pt}%
    \begin{flushright}\small%
    }{
    \end{flushright}
  \end{minipage}%
}

\newenvironment{cvline}{\vspace{-0.3em}\small> }{}