From 707a35c0418c756f9d5bb9ce628107ffbaaa09cd Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 12 Apr 2017 21:08:50 +0000 Subject: komacv (12apr17) git-svn-id: svn://tug.org/texlive/trunk@43766 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/komacv/komacv-casual.sty | 45 ++++-- .../texmf-dist/tex/latex/komacv/komacv-classic.sty | 52 +++++-- .../tex/latex/komacv/komacv-oldstyle.sty | 32 +++-- Master/texmf-dist/tex/latex/komacv/komacv.cls | 151 ++++++++++++--------- 4 files changed, 186 insertions(+), 94 deletions(-) (limited to 'Master/texmf-dist/tex/latex/komacv') diff --git a/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty b/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty index 0e0e1abb134..78e9e35da94 100644 --- a/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty +++ b/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2014 by Salome Södergran (salome.soedergran@gmx.ch) +%% Copyright (C) 2014-2017 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,19 +22,21 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{komacv-casual} - [2014/08/10 v1.0.1 style package for komacv class] + [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} + \addtokomafont{firstnamefont}{\sffamily\fontsize{38}{40}} \addtokomafont{acadtitlefont}{\sffamily} \addtokomafont{addressfont}{\sffamily\small} \addtokomafont{hintfont}{\sffamily} \newsavebox\@fboxa \newsavebox\@fboxb -\newcommand*\@sboxa[1]{\sbox\@fboxa{#1}} -\newcommand*\@sboxb[1]{\sbox\@fboxb{#1}} -\newcommand*\@uboxa{\usebox\@fboxa} -\newcommand*\@uboxb{\usebox\@fboxb} -\newcommand*\@flushf{\strut\@uboxa\@sboxa{}\@sboxb{}} -\newcommand*\addtofooter[2][\@fsymbol]{% +\providecommand*\@sboxa[1]{\sbox\@fboxa{#1}} +\providecommand*\@sboxb[1]{\sbox\@fboxb{#1}} +\providecommand*\@uboxa{\usebox\@fboxa} +\providecommand*\@uboxb{\usebox\@fboxb} +\providecommand*\@flushf{\strut\@uboxa\@sboxa{}\@sboxb{}} +\providecommand*\addtofooter[2][\@fsymbol]{% \@sboxb{\@uboxa{}#1#2}% \settowidth\@fboxwidth{\@uboxb}% \ifdimgreater{\@footerwidth}{\@fboxwidth}{% @@ -54,7 +56,7 @@ \hspace*{\fill}% \parbox{\@footerwidth}{% \centering% - \color{@addresscolor}\usekomafont{addressfont}% + \color{@addresscolor}\usefonttokomafont{addressfont}% \ifdefempty{\addressstreet}{}{% \addtofooter[]{\@addresssymbol\addressstreet}% \ifdefempty{\addresscity}{}{% @@ -98,14 +100,14 @@ \usebox{\@picbox}% \hspace*{\@titlesepwidth}% \parbox[b]{\@titlenamewidth}{% - \raggedleft{\firstnamestyle\firstname}% + \RaggedLeft{\firstnamestyle\firstname}% ~{\familynamestyle\familyname}\\ - \raggedleft\color{@firstnamecolor}\rule{\@titlenamewidth}{.25ex}\par + \RaggedLeft\color{@firstnamecolor}\rule{\@titlenamewidth}{.25ex}\par }% end parbox \vspace{\@aftertitlevspace} %% optional acadtitle \ifdefempty{\acadtitle}{}{% - \raggedleft\acadtitlestyle{\acadtitle}}\\[2.5em]% + \RaggedLeft\acadtitlestyle{\acadtitle}}\\[2.5em]% %% optional quote \ifdefempty{\cvquote}{}{% {\centering @@ -119,8 +121,23 @@ \AtBeginDocument{% \thispagestyle{footer} } % end \AtBeginDocument -\renewcommand{\section}[1]{\@cvbarsection{#1}} -\renewcommand{\subsection}[1]{\@cvbarsubsection{#1}} +\setcounter{secnumdepth}{1} + +\RedeclareSectionCommand + [ + beforeskip=\@beforesecvspace, + afterskip=\@aftersecvspace, + font=\color{@seccolor} + ]{section} +\renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}} + + \RedeclareSectionCommand + [ + beforeskip=\@beforesecvspace, + afterskip=\@aftersecvspace, + indent=\dimexpr\@sepcolwidth+\@hintscolwidth, + font={\normalfont\color{@subseccolor}} + ]{subsection} \endinput %% %% End of file `komacv-casual.sty'. diff --git a/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty b/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty index 4aca991b998..e6b4498e450 100644 --- a/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty +++ b/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2014 by Salome Södergran (salome.soedergran@gmx.ch) +%% Copyright (C) 2014-2017 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,7 +22,9 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{komacv-classic} - [2014/08/10 v1.0.1 style package for komacv class] + [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} + \addtokomafont{firstnamefont}{\sffamily} \addtokomafont{acadtitlefont}{\sffamily} \addtokomafont{addressfont}{\sffamily} @@ -36,9 +38,15 @@ \setlength\@mframepicshift{\mframepicshift} } } % end \AtBeginDocument +\AtEndPreamble{% + \ifdimequal{\titlenamemaxwidth}{0pt}{% +\setlength{\@titlenamemaxwidth}{.525\textwidth} +}{ +\setlength\@titlenamemaxwidth{\titlenamemaxwidth} +} +} \providecommand\@cvtitleclassic{% %% set \cs{@titlenamemaxwidth| to the full name length, capped by \cs{@titlenamemaxwidth| -\setlength{\@titlenamemaxwidth}{.525\textwidth} \settowidth{\@titlenamefullwidth}{\firstnamestyle{\firstname~}\familynamestyle{\familyname}} \ifdimless{\@titlenamemaxwidth}{\@titlenamefullwidth}{% \setlength{\@titlenamewidth}{\@titlenamemaxwidth} @@ -57,15 +65,24 @@ }% }% % name and title - \begin{minipage}[b]{\@titlenamewidth}% +\ifdefstring{\headlinetype}{none}{% +}{ + \begin{center} + \headlinestyle{\@headlinecontent}\par\bigskip + \end{center} +} +\begin{minipage}[b]{\@titlenamewidth}% + \RaggedRight + \ifdefstring{\headlinetype}{name}{\hfill\mbox{}}{% \firstnamestyle{\firstname}\ % \familynamestyle{\familyname}% \ifdefempty{\acadtitle}{}{% - \\[1.25em]\acadtitlestyle{\acadtitle}}% - \end{minipage}% + \par\bigskip\acadtitlestyle{\acadtitle}}% + } +\end{minipage}% % optional data \begin{minipage}[b]{\@titledetailswidth}% - \raggedleft%\addressstyle{% + \RaggedLeft\addressstyle{% \ifdefempty{\addressstreet}{}{% \@titledetailsnewline% \@addresssymbol\addressstreet% @@ -83,7 +100,7 @@ \@titledetailsnewline\@homepagesymbol\httplink{\homepage}}% \ifdefempty{\extrainfo}{}{% \@titledetailsnewline\extrainfo}% - %}% + }% \end{minipage}% % optional photo \ifundef{\@photoname}{}{% with picture: @@ -108,8 +125,23 @@ \end{minipage}\\[\@afterquotevspace]% }% } -\renewcommand*{\section}[1]{\@cvbarsection{#1}} -\renewcommand{\subsection}[1]{\@cvbarsubsection{#1}} +\setcounter{secnumdepth}{1} + +\RedeclareSectionCommand + [ + beforeskip=\@beforesecvspace, + afterskip=\@aftersecvspace, + font=\color{@seccolor} + ]{section} +\renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}} + + \RedeclareSectionCommand + [ + beforeskip=\@beforesecvspace, + afterskip=\@aftersecvspace, + indent=\dimexpr\@sepcolwidth+\@hintscolwidth, + font={\normalfont\color{@subseccolor}} + ]{subsection} \endinput %% %% End of file `komacv-classic.sty'. diff --git a/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty b/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty index c749a59a64d..ea85fbeeed8 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 by Salome Södergran (salome.soedergran@gmx.ch) +%% Copyright (C) 2014-2017 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,7 +22,9 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{komacv-oldstyle} - [2014/08/10 v1.0.1 style package for komacv class] + [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} + \KOMAoptions{DIV=15} \setlength{\hintscolwidth}{3cm} \addtokomafont{addressfont}{\small} @@ -65,10 +67,10 @@ \savebox{\@infobox}{% \parbox[b]{\@infocolwidth}{% % put the first line on the same baseline as the first sectiontitle: - {\usekomafont{section} + {\usefonttokomafont{section} \vspace*{1.6ex} } - \raggedleft\addressstyle{% + \RaggedLeft\addressstyle{% \@infocontent% } }% end parbox @@ -128,14 +130,28 @@ \AtEndDocument{% \end{addmargin} } -\renewcommand{\section}[1]{\@cvsimplesection{#1}} -\renewcommand{\subsection}[1]{\@cvsimplesubsection{#1}} +\setcounter{secnumdepth}{0} + + \RedeclareSectionCommand + [ + beforeskip=\@beforesecvspace, + afterskip=\@aftersecvspace, + indent=\dimexpr\@sepcolwidth+\@hintscolwidth, + font=\color{@seccolor} + ]{section} + + \RedeclareSectionCommand + [ + beforeskip=\@beforesecvspace, + afterskip=\@aftersecvspace, + font=\color{@subseccolor} + ]{subsection} \renewcommand*{\cvitem}[3][\@afterelementsvspace]{% \begin{tabular}{% @{}p{\@maincolwidth}% @{\hspace{\@sepcolwidth}}p{\@hintscolwidth}@{}% }% - {#3} & \raggedright\hintstyle{#2}% + {#3} & \RaggedRight\hintstyle{#2}% \end{tabular}\\[#1]% } @@ -144,7 +160,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}% diff --git a/Master/texmf-dist/tex/latex/komacv/komacv.cls b/Master/texmf-dist/tex/latex/komacv/komacv.cls index 668cf075401..0fa92a0dbdc 100644 --- a/Master/texmf-dist/tex/latex/komacv/komacv.cls +++ b/Master/texmf-dist/tex/latex/komacv/komacv.cls @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2014 by Salome Södergran (salome.soedergran@gmx.ch) +%% Copyright (C) 2014-2017 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,7 +22,9 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{komacv} - [2014/08/10 v1.0.1 komacv class] + [2017/04/12 v1.1 komacv class] +\changes{v1.1}{2017/04/12}{New macro headline, and new correspondent elements headlinestyle, headlinecolor, headlinefont} + \providecommand*\mycolor{blue} \RequirePackage{ifthen,kvoptions,calc} \SetupKeyvalOptions{% @@ -43,7 +45,7 @@ setkeys=\kvsetkeys% ifpdf,% ifluatex,% ifxetex,% - scrpage2,% + scrlayer-scrpage,% marvosym,% array,% graphicx,% @@ -51,11 +53,15 @@ setkeys=\kvsetkeys% enumitem, hyperref% } +\RequirePackage[raggedrightboxes]{ragged2e} \definecolor{myblue}{rgb}{0.2,0.3,0.65} \colorlet{mycolor}{myblue} \AtEndPreamble{% \renewcommand*\mycolor{\komacv@color} \colorlet{colortheme}{\mycolor}% specified in documentclass option + \@ifundefinedcolor{headlinecolor}{% + \colorlet{@headlinecolor}{black}}{% + \colorlet{@headlinecolor}{headlinecolor}} \@ifundefinedcolor{firstnamecolor}{% \colorlet{@firstnamecolor}{black}}{% \colorlet{@firstnamecolor}{firstnamecolor}} @@ -96,8 +102,9 @@ setkeys=\kvsetkeys% \RequirePackage[utf8]{inputenc} \RequirePackage[T1]{fontenc}% } -\newkomafont{firstnamefont}{\fontsize{34}{36}\mdseries\upshape} -\newkomafont{familynamefont}{\usekomafont{firstnamefont}} +\newkomafont{headlinefont}{\fontsize{30}{32}\mdseries\upshape} +\newkomafont{firstnamefont}{\Huge\mdseries\upshape} +\newkomafont{familynamefont}{\usefonttokomafont{firstnamefont}} \newkomafont{acadtitlefont}{\LARGE\mdseries\itshape} \newkomafont{addressfont}{\normalsize\mdseries\itshape} \newkomafont{quotefont}{\large\itshape} @@ -149,6 +156,8 @@ setkeys=\kvsetkeys% \newlength\@commentlength \newlength\@titlenamewidth \newlength\@titlenamemaxwidth +\newlength\titlenamemaxwidth +\setlength\titlenamemaxwidth{0pt} \newlength\@titlenamefullwidth \newlength\@titledetailswidth \newlength\@infocolwidth @@ -228,10 +237,10 @@ setkeys=\kvsetkeys% % listitem \ifdimequal{\listitemsymbolwidth}{0pt}{% \settowidth{\@listitemsymbolwidth}{\listitemsymbol{}~}% - \setlength{\@listitemmaincolwidth}{\@maincolwidth-\@listitemsymbolwidth}% }{% \setlength{\@listitemsymbolwidth}{\listitemsymbolwidth}% } + \setlength{\@listitemmaincolwidth}{\@maincolwidth-\@listitemsymbolwidth}% % listdoubleitem \ifdimequal{\listdbitemmaincolwidth}{0pt}{% @@ -239,6 +248,7 @@ setkeys=\kvsetkeys% \setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% % }{% \setlength{\@listdbitemmaincolwidth}{\listdbitemmaincolwidth}% + \setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% % } % quote @@ -312,6 +322,7 @@ setkeys=\kvsetkeys% \setlength{\@aftersubsecvspace}{\aftersubsecvspace}% } } % end AtEndPreamble +\changes{v1.1}{2017/04/12}{Added macros and symbols for social media} \providecommand*\@addresssymbol{} \providecommand*\addresssymbol{} \providecommand*\@mobilesymbol{\Mobilefone~} @@ -324,6 +335,14 @@ setkeys=\kvsetkeys% \providecommand*\emailsymbol{} \providecommand*\@homepagesymbol{} \providecommand*\homepagesymbol{} +\providecommand*\@twittersymbol{\faTwitter~} +\providecommand*\twittersymbol{} +\providecommand*\@githubsymbol{\faGithub~} +\providecommand*\githubsymbol{} +\providecommand*\@facebooksymbol{\faFacebook~} +\providecommand*\facebooksymbol{} +\providecommand*\@linkedinsymbol{\faLinkedin~} +\providecommand*\linkedinsymbol{} \providecommand*\@fsymbol{~~~\textbullet~~~} \providecommand*\fsymbol{} \providecommand*\@listitemsymbol{\textcolor{colortheme}{\Neutral}~} @@ -347,6 +366,18 @@ setkeys=\kvsetkeys% } \ifdefempty{\homepagesymbol}{}{% \renewcommand*\@homepagesymbol{\homepagesymbol} +} + \ifdefempty{\twittersymbol}{}{% +\renewcommand*\@twittersymbol{\twittersymbol} +} + \ifdefempty{\githubsymbol}{}{% +\renewcommand*\@githubsymbol{\githubsymbol} +} + \ifdefempty{\facebooksymbol}{}{% +\renewcommand*\@facebooksymbol{\facebooksymbol} +} + \ifdefempty{\linkedinsymbol}{}{% +\renewcommand*\@linkedinesymbol{\linkedinsymbol} } \ifdefempty{\fsymbol}{}{% \renewcommand*\@fsymbol{\fsymbol} @@ -393,6 +424,27 @@ setkeys=\kvsetkeys% \providecommand{\@photoframe}{#1}% \setlength{\@photowidth}{#2}% \providecommand{\@photoname}{#3}} +\providecommand\headlinetype{none} +\providecommand\@headlinecontent{} +\providecommand\headlinecontent{} +\providecommand\headline[2]{\renewcommand\headlinecontent{#1}\renewcommand\headlinetype{#2}} + +\AtEndPreamble{% + \ifdefstring{\headlinetype}{name}{% + \ifdefempty{\headlinecontent}{% + \renewcommand*\@headlinecontent{\firstnamestyle{\firstname}\ \familynamestyle{\familyname} + \ifdefempty{\acadtitle}{}{% + \par\bigskip\acadtitlestyle{\acadtitle}}% + }}{% + \renewcommand*\@headlinecontent{\headlinecontent} + }}{} + \ifdefstring{\headlinetype}{title}{% + \ifdefempty{\headlinecontent}{% +\renewcommand*\@headlinecontent{\headlinestyle{Curriculum Vitae}} + }{% + \renewcommand*\@headlinecontent{\headlinecontent} + }}{} +} \newif\if@firstdetailselement\@firstdetailselementtrue \providecommand*{\@titledetailsnewline}{ \if@firstdetailselement% @@ -404,38 +456,41 @@ setkeys=\kvsetkeys% \renewcommand\maketitle{\csexpandonce{@cvtitle\komacv@style}} \RequirePackage{lastpage} \providecommand*{\totalpagemark}{% page and pagetotal -\usekomafont{pagenumber}\pageref{LastPage}% +\usefonttokomafont{pagenumber}\pageref{LastPage}% } - \newcommand*{\firstnamestyle}[1]{{% - \usekomafont{firstnamefont}% +\providecommand*\headlinestyle[1]{{% + \usefontofkomafont{headlinefont}% + \textcolor{@headlinecolor}{#1}}} + \providecommand*{\firstnamestyle}[1]{{% + \usefonttokomafont{firstnamefont}% \textcolor{@firstnamecolor}{#1}}} - \newcommand*{\familynamestyle}[1]{{% - \usekomafont{familynamefont}% + \providecommand*{\familynamestyle}[1]{{% + \usefonttokomafont{familynamefont}% \textcolor{@familynamecolor}{#1}}} - \newcommand*{\acadtitlestyle}[1]{{% - \usekomafont{acadtitlefont}% + \providecommand*{\acadtitlestyle}[1]{{% + \usefonttokomafont{acadtitlefont}% \textcolor{@acadtitlecolor}{#1}}} - \newcommand*{\addressstyle}[1]{{% - \usekomafont{addressfont}% + \providecommand*{\addressstyle}[1]{{% + \usefonttokomafont{addressfont}% \textcolor{@addresscolor}{#1}}} - \newcommand*{\quotestyle}[1]{{% - \usekomafont{quotefont}% + \providecommand*{\quotestyle}[1]{{% + \usefonttokomafont{quotefont}% \textcolor{@quotecolor}{#1}}} - \newcommand*{\hintstyle}[1]{{% - \usekomafont{hintfont}% + \providecommand*{\hintstyle}[1]{{% + \usefonttokomafont{hintfont}% \textcolor{@hintcolor}{#1}}} - \newcommand*{\sectionstyle}[1]{% - \usekomafont{section}% + \providecommand*{\sectionstyle}[1]{% + \usefonttokomafont{section}% \textcolor{@seccolor}{#1}} - \newcommand*{\subsectionstyle}[1]{% - \usekomafont{subsection}% + \providecommand*{\subsectionstyle}[1]{% + \usefonttokomafont{subsection}% \textcolor{@subseccolor}{#1}} \providecommand*{\cvitem}[3][\@afterelementsvspace]{% \begin{tabular}{% @{}p{\@hintscolwidth}% @{\hspace{\@sepcolwidth}}p{\@maincolwidth}@{}% }% - \raggedleft\hintstyle{#2} &{#3}% + \RaggedLeft\hintstyle{#2} &{#3}% \end{tabular}\\[#1]% } \providecommand*{\cvdoubleitem}[5][\@afterelementsvspace]{% @@ -443,7 +498,7 @@ setkeys=\kvsetkeys% \begin{minipage}[t]{\@dbitemmaincolwidth}#3\end{minipage}% \hspace*{\@sepcolwidth}% \begin{minipage}[t]{\@hintscolwidth}% - \noindent\raggedleft\hintstyle{#4} + \noindent\RaggedLeft\hintstyle{#4} \end{minipage}% \hspace*{\@sepcolwidth}% \begin{minipage}[t]{\@dbitemmaincolwidth}% @@ -492,64 +547,36 @@ setkeys=\kvsetkeys% } \newbox{\@commentmainbox} \providecommand*{\cvitemwithcomment}[4][\@afterelementsvspace]{% - \savebox{\@commentmainbox}{{\usekomafont{commentmainfont}#3}}% + \savebox{\@commentmainbox}{{\usefonttokomafont{commentmainfont}#3}}% \settowidth\@commentmainlength{\usebox{\@commentmainbox}}% \setlength{\@commentlength}{% \@maincolwidth-\@sepcolwidth-\@commentmainlength% }% \cvitem[#1]{#2}{% \begin{minipage}[t]{\@commentmainlength}% - \usekomafont{commentmainfont} #3% + \usefonttokomafont{commentmainfont} #3% \end{minipage}% \hfill% \begin{minipage}[t]{\@commentlength}% - \raggedleft\usekomafont{commentfont} #4% + \RaggedLeft\usefonttokomafont{commentfont} #4% \end{minipage}% }% } \providecommand*{\link}[2][]{% \ifstrempty{#1}{% - \href{#2}{\usekomafont{linkfont}#2}}{% - \href{#2}{\usekomafont{linkfont}#1}}% + \href{#2}{\usefonttokomafont{linkfont}#2}}{% + \href{#2}{\usefonttokomafont{linkfont}#1}}% } \providecommand*{\httplink}[2][]{% \ifstrempty{#1}{% - \href{http://#2}{\usekomafont{httplinkfont}#2}}{% - \href{http://#2}{\usekomafont{httplinkfont}#1}}% + \href{http://#2}{\usefonttokomafont{httplinkfont}#2}}{% + \href{http://#2}{\usefonttokomafont{httplinkfont}#1}}% } \providecommand*{\emaillink}[2][]{% \ifstrempty{#1}{% - \href{mailto:#2}{\usekomafont{emaillinkfont}#2}}{% - \href{mailto:#2}{\usekomafont{emaillinkfont}#1}}% + \href{mailto:#2}{\usefonttokomafont{emaillinkfont}#2}}{% + \href{mailto:#2}{\usefonttokomafont{emaillinkfont}#1}}% } -\providecommand\origsection{} -\let\origsection\section -\providecommand\origsubsection{} -\let\origsubsection\subsection - -\providecommand\@cvsimplesection[1]{% - \origsection*{\sectionstyle{#1}} -} -\providecommand\@cvsimplesubsection[1]{% - \origsubsection*{\subsectionstyle{#1}} -} - -\providecommand\@cvbarsection[1]{% - \origsection*{ - \phantomsection{}% reset the anchor for hyperrefs - \addcontentsline{toc}{section}{#1}% - \cvitem[0pt]{% - \raggedleft\hintstyle{\color{@secbarcolor}% - \rule{\@hintscolwidth}{1ex}}% - }{\sectionstyle{#1}} - }% end origsection -} % end cvbarsection - -\providecommand\@cvbarsubsection[1]{% - \origsubsection*{ - \cvitem[0pt]{}{\subsectionstyle{#1}} - }% -} \hypersetup{ breaklinks, -- cgit v1.2.3