diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty | 26 |
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}% |