summaryrefslogtreecommitdiff
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
parentf0f5600c20467be8d19a1fc45b61463c26718ebe (diff)
komacv (17apr17)
git-svn-id: svn://tug.org/texlive/trunk@43902 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/komacv/examples/komacv_example.pdfbin0 -> 122312 bytes
-rw-r--r--Master/texmf-dist/doc/latex/komacv/examples/komacv_example.tex40
-rw-r--r--Master/texmf-dist/doc/latex/komacv/examples/komacv_example_casual.pdfbin121808 -> 222056 bytes
-rw-r--r--Master/texmf-dist/doc/latex/komacv/examples/komacv_example_classic.pdfbin121722 -> 203366 bytes
-rw-r--r--Master/texmf-dist/doc/latex/komacv/examples/komacv_example_oldstyle.pdfbin115014 -> 218490 bytes
-rw-r--r--Master/texmf-dist/doc/latex/komacv/komacv.pdfbin304192 -> 187133 bytes
-rw-r--r--Master/texmf-dist/source/latex/komacv/komacv.dtx177
-rw-r--r--Master/texmf-dist/tex/latex/komacv/komacv-casual.sty23
-rw-r--r--Master/texmf-dist/tex/latex/komacv/komacv-classic.sty26
-rw-r--r--Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty24
-rw-r--r--Master/texmf-dist/tex/latex/komacv/komacv.cls79
11 files changed, 223 insertions, 146 deletions
diff --git a/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.pdf b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.pdf
new file mode 100644
index 00000000000..705d2a22c80
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.tex b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.tex
index 3e8dc81900f..d5bdb86df26 100644
--- a/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.tex
+++ b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.tex
@@ -1,15 +1,15 @@
-
-%%start of file `komacv_example.tex'; shows exemplarily the use of the komacv class
+%% start of file `komacv_example.tex'; shows exemplarily the use of the komacv class
%% (c) Copyright 2014-2017 Salome Södergran (salome.soedergran@gmx.ch)
%%
%% Test the flexibility of the class komacv by removing (or adding) the comment signs and changing the values. These are preset not as recommendations of good style but to make the effect as clear as possible!
%%
\documentclass[%
-xcolor=svgnames,%
+% xcolor=svgnames,%
% color=mycolor,%
% DIV=19,
+% fontsize=20,
% style=classic,% (default) OR
-% style=casual,% OR
+% style=casual,% !! remove linebreak in facebook definition (see personal data); OR
% style=oldstyle,%
% headline=name,%
]{komacv}
@@ -40,29 +40,28 @@ xcolor=svgnames,%
% \setlength\aftersecvspace{4\baselineskip}
% \setlength\beforesubsecvspace{3\baselineskip}
% \setlength\aftersubsecvspace{4\baselineskip}
+% \setlength\listitemsymbolwidth{1cm}
% ===========================
% COLORS
% ===========================
-%\xdefinecolor{mycolor}{cmyk}{0.92,0,0.87,0.09}
-%\colorlet{firstnamecolor}{blue}
-%\colorlet{familynamecolor}{red}
-%\colorlet{acadtitlecolor}{green}
-%\colorlet{addresscolor}{gray}
-%\colorlet{quotecolor}{pink}
-%\colorlet{framecolor}{yellow}
-%\colorlet{framebackcolor}{black}
-%\colorlet{secbarcolor}{firstnamecolor}
-%\colorlet{seccolor}{familynamecolor}
-%\colorlet{subseccolor}{pink!70!black}
-%\colorlet{hintcolor}{orange}
+% \xdefinecolor{mycolor}{cmyk}{0.92,0,0.87,0.09}
+% \colorlet{firstnamecolor}{blue}
+% \colorlet{familynamecolor}{red}
+% \colorlet{acadtitlecolor}{green}
+% \colorlet{addresscolor}{gray}
+% \colorlet{quotecolor}{pink}
+% \colorlet{framecolor}{yellow}
+% \colorlet{framebackcolor}{black}
+% \colorlet{secbarcolor}{firstnamecolor}
+% \colorlet{seccolor}{familynamecolor}
+% \colorlet{subseccolor}{pink!70!black}
+% \colorlet{hintcolor}{orange}
% ===========================
% FONTS
% ===========================
-\renewcommand*{\familydefault}{\sfdefault}% default font sans-serif
-
%% Fonts, for use with LuaLaTeX oder XeLaTeX
% \defaultfontfeatures{Renderer=Basic,Ligatures=TeX}
% \setmainfont[Numbers=OldStyle]{Palatino Linotype}
@@ -75,7 +74,7 @@ xcolor=svgnames,%
% \setkomafont{addressfont}{\scriptsize}
% \setkomafont{acadtitlefont}{\usekomafont{familynamefont}}
% \setkomafont{quotefont}{\ttfamily}
-% \setkomafont{section}{\Huge\rmfamily\slshape}
+% \addtokomafont{section}{\Huge\rmfamily\slshape}
% \addtokomafont{subsection}{\bfseries}
@@ -112,7 +111,8 @@ sorting=ydnt,%
\renewcommand*{\homepage}{www.jeyre.me.uk}
% \renewcommand*{\twitter}{twitter.com/janeeyre}
% \renewcommand*{\github}{github.com/janeeyre}
-\renewcommand*{\facebook}{facebook.com/jane.eyre}
+\renewcommand*{\facebook}{facebook.com/\\jane.eyre}
+% \renewcommand*{\facebook}{facebook.com/jane.eyre} % avoid linebreaks in casual style
% \renewcommand*{\linkedin}{https://uk.linkedin.com/pub/jane-eyre}
\renewcommand*{\extrainfo}{Some extra info}
% \renewcommand*{\cvquote}{\enquote{Convinced I grew that neither earth should perish, \\nor one of the souls it treasured.}} %p.373
diff --git a/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_casual.pdf b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_casual.pdf
index ac5a724f122..d6d88b2f25e 100644
--- a/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_casual.pdf
+++ b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_casual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_classic.pdf b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_classic.pdf
index 7db0bb315c1..2b05eb357e9 100644
--- a/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_classic.pdf
+++ b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_classic.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_oldstyle.pdf b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_oldstyle.pdf
index 81a3bbc2497..ed04079df7c 100644
--- a/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_oldstyle.pdf
+++ b/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_oldstyle.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/komacv/komacv.pdf b/Master/texmf-dist/doc/latex/komacv/komacv.pdf
index 6722dd50aea..141ecd61dc3 100644
--- a/Master/texmf-dist/doc/latex/komacv/komacv.pdf
+++ b/Master/texmf-dist/doc/latex/komacv/komacv.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/komacv/komacv.dtx b/Master/texmf-dist/source/latex/komacv/komacv.dtx
index 1ca12ce0fe3..05a4e86bc2c 100644
--- a/Master/texmf-dist/source/latex/komacv/komacv.dtx
+++ b/Master/texmf-dist/source/latex/komacv/komacv.dtx
@@ -25,19 +25,20 @@
%
% \iffalse
%<*driver>
-\ProvidesFile{komacv.dtx}[2017/04/12 v1.1 komacv class]
+\ProvidesFile{komacv.dtx}[2017/04/17 v1.1.1 komacv class]
%</driver>
%<class|classic|casual|oldstyle>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<class>\ProvidesClass{komacv}
-%<class> [2017/04/12 v1.1 komacv class]
+%<class> [2017/04/17 v1.1.1 komacv class]
%<classic>\ProvidesPackage{komacv-classic}
%<casual>\ProvidesPackage{komacv-casual}
%<oldstyle>\ProvidesPackage{komacv-oldstyle}
-%<classic|casual|oldstyle> [2017/04/12 v1.1 style package for komacv class]
+%<classic|casual|oldstyle> [2017/04/17 v1.1.1 style package for komacv class]
%<*driver>
\documentclass{ltxdoc}
% \AtBeginDocument{\OnlyDescription}
\EnableCrossrefs
+\CodelineIndex
\RecordChanges % Gather update information
\setcounter{IndexColumns}{2}
\makeatletter
@@ -63,10 +64,10 @@
\makeatletter
\renewcommand{\Describe@Macro}{\@ifstar\Describe@MacroStar\Describe@MacroStarNoStar}
\newcommand\Describe@MacroStar[1]{\endgroup
- \marginnote{\RaggedLeft\PrintDescribeMacro{#1}}%
+ \marginnote{\raggedleft\PrintDescribeMacro{#1}}%
\SpecialUsageIndex{#1}\@esphack\ignorespaces}
\newcommand\Describe@MacroNoStar[1]{\endgroup
- \marginpar{\RaggedLeft\PrintDescribeMacro{#1}}%
+ \marginpar{\raggedleft\PrintDescribeMacro{#1}}%
\SpecialUsageIndex{#1}\@esphack\ignorespaces}
\renewcommand{\DescribeMacro}{\@ifstar\DescribeMacroStar\DescribeMacroNoStar}
\newcommand\DescribeMacroStar{\leavevmode\@bsphack
@@ -117,6 +118,7 @@
% \changes{v1.0}{2014/08/06}{Initial version}
% \changes{v1.0.1}{2014/08/10}{Installation problem fixed}
% \changes{v1.1}{2017/04/12}{Option headline added; user length \texttt{titlenamemaxwidth}; behavior of sections and subsections improved; several bugfixes}
+% \changes{v1.1.1}{2017/04/17}{Typos in the documentation and minor bugs fixed}
%
% \GetFileInfo{komacv.dtx}
%
@@ -216,7 +218,7 @@
%
% \begin{macro}{\headline}
% With \cs{headline} you can set -- guess what? -- a headline for the whole document, either a title (like \enquote{Curriculum vitae}) or your name, which may come in handy if you have a very long name that is otherwise being displayed in an unsatisfying way.
-\changes{v1.1}{2017/04/12}{New macro headline, and new correspondent elements headlinestyle, headlinecolor, headlinefont}
+% \changes{v1.1}{2017/04/12}{New macro headline, and new correspondent elements headlinestyle, headlinecolor, headlinefont}
% \changes{v1.1}{2017/04/12}{Default font size changed, due to new font \texttt{headlinefont}}
% The optional argument sets the alignment (l=left, r=right, c=centered).
% \emph{Example:}
@@ -466,9 +468,11 @@
% \DescribeMacro*{subsection}
% |\addtokomafont{subsection}{\bfseries}|.
%
-% Switching to a sans-serif font as default is done in the usual \LaTeX\ way:
+% Switching to a sans-serif font as default is done in the usual \LaTeX\ way, e.\,g.
%
-% |\renewcommand*{\familydefault}{\sfdefault}|.
+% |\renewcommand\familydefault{\rmdefault}\normalfont|
+%
+% at the beginning of the document (not in the preamble!) This will change the font of some elements, though not all. Make use of the font definition macros for everything else.
%
% \subsection{Page number}
% \label{sub:page-number}
@@ -624,11 +628,8 @@
%
% For examples see the example files \mbox{\texttt{komacv\_example\_}\meta{style}\texttt{.pdf}} that come with this class. They should be located in the |doc|-directory of the tree where the class is stored. The example file \mbox{\texttt{komacv\_example.tex}} can be used to test the various possibilities |komacv| offers. Just remove (or add) comment signs and change the preset values.
%
-% \section{Bugs and things to do}
-%Further testing and use will certainly make some bugs crawl out from the dark in which they hide from me until now. If you encounter bugs, errors or typos, or if you have suggestions how to improve the |komacv| class and the style files, please do not hesitate to contact me at \texttt{salome.soedergran@gmx.ch}. I am thankful for any suggestions that help improving |komacv| though I dare not promise to be always very speedy in publishing a new version.
-%
%
-%\section{New CV styles}
+% \section{New CV styles}
% The flexibility of \mycls makes it fairly easy to create new CV styles. If you have created a CV style of your own and want to share it with others you have two possibilites:
%
% You can publish it on CTAN. Just make sure it will be installed in the |styles|-subdirectory of the |komacv|-directory (usually
@@ -636,11 +637,14 @@
%
% Or you can send it to me at \texttt{salome.soedergran@gmx.ch} and I will include it in the next version of |komacv|.
%
+% \section{Bugs, things to do, and maintenance}
+% Further testing and use will certainly make some bugs crawl out from the dark in which they hide from me until now. If you encounter bugs, errors or typos, or if you have suggestions how to improve the |komacv| class and the style files, please do not hesitate to contact me (in English or German) at \texttt{salome.soedergran@gmx.ch}. I am thankful for any suggestions that help improving |komacv| though I dare not promise to be always very speedy in publishing a new version. Computer stuff is something of rather low priority with me. So if you make a point of having bugs fixed as soon as possible I'd readily hand over the task of maintenance.
%
+%
%\section{Acknowledgements}
-% Many thanks to Ulrike Fischer, Alexander Kränzlein, Matthias C.~Schmidt, Damian Martinez Dreyer, and Sebastian Röder for their suggestions and help. I am also grateful to Andreas Bießmann, Simon Dreher, Paul Menzel and Dominik Waßenhoven who helped to improve the now obsolete |koma-moderncvlassic.sty|.
+% Many thanks to Ulrike Fischer, Alexander Kr\"anzlein, Matthias C.~Schmidt, Damian Martinez Dreyer, Wolfgang Witt, and Sebastian R\"oder for their suggestions and help. I am also grateful to Andreas Bie\ss{}mann, Simon Dreher, Paul Menzel and Dominik Wa\ss{}enhoven who helped to improve the (now obsolete) |koma-moderncvlassic.sty|.
+%
%
-%
% \StopEventually{\PrintIndex}
%
% \section{Implementation}
@@ -668,18 +672,17 @@ setkeys=\kvsetkeys%
\DeclareStringOption[mycolor]{color}[mycolor]
\DeclareStringOption[x11names]{xcolor}[x11names]
\DeclareStringOption[classic]{style}[classic]
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\DeclareDefaultOption{\PassOptionsToClass{\CurrentOption}{scrartcl}}
% \end{macrocode}
%
% \subsubsection*{Process Options}
% \begin{macrocode}
\ProcessKeyvalOptions{komacv} % evaluate keyval options
-\ProcessOptions\relax % execute given options
% \end{macrocode}
%
% \subsubsection*{Load class}
% \begin{macrocode}
-\LoadClass[a4paper,headings=normal,fontsize=11pt,headinclude,footinclude]{scrartcl}
+\LoadClass[a4paper,headings=normal,fontsize=11pt]{scrartcl}
% \end{macrocode}
%
%\subsubsection*{Packages}
@@ -694,6 +697,7 @@ setkeys=\kvsetkeys%
ifxetex,%
scrlayer-scrpage,%
marvosym,%
+ fontawesome,%
array,%
graphicx,%
microtype,%
@@ -701,6 +705,10 @@ setkeys=\kvsetkeys%
hyperref%
}
\RequirePackage[raggedrightboxes]{ragged2e}
+
+\AtEndPreamble{%
+ \renewcommand\familydefault{\sfdefault}% without this, pdflatex produces error messages; WHY?
+}
% \end{macrocode}
%
%\subsubsection*{Colors}
@@ -750,7 +758,7 @@ setkeys=\kvsetkeys%
% \end{macrocode}
%
%\subsubsection*{Encoding and Fonts}
-% \changes{v1.1}{2017/04/12}{\cs{usefonttokomafont} instead of \cs{usekomafont}, avoiding unintended side effects}
+% \changes{v1.1}{2017/04/12}{\cs{usefontofkomafont} instead of \cs{usekomafont}, avoiding unintended side effects}
% \begin{macrocode}
\ifboolexpr{bool{xetex} or bool{luatex}}{%
\RequirePackage{fontspec}%
@@ -760,7 +768,7 @@ setkeys=\kvsetkeys%
}
\newkomafont{headlinefont}{\fontsize{30}{32}\mdseries\upshape}
\newkomafont{firstnamefont}{\Huge\mdseries\upshape}
-\newkomafont{familynamefont}{\usefonttokomafont{firstnamefont}}
+\newkomafont{familynamefont}{\usefontofkomafont{firstnamefont}}
\newkomafont{acadtitlefont}{\LARGE\mdseries\itshape}
\newkomafont{addressfont}{\normalsize\mdseries\itshape}
\newkomafont{quotefont}{\large\itshape}
@@ -770,8 +778,10 @@ setkeys=\kvsetkeys%
\newkomafont{emaillinkfont}{}
\newkomafont{commentmainfont}{\bfseries} % in \cvitemwithcomment
\newkomafont{commentfont}{\footnotesize\itshape} % in \cvitemwithcomment
-\setkomafont{section}{\Large\sffamily\mdseries\upshape}
-\setkomafont{subsection}{\large\sffamily\mdseries\upshape}
+\providecommand\sectionfont{\Large\sffamily\mdseries\upshape}
+\providecommand\subsectionfont{\large\sffamily\mdseries\upshape}
+\setkomafont{section}{\sectionfont}
+\setkomafont{subsection}{\subsectionfont}
% \end{macrocode}
%
%\subsubsection*{Lengths}
@@ -986,7 +996,7 @@ setkeys=\kvsetkeys%
% \end{macrocode}
%
%\subsubsection*{Symbols}
-\changes{v1.1}{2017/04/12}{Added macros and symbols for social media}
+% \changes{v1.1}{2017/04/12}{Added macros and symbols for social media}
% \begin{macrocode}
\providecommand*\@addresssymbol{}
\providecommand*\addresssymbol{}
@@ -1069,6 +1079,10 @@ setkeys=\kvsetkeys%
\providecommand*{\faxnr}{}
\providecommand*{\email}{}
\providecommand*{\homepage}{}
+\providecommand*{\twitter}{}
+\providecommand*{\github}{}
+\providecommand*{\facebook}{}
+\providecommand*{\linkedin}{}
\providecommand*{\extrainfo}{}
\providecommand*{\cvquote}{}
% \end{macrocode}
@@ -1148,7 +1162,7 @@ setkeys=\kvsetkeys%
% \begin{macrocode}
\RequirePackage{lastpage}
\providecommand*{\totalpagemark}{% page and pagetotal
-\usefonttokomafont{pagenumber}\pageref{LastPage}%
+\usefontofkomafont{pagenumber}\pageref{LastPage}%
}
% \end{macrocode}
%
@@ -1158,28 +1172,28 @@ setkeys=\kvsetkeys%
\usefontofkomafont{headlinefont}%
\textcolor{@headlinecolor}{#1}}}
\providecommand*{\firstnamestyle}[1]{{%
- \usefonttokomafont{firstnamefont}%
+ \usefontofkomafont{firstnamefont}%
\textcolor{@firstnamecolor}{#1}}}
\providecommand*{\familynamestyle}[1]{{%
- \usefonttokomafont{familynamefont}%
+ \usefontofkomafont{familynamefont}%
\textcolor{@familynamecolor}{#1}}}
\providecommand*{\acadtitlestyle}[1]{{%
- \usefonttokomafont{acadtitlefont}%
+ \usefontofkomafont{acadtitlefont}%
\textcolor{@acadtitlecolor}{#1}}}
\providecommand*{\addressstyle}[1]{{%
- \usefonttokomafont{addressfont}%
+ \usefontofkomafont{addressfont}%
\textcolor{@addresscolor}{#1}}}
\providecommand*{\quotestyle}[1]{{%
- \usefonttokomafont{quotefont}%
+ \usefontofkomafont{quotefont}%
\textcolor{@quotecolor}{#1}}}
\providecommand*{\hintstyle}[1]{{%
- \usefonttokomafont{hintfont}%
+ \usefontofkomafont{hintfont}%
\textcolor{@hintcolor}{#1}}}
\providecommand*{\sectionstyle}[1]{%
- \usefonttokomafont{section}%
+ \usefontofkomafont{section}%
\textcolor{@seccolor}{#1}}
\providecommand*{\subsectionstyle}[1]{%
- \usefonttokomafont{subsection}%
+ \usefontofkomafont{subsection}%
\textcolor{@subseccolor}{#1}}
% \end{macrocode}
%
@@ -1190,10 +1204,10 @@ setkeys=\kvsetkeys%
% \begin{macrocode}
\providecommand*{\cvitem}[3][\@afterelementsvspace]{%
\begin{tabular}{%
- @{}p{\@hintscolwidth}%
+ @{}>{\raggedleft\arraybackslash}p{\@hintscolwidth}%
@{\hspace{\@sepcolwidth}}p{\@maincolwidth}@{}%
}%
- \RaggedLeft\hintstyle{#2} &{#3}%
+ \hintstyle{#2} & {#3}%
\end{tabular}\\[#1]%
}
% \end{macrocode}
@@ -1206,7 +1220,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}%
@@ -1222,7 +1236,8 @@ setkeys=\kvsetkeys%
\providecommand*{\cvlistitem}[2][\@afterelementsvspace]{%
\cvitem[#1]{}{%
\@listitemsymbol%
- \begin{minipage}[t]{\@listitemmaincolwidth}%
+ \hfill %
+ \begin{minipage}[t]{.95\@listitemmaincolwidth}%
#2%
\end{minipage}%
}%
@@ -1235,13 +1250,15 @@ setkeys=\kvsetkeys%
\providecommand*{\cvlistdoubleitem}[3][\@afterelementsvspace]{%
\cvitem[#1]{}{%
\@listitemsymbol%
- \begin{minipage}[t]{\@listdbitemmaincolwidth}%
+ \hfill %
+ \begin{minipage}[t]{.9\@listdbitemmaincolwidth}%
#2%
\end{minipage}%
- \hspace*{\@sepcolwidth}
+ \hspace*{.9\@sepcolwidth}
\ifstrempty{#3}{}{%
\@listitemsymbol%
- \begin{minipage}[t]{\@listdbitemmaincolwidth}%
+ \hfill %
+ \begin{minipage}[t]{.9\@listdbitemmaincolwidth}%
#3%
\end{minipage}
}%
@@ -1275,18 +1292,18 @@ setkeys=\kvsetkeys%
% \begin{macrocode}
\newbox{\@commentmainbox}
\providecommand*{\cvitemwithcomment}[4][\@afterelementsvspace]{%
- \savebox{\@commentmainbox}{{\usefonttokomafont{commentmainfont}#3}}%
+ \savebox{\@commentmainbox}{{\usefontofkomafont{commentmainfont} #3}}%
\settowidth\@commentmainlength{\usebox{\@commentmainbox}}%
\setlength{\@commentlength}{%
\@maincolwidth-\@sepcolwidth-\@commentmainlength%
}%
\cvitem[#1]{#2}{%
\begin{minipage}[t]{\@commentmainlength}%
- \usefonttokomafont{commentmainfont} #3%
+ \usefontofkomafont{commentmainfont} #3%
\end{minipage}%
\hfill%
\begin{minipage}[t]{\@commentlength}%
- \RaggedLeft\usefonttokomafont{commentfont} #4%
+ \raggedleft\usefontofkomafont{commentfont} #4%
\end{minipage}%
}%
}
@@ -1297,8 +1314,8 @@ setkeys=\kvsetkeys%
% \begin{macrocode}
\providecommand*{\link}[2][]{%
\ifstrempty{#1}{%
- \href{#2}{\usefonttokomafont{linkfont}#2}}{%
- \href{#2}{\usefonttokomafont{linkfont}#1}}%
+ \href{#2}{\usefontofkomafont{linkfont}#2}}{%
+ \href{#2}{\usefontofkomafont{linkfont}#1}}%
}
% \end{macrocode}
%
@@ -1307,8 +1324,8 @@ setkeys=\kvsetkeys%
% \begin{macrocode}
\providecommand*{\httplink}[2][]{%
\ifstrempty{#1}{%
- \href{http://#2}{\usefonttokomafont{httplinkfont}#2}}{%
- \href{http://#2}{\usefonttokomafont{httplinkfont}#1}}%
+ \href{http://#2}{\usefontofkomafont{httplinkfont}#2}}{%
+ \href{http://#2}{\usefontofkomafont{httplinkfont}#1}}%
}
% \end{macrocode}
%
@@ -1317,8 +1334,8 @@ setkeys=\kvsetkeys%
% \begin{macrocode}
\providecommand*{\emaillink}[2][]{%
\ifstrempty{#1}{%
- \href{mailto:#2}{\usefonttokomafont{emaillinkfont}#2}}{%
- \href{mailto:#2}{\usefonttokomafont{emaillinkfont}#1}}%
+ \href{mailto:#2}{\usefontofkomafont{emaillinkfont}#2}}{%
+ \href{mailto:#2}{\usefontofkomafont{emaillinkfont}#1}}%
}
% \end{macrocode}
%
@@ -1453,11 +1470,16 @@ setkeys=\kvsetkeys%
\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}{%
@@ -1477,7 +1499,7 @@ setkeys=\kvsetkeys%
\end{minipage}%
% optional data
\begin{minipage}[b]{\@titledetailswidth}%
- \RaggedLeft\addressstyle{%
+ \raggedleft\addressstyle{%
\ifdefempty{\addressstreet}{}{%
\@titledetailsnewline%
\@addresssymbol\addressstreet%
@@ -1493,6 +1515,14 @@ setkeys=\kvsetkeys%
\@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}%
}%
@@ -1531,7 +1561,7 @@ setkeys=\kvsetkeys%
[
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
- font=\color{@seccolor}
+ font=\color{@seccolor}\sectionfont
]{section}
\renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}}
@@ -1540,7 +1570,7 @@ setkeys=\kvsetkeys%
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
- font={\normalfont\color{@subseccolor}}
+ font=\color{@subseccolor}\subsectionfont
]{subsection}
% \end{macrocode}
%
@@ -1557,7 +1587,6 @@ setkeys=\kvsetkeys%
%
%\subsection{The \mysty{casual} style}
%\label{sec:style-casual}
-%
%\subsubsection*{Fonts}
% \begin{macrocode}
\addtokomafont{firstnamefont}{\sffamily\fontsize{38}{40}}
@@ -1595,7 +1624,7 @@ setkeys=\kvsetkeys%
\hspace*{\fill}%
\parbox{\@footerwidth}{%
\centering%
- \color{@addresscolor}\usefonttokomafont{addressfont}%
+ \color{@addresscolor}\usefontofkomafont{addressfont}%
\ifdefempty{\addressstreet}{}{%
\addtofooter[]{\@addresssymbol\addressstreet}%
\ifdefempty{\addresscity}{}{%
@@ -1610,6 +1639,14 @@ setkeys=\kvsetkeys%
\addtofooter{\@emailsymbol\emaillink{\email}}}
\ifdefempty{\homepage}{}{%
\addtofooter{\@homepagesymbol\httplink{\homepage}}}%
+ \ifdefempty{\twitter}{}{%
+ \addtofooter{\@twittersymbol\twitter}}%
+ \ifdefempty{\github}{}{%
+ \addtofooter{\@githubsymbol\github}}%
+ \ifdefempty{\facebook}{}{%
+ \addtofooter{\@facebooksymbol\facebook}}%
+ \ifdefempty{\linkedin}{}{%
+ \addtofooter{\@linkedinsymbol\linkedin}}%
\ifdefempty{\extrainfo}{}{%
\addtofooter{\extrainfo}}\@flushf%
}% Ende parbox
@@ -1643,14 +1680,14 @@ setkeys=\kvsetkeys%
\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
@@ -1674,7 +1711,7 @@ setkeys=\kvsetkeys%
[
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
- font=\color{@seccolor}
+ font=\color{@seccolor}\sectionfont
]{section}
\renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}}
@@ -1683,7 +1720,7 @@ setkeys=\kvsetkeys%
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
- font={\normalfont\color{@subseccolor}}
+ font=\color{@subseccolor}\subsectionfont
]{subsection}
% \end{macrocode}
%
@@ -1710,8 +1747,6 @@ setkeys=\kvsetkeys%
% \begin{macrocode}
\addtokomafont{addressfont}{\small}
\addtokomafont{hintfont}{\bfseries}
-\setkomafont{section}{\Large\bfseries\upshape}
-\setkomafont{subsection}{\large\bfseries\itshape}
% \end{macrocode}
%
%\subsubsection*{Colors}
@@ -1754,6 +1789,14 @@ setkeys=\kvsetkeys%
\@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
@@ -1763,10 +1806,10 @@ setkeys=\kvsetkeys%
\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
@@ -1837,15 +1880,14 @@ setkeys=\kvsetkeys%
[
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}
% \end{macrocode}
%
@@ -1866,7 +1908,7 @@ setkeys=\kvsetkeys%
\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}%
@@ -1879,6 +1921,7 @@ setkeys=\kvsetkeys%
%</oldstyle>
% \fi
%
+% \newpage
% \PrintChanges
% \newpage
% \PrintIndex
diff --git a/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty b/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty
index 78e9e35da94..4cb7f603807 100644
--- a/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty
+++ b/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty
@@ -22,8 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{komacv-casual}
- [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\fontsize{38}{40}}
\addtokomafont{acadtitlefont}{\sffamily}
@@ -56,7 +55,7 @@
\hspace*{\fill}%
\parbox{\@footerwidth}{%
\centering%
- \color{@addresscolor}\usefonttokomafont{addressfont}%
+ \color{@addresscolor}\usefontofkomafont{addressfont}%
\ifdefempty{\addressstreet}{}{%
\addtofooter[]{\@addresssymbol\addressstreet}%
\ifdefempty{\addresscity}{}{%
@@ -71,6 +70,14 @@
\addtofooter{\@emailsymbol\emaillink{\email}}}
\ifdefempty{\homepage}{}{%
\addtofooter{\@homepagesymbol\httplink{\homepage}}}%
+ \ifdefempty{\twitter}{}{%
+ \addtofooter{\@twittersymbol\twitter}}%
+ \ifdefempty{\github}{}{%
+ \addtofooter{\@githubsymbol\github}}%
+ \ifdefempty{\facebook}{}{%
+ \addtofooter{\@facebooksymbol\facebook}}%
+ \ifdefempty{\linkedin}{}{%
+ \addtofooter{\@linkedinsymbol\linkedin}}%
\ifdefempty{\extrainfo}{}{%
\addtofooter{\extrainfo}}\@flushf%
}% Ende parbox
@@ -100,14 +107,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
@@ -127,7 +134,7 @@
[
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
- font=\color{@seccolor}
+ font=\color{@seccolor}\sectionfont
]{section}
\renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}}
@@ -136,7 +143,7 @@
beforeskip=\@beforesecvspace,
afterskip=\@aftersecvspace,
indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
- font={\normalfont\color{@subseccolor}}
+ font=\color{@subseccolor}\subsectionfont
]{subsection}
\endinput
%%
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
%%
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}%
diff --git a/Master/texmf-dist/tex/latex/komacv/komacv.cls b/Master/texmf-dist/tex/latex/komacv/komacv.cls
index 0fa92a0dbdc..5e7eade0aa7 100644
--- a/Master/texmf-dist/tex/latex/komacv/komacv.cls
+++ b/Master/texmf-dist/tex/latex/komacv/komacv.cls
@@ -22,8 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{komacv}
- [2017/04/12 v1.1 komacv class]
-\changes{v1.1}{2017/04/12}{New macro headline, and new correspondent elements headlinestyle, headlinecolor, headlinefont}
+ [2017/04/17 v1.1.1 komacv class]
\providecommand*\mycolor{blue}
\RequirePackage{ifthen,kvoptions,calc}
@@ -35,10 +34,9 @@ setkeys=\kvsetkeys%
\DeclareStringOption[mycolor]{color}[mycolor]
\DeclareStringOption[x11names]{xcolor}[x11names]
\DeclareStringOption[classic]{style}[classic]
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\DeclareDefaultOption{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessKeyvalOptions{komacv} % evaluate keyval options
-\ProcessOptions\relax % execute given options
-\LoadClass[a4paper,headings=normal,fontsize=11pt,headinclude,footinclude]{scrartcl}
+\LoadClass[a4paper,headings=normal,fontsize=11pt]{scrartcl}
\RequirePackage[\komacv@xcolor]{xcolor}
\RequirePackage{%
etoolbox,%
@@ -47,6 +45,7 @@ setkeys=\kvsetkeys%
ifxetex,%
scrlayer-scrpage,%
marvosym,%
+ fontawesome,%
array,%
graphicx,%
microtype,%
@@ -54,6 +53,10 @@ setkeys=\kvsetkeys%
hyperref%
}
\RequirePackage[raggedrightboxes]{ragged2e}
+
+\AtEndPreamble{%
+ \renewcommand\familydefault{\sfdefault}% without this, pdflatex produces error messages; WHY?
+}
\definecolor{myblue}{rgb}{0.2,0.3,0.65}
\colorlet{mycolor}{myblue}
\AtEndPreamble{%
@@ -104,7 +107,7 @@ setkeys=\kvsetkeys%
}
\newkomafont{headlinefont}{\fontsize{30}{32}\mdseries\upshape}
\newkomafont{firstnamefont}{\Huge\mdseries\upshape}
-\newkomafont{familynamefont}{\usefonttokomafont{firstnamefont}}
+\newkomafont{familynamefont}{\usefontofkomafont{firstnamefont}}
\newkomafont{acadtitlefont}{\LARGE\mdseries\itshape}
\newkomafont{addressfont}{\normalsize\mdseries\itshape}
\newkomafont{quotefont}{\large\itshape}
@@ -114,8 +117,10 @@ setkeys=\kvsetkeys%
\newkomafont{emaillinkfont}{}
\newkomafont{commentmainfont}{\bfseries} % in \cvitemwithcomment
\newkomafont{commentfont}{\footnotesize\itshape} % in \cvitemwithcomment
-\setkomafont{section}{\Large\sffamily\mdseries\upshape}
-\setkomafont{subsection}{\large\sffamily\mdseries\upshape}
+\providecommand\sectionfont{\Large\sffamily\mdseries\upshape}
+\providecommand\subsectionfont{\large\sffamily\mdseries\upshape}
+\setkomafont{section}{\sectionfont}
+\setkomafont{subsection}{\subsectionfont}
\setlength\parindent{0pt}
\setlength\columnsep{10\p@}
\setlength\columnseprule{0\p@}
@@ -322,7 +327,6 @@ 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~}
@@ -399,6 +403,10 @@ setkeys=\kvsetkeys%
\providecommand*{\faxnr}{}
\providecommand*{\email}{}
\providecommand*{\homepage}{}
+\providecommand*{\twitter}{}
+\providecommand*{\github}{}
+\providecommand*{\facebook}{}
+\providecommand*{\linkedin}{}
\providecommand*{\extrainfo}{}
\providecommand*{\cvquote}{}
\newlist{compactitem}{itemize}{3}
@@ -456,41 +464,41 @@ setkeys=\kvsetkeys%
\renewcommand\maketitle{\csexpandonce{@cvtitle\komacv@style}}
\RequirePackage{lastpage}
\providecommand*{\totalpagemark}{% page and pagetotal
-\usefonttokomafont{pagenumber}\pageref{LastPage}%
+\usefontofkomafont{pagenumber}\pageref{LastPage}%
}
\providecommand*\headlinestyle[1]{{%
\usefontofkomafont{headlinefont}%
\textcolor{@headlinecolor}{#1}}}
\providecommand*{\firstnamestyle}[1]{{%
- \usefonttokomafont{firstnamefont}%
+ \usefontofkomafont{firstnamefont}%
\textcolor{@firstnamecolor}{#1}}}
\providecommand*{\familynamestyle}[1]{{%
- \usefonttokomafont{familynamefont}%
+ \usefontofkomafont{familynamefont}%
\textcolor{@familynamecolor}{#1}}}
\providecommand*{\acadtitlestyle}[1]{{%
- \usefonttokomafont{acadtitlefont}%
+ \usefontofkomafont{acadtitlefont}%
\textcolor{@acadtitlecolor}{#1}}}
\providecommand*{\addressstyle}[1]{{%
- \usefonttokomafont{addressfont}%
+ \usefontofkomafont{addressfont}%
\textcolor{@addresscolor}{#1}}}
\providecommand*{\quotestyle}[1]{{%
- \usefonttokomafont{quotefont}%
+ \usefontofkomafont{quotefont}%
\textcolor{@quotecolor}{#1}}}
\providecommand*{\hintstyle}[1]{{%
- \usefonttokomafont{hintfont}%
+ \usefontofkomafont{hintfont}%
\textcolor{@hintcolor}{#1}}}
\providecommand*{\sectionstyle}[1]{%
- \usefonttokomafont{section}%
+ \usefontofkomafont{section}%
\textcolor{@seccolor}{#1}}
\providecommand*{\subsectionstyle}[1]{%
- \usefonttokomafont{subsection}%
+ \usefontofkomafont{subsection}%
\textcolor{@subseccolor}{#1}}
\providecommand*{\cvitem}[3][\@afterelementsvspace]{%
\begin{tabular}{%
- @{}p{\@hintscolwidth}%
+ @{}>{\raggedleft\arraybackslash}p{\@hintscolwidth}%
@{\hspace{\@sepcolwidth}}p{\@maincolwidth}@{}%
}%
- \RaggedLeft\hintstyle{#2} &{#3}%
+ \hintstyle{#2} & {#3}%
\end{tabular}\\[#1]%
}
\providecommand*{\cvdoubleitem}[5][\@afterelementsvspace]{%
@@ -498,7 +506,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}%
@@ -509,7 +517,8 @@ setkeys=\kvsetkeys%
\providecommand*{\cvlistitem}[2][\@afterelementsvspace]{%
\cvitem[#1]{}{%
\@listitemsymbol%
- \begin{minipage}[t]{\@listitemmaincolwidth}%
+ \hfill %
+ \begin{minipage}[t]{.95\@listitemmaincolwidth}%
#2%
\end{minipage}%
}%
@@ -517,13 +526,15 @@ setkeys=\kvsetkeys%
\providecommand*{\cvlistdoubleitem}[3][\@afterelementsvspace]{%
\cvitem[#1]{}{%
\@listitemsymbol%
- \begin{minipage}[t]{\@listdbitemmaincolwidth}%
+ \hfill %
+ \begin{minipage}[t]{.9\@listdbitemmaincolwidth}%
#2%
\end{minipage}%
- \hspace*{\@sepcolwidth}
+ \hspace*{.9\@sepcolwidth}
\ifstrempty{#3}{}{%
\@listitemsymbol%
- \begin{minipage}[t]{\@listdbitemmaincolwidth}%
+ \hfill %
+ \begin{minipage}[t]{.9\@listdbitemmaincolwidth}%
#3%
\end{minipage}
}%
@@ -547,35 +558,35 @@ setkeys=\kvsetkeys%
}
\newbox{\@commentmainbox}
\providecommand*{\cvitemwithcomment}[4][\@afterelementsvspace]{%
- \savebox{\@commentmainbox}{{\usefonttokomafont{commentmainfont}#3}}%
+ \savebox{\@commentmainbox}{{\usefontofkomafont{commentmainfont} #3}}%
\settowidth\@commentmainlength{\usebox{\@commentmainbox}}%
\setlength{\@commentlength}{%
\@maincolwidth-\@sepcolwidth-\@commentmainlength%
}%
\cvitem[#1]{#2}{%
\begin{minipage}[t]{\@commentmainlength}%
- \usefonttokomafont{commentmainfont} #3%
+ \usefontofkomafont{commentmainfont} #3%
\end{minipage}%
\hfill%
\begin{minipage}[t]{\@commentlength}%
- \RaggedLeft\usefonttokomafont{commentfont} #4%
+ \raggedleft\usefontofkomafont{commentfont} #4%
\end{minipage}%
}%
}
\providecommand*{\link}[2][]{%
\ifstrempty{#1}{%
- \href{#2}{\usefonttokomafont{linkfont}#2}}{%
- \href{#2}{\usefonttokomafont{linkfont}#1}}%
+ \href{#2}{\usefontofkomafont{linkfont}#2}}{%
+ \href{#2}{\usefontofkomafont{linkfont}#1}}%
}
\providecommand*{\httplink}[2][]{%
\ifstrempty{#1}{%
- \href{http://#2}{\usefonttokomafont{httplinkfont}#2}}{%
- \href{http://#2}{\usefonttokomafont{httplinkfont}#1}}%
+ \href{http://#2}{\usefontofkomafont{httplinkfont}#2}}{%
+ \href{http://#2}{\usefontofkomafont{httplinkfont}#1}}%
}
\providecommand*{\emaillink}[2][]{%
\ifstrempty{#1}{%
- \href{mailto:#2}{\usefonttokomafont{emaillinkfont}#2}}{%
- \href{mailto:#2}{\usefonttokomafont{emaillinkfont}#1}}%
+ \href{mailto:#2}{\usefontofkomafont{emaillinkfont}#2}}{%
+ \href{mailto:#2}{\usefontofkomafont{emaillinkfont}#1}}%
}
\hypersetup{