summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-17 22:26:24 +0000
committerKarl Berry <karl@freefriends.org>2017-04-17 22:26:24 +0000
commit73141e9a7897a597eeaa15107728bb7cf2879dbe (patch)
tree77d41ed16dfa75218e94cb86d48d1e780dbebe54 /Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
parentf0f5600c20467be8d19a1fc45b61463c26718ebe (diff)
komacv (17apr17)
git-svn-id: svn://tug.org/texlive/trunk@43902 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty')
-rw-r--r--Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty24
1 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty b/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
index ea85fbeeed8..c3159b4ecbd 100644
--- a/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
+++ b/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
@@ -22,15 +22,12 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{komacv-oldstyle}
- [2017/04/12 v1.1 style package for komacv class]
-\changes{v1.1}{2017/04/12}{New macro headline, and new correspondent elements headlinestyle, headlinecolor, headlinefont}
+ [2017/04/17 v1.1.1 style package for komacv class]
\KOMAoptions{DIV=15}
\setlength{\hintscolwidth}{3cm}
\addtokomafont{addressfont}{\small}
\addtokomafont{hintfont}{\bfseries}
-\setkomafont{section}{\Large\bfseries\upshape}
-\setkomafont{subsection}{\large\bfseries\itshape}
\colorlet{addresscolor}{gray}
\renewcommand*{\listitemsymbol}{\labelitemi~}
\renewcommand*{\addresssymbol}{}
@@ -58,6 +55,14 @@
\@titledetailsnewline\@emailsymbol\emaillink{\email}}%
\ifdefempty{\homepage}{}{%
\@titledetailsnewline\@homepagesymbol\httplink{\homepage}}%
+ \ifdefempty{\twitter}{}{%
+ \@titledetailsnewline\@twittersymbol~\twitter}%
+ \ifdefempty{\github}{}{%
+ \@titledetailsnewline\@githubsymbol~\github}%
+ \ifdefempty{\facebook}{}{%
+ \@titledetailsnewline\@facebooksymbol~\facebook}%
+ \ifdefempty{\linkedin}{}{%
+ \@titledetailsnewline\@linkedinsymbol~\linkedin}%
\ifdefempty{\extrainfo}{}{%
\@titledetailsnewline\extrainfo}%
} % end \@infocontent
@@ -67,10 +72,10 @@
\savebox{\@infobox}{%
\parbox[b]{\@infocolwidth}{%
% put the first line on the same baseline as the first sectiontitle:
- {\usefonttokomafont{section}
+ {\usefontofkomafont{section}
\vspace*{1.6ex}
}
- \RaggedLeft\addressstyle{%
+ \raggedleft\addressstyle{%
\@infocontent%
}
}% end parbox
@@ -136,15 +141,14 @@
[
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
- indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
- font=\color{@seccolor}
+ font=\color{@seccolor}\sectionfont
]{section}
\RedeclareSectionCommand
[
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
- font=\color{@subseccolor}
+ font=\color{@subseccolor}\subsectionfont
]{subsection}
\renewcommand*{\cvitem}[3][\@afterelementsvspace]{%
\begin{tabular}{%
@@ -160,7 +164,7 @@
\begin{minipage}[t]{\@dbitemmaincolwidth}#3\end{minipage}%
\hspace*{\@sepcolwidth}%
\begin{minipage}[t]{\@hintscolwidth}%
- \noindent\RaggedLeft\hintstyle{#2}
+ \noindent\raggedleft\hintstyle{#2}
\end{minipage}%
\hspace*{\@sepcolwidth}%
\begin{minipage}[t]{\@dbitemmaincolwidth}%