summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/komacv/komacv-classic.sty')
-rw-r--r--Master/texmf-dist/tex/latex/komacv/komacv-classic.sty26
1 files changed, 19 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty b/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty
index e6b4498e450..da066d66084 100644
--- a/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty
+++ b/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty
@@ -22,8 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{komacv-classic}
- [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]
\addtokomafont{firstnamefont}{\sffamily}
\addtokomafont{acadtitlefont}{\sffamily}
@@ -58,11 +57,16 @@
\ifundef{\@photoname}{}{% else
\ifdefstring{\@photoframe}{frame}{%
\setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth-2\@fboxextra}
+ \setlength{\@titledetailswidth}{.99\@titledetailswidth} % avoid overfullbox warning
}{% else
\ifdefstring{\@photoframe}{mframe}{%
\setlength{\@titledetailswidth}{\@titledetailswidth-\@mframepicshift}%
- }{}%
-}%
+ \setlength{\@titledetailswidth}{.99\@titledetailswidth} % avoid overfullbox warning
+ }{% picture but no frame
+ \setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth}
+ \setlength{\@titledetailswidth}{.99\@titledetailswidth} % avoid overfullbox warning
+ }
+}
}%
% name and title
\ifdefstring{\headlinetype}{none}{%
@@ -82,7 +86,7 @@
\end{minipage}%
% optional data
\begin{minipage}[b]{\@titledetailswidth}%
- \RaggedLeft\addressstyle{%
+ \raggedleft\addressstyle{%
\ifdefempty{\addressstreet}{}{%
\@titledetailsnewline%
\@addresssymbol\addressstreet%
@@ -98,6 +102,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}%
}%
@@ -131,7 +143,7 @@
[
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
- font=\color{@seccolor}
+ font=\color{@seccolor}\sectionfont
]{section}
\renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}}
@@ -140,7 +152,7 @@
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
- font={\normalfont\color{@subseccolor}}
+ font=\color{@subseccolor}\subsectionfont
]{subsection}
\endinput
%%