summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-12 22:49:30 +0000
committerKarl Berry <karl@freefriends.org>2021-02-12 22:49:30 +0000
commit9575c4e6df227084d66a36e71471db99db1a9c9e (patch)
treef75b5ec990a940c66420b197216dbacf046f8799 /Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
parentf90c3545af4782ea5844735a3c8c30338b395521 (diff)
komacv (12feb21)
git-svn-id: svn://tug.org/texlive/trunk@57721 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.sty26
1 files changed, 12 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty b/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
index c3159b4ecbd..9ac80df6c01 100644
--- a/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
+++ b/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2014-2017 by Salome Södergran (salome.soedergran@gmx.ch)
+%% Copyright (C) 2014-2021 by Salome Södergran (salome.soedergran@gmx.ch)
%%
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.3 of this license
@@ -22,8 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{komacv-oldstyle}
- [2017/04/17 v1.1.1 style package for komacv class]
-
+ [2021/02/12 v1.1.2 style package for komacv class]
\KOMAoptions{DIV=15}
\setlength{\hintscolwidth}{3cm}
\addtokomafont{addressfont}{\small}
@@ -38,7 +37,6 @@
\renewcommand*{\homepagesymbol}{}
\setlength{\infocolwidth}{3.5cm}
\setlength{\sepinfocolwidth}{2em}
-
\providecommand\@infocontent{%
\ifdefempty{\addressstreet}{}{%
\@titledetailsnewline%
@@ -54,7 +52,10 @@
\ifdefempty{\email}{}{%
\@titledetailsnewline\@emailsymbol\emaillink{\email}}%
\ifdefempty{\homepage}{}{%
- \@titledetailsnewline\@homepagesymbol\httplink{\homepage}}%
+ \@titledetailsnewline\@homepagesymbol%
+ \IfSubStr{\homepage}{https}{%
+ \httpslink{\homepage}}{%
+ \httplink{\homepage}}}%
\ifdefempty{\twitter}{}{%
\@titledetailsnewline\@twittersymbol~\twitter}%
\ifdefempty{\github}{}{%
@@ -66,7 +67,6 @@
\ifdefempty{\extrainfo}{}{%
\@titledetailsnewline\extrainfo}%
} % end \@infocontent
-
\providecommand{\@makeinfo}{%
\newbox{\@infobox}%
\savebox{\@infobox}{%
@@ -89,7 +89,6 @@
\vspace*{-\parskip}%
\vspace*{-\@aftersecvspace}
}% end \providecommand \@makeinfo
-
\providecommand{\@cvtitleoldstyle}{%
% optional picture box
\newbox{\@picbox}
@@ -108,12 +107,15 @@
}% end ifundef photoname
}% end savebox picbox
\settowidth\@titlepicwidth{\usebox{\@picbox}}
- \setlength\@titlenamewidth{\textwidth-\@titlesepwidth-\@titlepicwidth}
+\setlength\@titlenamewidth{\textwidth-\@titlesepwidth-\@titlepicwidth}
+ \setheadlinetypetitle\par
\begin{minipage}[b]{\@titlenamewidth}%
+ \ifdefstring{\@headlinetype}{name}{\setheadlinetypename}{%
\firstnamestyle{\firstname}\ %
\familynamestyle{\familyname}%
\ifdefempty{\acadtitle}{}{%
\\[1.25em]\acadtitlestyle{\acadtitle}}%
+ }
\end{minipage}%
% optional photo
\usebox{\@picbox}%
@@ -131,23 +133,20 @@
\par
\begin{addmargin}[\komacvinfocolextrawidth]{0pt}
} % end \@cvtitleoldstyle
-
\AtEndDocument{%
\end{addmargin}
}
\setcounter{secnumdepth}{0}
-
\RedeclareSectionCommand
[
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
font=\color{@seccolor}\sectionfont
]{section}
-
\RedeclareSectionCommand
[
- beforeskip=\@beforesecvspace,
- afterskip=\@aftersecvspace,
+ beforeskip=\@beforesubsecvspace,
+ afterskip=\@aftersubsecvspace,
font=\color{@subseccolor}\subsectionfont
]{subsection}
\renewcommand*{\cvitem}[3][\@afterelementsvspace]{%
@@ -158,7 +157,6 @@
{#3} & \RaggedRight\hintstyle{#2}%
\end{tabular}\\[#1]%
}
-
\renewcommand*{\cvdoubleitem}[5][\@afterelementsvspace]{%
\cvitem[#1]{#4}{%
\begin{minipage}[t]{\@dbitemmaincolwidth}#3\end{minipage}%