texlive[57721] Master/texmf-dist: komacv (12feb21)

commits+karl at tug.org commits+karl at tug.org
Fri Feb 12 23:49:30 CET 2021


Revision: 57721
          http://tug.org/svn/texlive?view=revision&revision=57721
Author:   karl
Date:     2021-02-12 23:49:30 +0100 (Fri, 12 Feb 2021)
Log Message:
-----------
komacv (12feb21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.tex
    trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_casual.pdf
    trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_oldstyle.pdf
    trunk/Master/texmf-dist/doc/latex/komacv/komacv.pdf
    trunk/Master/texmf-dist/source/latex/komacv/komacv.dtx
    trunk/Master/texmf-dist/source/latex/komacv/komacv.ins
    trunk/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty
    trunk/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty
    trunk/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
    trunk/Master/texmf-dist/tex/latex/komacv/komacv.cls

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.pdf

Deleted: trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.tex	2021-02-12 02:22:56 UTC (rev 57720)
+++ trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example.tex	2021-02-12 22:49:30 UTC (rev 57721)
@@ -1,5 +1,5 @@
 %% start of file `komacv_example.tex'; shows exemplarily the use of the komacv class
-%% (c) Copyright 2014-2017 Salome Södergran (salome.soedergran at gmx.ch)
+%% (c) Copyright 2014-2021 Salome Södergran (salome.soedergran at 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!
 %%
@@ -9,19 +9,18 @@
 % DIV=19,
 % fontsize=20,
 % style=classic,% (default) OR
-% style=casual,% !! remove linebreak in facebook definition (see personal data); OR
+% style=casual,% OR
 % style=oldstyle,%
-% headline=name,%
+% fontawesome=false,
 ]{komacv}
 
 \pagestyle{scrheadings}
-\clearscrheadfoot
+\clearpairofpagestyles
 \ifoot{CV~\firstname~\familyname}
 \ofoot{\pagemark/\totalpagemark}
-% \ihead{Hello world!}
-% \ohead{My life so far}
+%\ihead{Hello world!}
+%\ohead{My life so far}
 
-
 % ===========================
 %    LENGTHS
 % ===========================
@@ -30,7 +29,7 @@
 % \setlength\sepcolwidth{1em}
 % \setlength\quotewidth{.3\textwidth}
 % \setlength\titlesepwidth{50pt}
-% \setlength\infocolwidth{6cm} % for oldstyle only!
+ \setlength\infocolwidth{4cm} % for oldstyle only!
 % \setlength\sepinfocolwidth{6em} % for oldstyle only!
 % \setlength\footerwidth{.5\textwidth} % for casual style only
 % \setlength\aftertitlevspace{5\baselineskip}
@@ -49,6 +48,7 @@
 % \xdefinecolor{mycolor}{cmyk}{0.92,0,0.87,0.09}
 % \colorlet{firstnamecolor}{blue}
 % \colorlet{familynamecolor}{red}
+% \colorlet{headlinecolor}{pink}
 % \colorlet{acadtitlecolor}{green}
 % \colorlet{addresscolor}{gray}
 % \colorlet{quotecolor}{pink}
@@ -76,6 +76,7 @@
 % \setkomafont{quotefont}{\ttfamily}
 % \addtokomafont{section}{\Huge\rmfamily\slshape}
 % \addtokomafont{subsection}{\bfseries}
+% \renewcommand{\headlinestyle}{\firstnamestyle}
 
 
 % ===========================
@@ -108,17 +109,16 @@
 \renewcommand*{\phonenr}{001-23456789}
 \renewcommand*{\faxnr}{001-23456788}
 \renewcommand*{\email}{jeyre at ferndean.me.uk}
-\renewcommand*{\homepage}{www.jeyre.me.uk}
-% \renewcommand*{\twitter}{twitter.com/janeeyre}
+\renewcommand*{\homepage}{https://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} % avoid linebreaks in casual style
+\renewcommand*{\facebook}{facebook.com/jane.eyre}
 % \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
 % \renewcommand\phonesymbol{Tel.~}
-% \headline[l]{name} % [c|l|r]{none|name|title}; default: [c]{none}
-% \renewcommand\headlinecontent{Jane Elizabeth Eyre Rochester}
+% \headline[r]{title}[Lebenslauf] % [c|l|r]{none|name|title}[content]; default: [c]{none}[<\firstname \familyname> | Curriculum Vitae] 
+% \headline[l]{name}[Jane Elizabeth Eyre Rochester]
 
 % ===========================
 %    PICTURE
@@ -144,7 +144,7 @@
 \cventry{1838--1844}{Lowood School}{}{Lowood}{grades 3--8}{A charitable institution under the guidance of Mr.~Brocklehurst.}
 
 \section{Work}
- 
+
 \subsection{Teaching}
 \cventry{1844--1846}{Teacher}{Lowood School}{Lowood}{}{Teaching all grades.}
 \cventry{1846--1847}{Governess}{}{Thornfield Hall, Thornfield near Millcote}{}{Governess of Mr.~Rochester's ward Adèle, 10~years old.}
@@ -157,7 +157,8 @@
 
 \subsection{Management}
 \cventry{1847\,ff.}{Management of the family estate}{}{}{}{Including the household at Ferndean and extensive property in England and on the continent.}
- 
+
+
 \section{Languages}
 \cvitemwithcomment{English}{fluent}{mother tongue}
 \cvitemwithcomment{French}{fluent}{oral and written}
@@ -208,6 +209,8 @@
 
 \httplink[http link description]{url}
 
+\httpslink[http link description]{url}
+
 \emaillink[e-mail link description]{e-mail address}
 
 \end{document}

Modified: trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_casual.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/komacv/examples/komacv_example_oldstyle.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/komacv/komacv.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/komacv/komacv.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/komacv/komacv.dtx	2021-02-12 02:22:56 UTC (rev 57720)
+++ trunk/Master/texmf-dist/source/latex/komacv/komacv.dtx	2021-02-12 22:49:30 UTC (rev 57721)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2014-2017
+% Copyright (C) 2014-2021
 % by Salome Södergran (salome.soedergran at gmx.ch)
 % -----------------------------------------------
 % 
@@ -25,15 +25,15 @@
 %
 % \iffalse
 %<*driver>
-\ProvidesFile{komacv.dtx}[2017/04/17 v1.1.1 komacv class]
+\ProvidesFile{komacv.dtx}[2021/02/12 v1.1.2 komacv class]
 %</driver>
 %<class|classic|casual|oldstyle>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
 %<class>\ProvidesClass{komacv}
-%<class>    [2017/04/17 v1.1.1 komacv class]
+%<class>    [2021/02/12 v1.1.2 komacv class]
 %<classic>\ProvidesPackage{komacv-classic}
 %<casual>\ProvidesPackage{komacv-casual}
 %<oldstyle>\ProvidesPackage{komacv-oldstyle}
-%<classic|casual|oldstyle>    [2017/04/17 v1.1.1 style package for komacv class]
+%<classic|casual|oldstyle>    [2021/02/12 v1.1.2 style package for komacv class]
 %<*driver>
 \documentclass{ltxdoc}
  % \AtBeginDocument{\OnlyDescription}
@@ -60,6 +60,7 @@
 \newcommand*\cvitemwithcommentusage{\cs{cvitemwithcomment}\oarg{spacing}\marg{header}\marg{text}\marg{comment}\xspace}
 \newcommand*\linkusage{\cs{link}\oarg{optional text}\marg{link}}
 \newcommand*\httplinkusage{\cs{httplink}\oarg{optional text}\marg{link}}
+\newcommand*\httpslinkusage{\cs{httpslink}\oarg{optional text}\marg{link}}
 \newcommand*\emaillinkusage{\cs{emaillink}\oarg{optional text}\marg{link}}
 \makeatletter
 \renewcommand{\Describe at Macro}{\@ifstar\Describe at MacroStar\Describe at MacroStarNoStar}
@@ -81,10 +82,8 @@
 \@ifundefined{KOMAScript}{%
   \DeclareRobustCommand{\KOMAScript}{\textsf{\KOMA Script}}}{}
 \makeatother
-
 \usepackage[colorlinks=true]{hyperref}
 \hypersetup{pdftitle={CV}}
-
 \begin{document}
   \DocInput{komacv.dtx}
    \PrintIndex\PrintChanges
@@ -119,6 +118,7 @@
 % \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}
+% \changes{v1.1.2}{2021/02/12}{Improved implementation of headline, minor bug fixes, httpslink added, fontawesome-switch added}
 %
 % \GetFileInfo{komacv.dtx}
 %
@@ -170,7 +170,7 @@
 %  
 % The variants of the file \textsf{komacv\_{}example} which come with this package show exemplarily how a document with \mycls might be structured and how the typical commands are to be used. They are not intended as examples of good style but as demonstrations of the potential of the \mycls class. In this documentation all commands and features are explained.
 %
-% Please note that \mycls does not (yet?) provide for the possibility of typesetting the covering letter as well. 
+% As for typesetting a covering letter with \mycls, see \ref{sec:bugs-feat-requ}.
 %
 % \section{Engines}
 % \label{sec:engines}
@@ -199,6 +199,9 @@
 % \DescribeMacro{[style=<value>]}
 % This option loads the style variant. The default is |style=classic|. Other variants currently available are: |casual| and |oldstyle|. Other variants may follow in time, contributions are very welcome! See the example documents to see the different layouts the styles produce.
 %
+% \DescribeMacro{[fontawesome=false]}
+% In case you don't like the social media symbols offered by fontawesome or if fontawesome provides error messages you may turn off the use of fontawesome with this option. Please note that you don't have to use this option to avoid fontawesome; you may just redefine the social media symbols to your liking with \cs{renewcommand} (see \ref{sub:symbols}).
+% 
 % \DescribeMacro{\KOMAoptions}
 % In addition to these \mycls specific options, all \KOMA options may be used as with the \KOMA classes. They may be given either in the option list of \cs{documentclass} or with the help of \cs{KOMAoptions} somewhere in the preamble:
 %
@@ -217,20 +220,22 @@
 % |\renewcommand*\title{Curriculum vitae}|.
 %
 % \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.
+% With \cs{headline}\oarg{alignment}\marg{type}\oarg{content} you can set -- guess what? -- a headline or title 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}{Default font size changed, due to new font \texttt{headlinefont}}
-% The optional argument sets the alignment (l=left, r=right, c=centered). 
+% \changes{v1.1.2}{2021/02/12}{Improved implementation of headline. Caution! changed syntax}
+% The first optional argument sets the alignment (|l|=left, |r|=right, |c|=centered (default)). The mandatory argument defines the type (|name| or |title|). The last optional argument defines the content of the headline. If it is ommitted, with type |name| firstname, lastname and (if defined) the academic title are used, with type |title| \enquote{Curriculum vitae}.
+% Apart from that, the only difference between the two types is that with type |title| the name is printed with the personal data, whereas it is ommitted with type |name| to avoid duplicates.
+% Depending on the combination of style and type the result may be aesthetically questionable.
+%
 % \emph{Example:}
 %
-% |\headline[l]{name}|
-% sets (by default) your defined firstname and familyname as headline, to the left.
+% |\headline{name} |
+% sets your defined firstname and familyname as a centered headline.
 %
-% |\headline[c]{title}|
-% sets (by default) \enquote{Curriculum vitae} as a centered headline.
+% |\headline[r]{title}[Lebenslauf]|
+% sets \enquote{Lebenslauf} as a right-aligned headline.
 %
-% If you want to change the defaults, use\\ 
-% |\renewcommand\headlinecontent{your text}|.
 % \end{macro}
 % 
 % \DescribeMacro{\title}
@@ -248,7 +253,6 @@
 % \DescribeMacro{\github}
 % \DescribeMacro{\facebook}
 % \DescribeMacro{\linkedin}
-
 %
 % The names of the macros are self-explanatory, so I will give just a few hints. 
 %
@@ -298,7 +302,6 @@
 % \DescribeMacro{\listitemsymbol}
 % In the same way the item symbol in the listitems may be changed with the macro \cs{listitemsymbol}.
 %
-% \newpage
 % \subsection{Picture}
 % \label{sub:picture}
 %  
@@ -456,8 +459,9 @@
 % |commentfont| and |commentmainfont| are used in |\cvitemwithcomment| only.
 %  
 % \DescribeMacro*{linkfont}
-% |linkfont|, |httplinkfont|, |emaillinkfont| are used for the link commands \cs{link}, \cs{httplink} and \cs{emaillink} (described below \ref{sub:links}).
+% |linkfont|, |httplinkfont|, |httpslinkfont|, |emaillinkfont| are used for the link commands \cs{link}, \cs{httplink}, \cs{httpslink}, and \cs{emaillink} (described below \ref{sub:links}).
 % \DescribeMacro*{httplinkfont}
+% \DescribeMacro*{httpslinkfont}
 % 
 % \DescribeMacro*{emaillinkfont}
 % Font attributes of elements that belong to the \textsf{scrartcl} class are also changed in the usual \KOMA way, e.\,g.:
@@ -482,7 +486,7 @@
 %
 % |\pagestyle{scrheadings}|
 %
-% \cs{clearscrheadfoot}
+% \cs{clearpairofpagestyles}
 %
 % |\ofoot{\pagemark/\totalpagemark}|
 %
@@ -491,6 +495,7 @@
 %  
 % \DescribeMacro{\hypersetup}
 % To change the way hyperlinks are highlighted in the pdf document, use the \cs{hypersetup} command. This command is provided by the \textsf{hyperref} package which is loaded by the \mycls class. See the \textsf{hyperref} manual for the options available.
+% Example: use |\hypersetup{pdfborder = false}| to remove the box around links in the pdf-document.
 %
 % \DescribeMacro{pdfauthor}
 % \DescribeMacro{pdftitle}
@@ -571,6 +576,7 @@
 % With the command\\
 % \cventryusage\\
 % you get a more structured description. The first mandatory argument will usually be placed in the hint column (depending on the style in use), all others in the main column, each with its own formatting. Just leave empty those arguments you do not need (use empty braces |{}|) . Note, however, that the second mandatory argument should not be empty (otherwise the entry in the main column will start with a comma).
+% In case the predefined formatting of the arguments does not suit your needs you may of course use formatting commands inside the arguments.
 %  
 %\subsection{\cs{cvitemwithcomment}}
 % \label{sub:cvitemwithcomment}
@@ -581,18 +587,22 @@
 %\subsection{Links}
 % \label{sub:links}
 %
-% There are three link commands predefined:
+% There are four link commands predefined:
 %
 % \DescribeMacro{\link}
 % \DescribeMacro{\httplink}
+% \DescribeMacro{\httpslink}
 % \DescribeMacro{\emaillink}
 % \cs{link}\oarg{optional text}\marg{link},
 % 
 % \cs{httplink}\oarg{optional text}\marg{link}, and
 %
+% \cs{httpslink}\oarg{optional text}\marg{link}, and
+% \changes{v1.1.2}{2021/02/12}{\cs{httpslink} added.}
+% 
 % \cs{emaillink}\oarg{optional text}\marg{link}.
 %
-% All of them take a description as optional argument and the link address as mandatory argument. The optional argument will be shown in the text, the hyperlink points to the address given in the mandatory argument. If no optional argument is given the address in the mandatory argument will be printed. The mandatory argument of \cs{httplink} will be prefixed with |http://|, of \cs{emaillink} with |mailto:|. To change the font attributes of the links, see above \ref{sub:fonts}. 
+% All of them take a description as optional argument and the link address as mandatory argument. The optional argument will be shown in the text, the hyperlink points to the address given in the mandatory argument. If no optional argument is given the address in the mandatory argument will be printed. The mandatory argument of \cs{httplink} will be prefixed with |http://|, of \cs{httpslink} with |https://|, of \cs{emaillink} with |mailto:|. To change the font attributes of the links, see above \ref{sub:fonts}. 
 %
 % \subsection{Itemize}
 % \label{sub:itemize}
@@ -626,25 +636,32 @@
 %
 % \section{Examples}
 %
-% 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.
+% 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 play around.
 %
 %
 % \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:
+% 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 several possibilites:
 %
-% You can publish it on CTAN. Just make sure it will be installed in the |styles|-subdirectory of the |komacv|-directory (usually
+% You can publish it on CTAN. Just make sure it will be installed in the |styles|-subdirectory of the |komacv|-directory\\(such as
 % |tex/latex/komacv/styles|).
 %
-% Or you can send it to me at \texttt{salome.soedergran at gmx.ch} and I will include it in the next version of |komacv|.
+% Or you can put it on GitHub (\texttt{salsod/komacv}) or send it to me by e-mail (\texttt{salome.soedergran at gmx.ch}) and I will include it in the next version of \mycls.
+% 
+% For your personal use, you can put it either into the working directory of your .tex-file (your cv-file) or into your local texmf-tree. In the latter case, don't forget to run texhash on the directory to refresh your tex system. 
 %
-% \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 at 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{Bugs, feature requests, and maintenance}\label{sec:bugs-feat-requ} 
+% Known issue: Inconsistent vertical space between multiline cvlistitems (\cs{cvlistitem}).
 %
+% Feature request: A feature that has sometimes been asked for is the possibility of creating a cover letter based on \mycls for a job application. This has not been implemented into \mycls so far. The \KOMAScript\ now offers the possibility to create letters not only with the letter class \textsf{scrlttr2}, but also to load the package \textsf{scrletter} within any \KOMA class. This works also for \mycls. If you're interested in creating a cover letter inside \mycls, also have a look at Richard Grewe's extra package |komacv-rg| (see below, Acknowledgements).
+%
+% 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 \mycls class and the style files, please do not hesitate to contact me (in English or German) at \texttt{salome.soedergran at gmx.ch}. I am thankful for any suggestions that help improving \mycls 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 please consider making your own contributions on GitHub (\texttt{salsod/komacv}) \ldots or to become the new maintainer of \mycls.
+%
 % 
 %\section{Acknowledgements}
-% 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|.
+% Many thanks to Richard Grewe, Samuel W. Flint, Alexander Dietzel, 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|.
+%
+% On CTAN you can find the bundle \textsf{komacv-rg} by Richard Grewe with extra features: \enquote{The komacv-rg bundle provides packages that aid in creating CVs based on the komacv class and creating related documents, such as cover letters and cover sheets for job applications. Concretely, the bundle consists of three packages: komacv-addons, komacv-lco, and komacv-multilang.} (The bug fixes presented in \textsf{komacv-addons} v0.9.2 found their way into \mycls as of v1.1.2.) Many thanks for this great addition! 
 % 
-% 
 % \StopEventually{\PrintIndex}
 %
 % \section{Implementation}
@@ -659,7 +676,7 @@
 % \fi
 %    \begin{macrocode}
 \providecommand*\mycolor{blue}
-\RequirePackage{ifthen,kvoptions,calc}
+\RequirePackage{ifthen,kvoptions,calc,xparse,xstring}
 %    \end{macrocode}
 %
 % \subsubsection*{Declare Options}
@@ -672,6 +689,7 @@
 \DeclareStringOption[mycolor]{color}[mycolor]
 \DeclareStringOption[x11names]{xcolor}[x11names]
 \DeclareStringOption[classic]{style}[classic]
+\DeclareBoolOption[true]{fontawesome}
 \DeclareDefaultOption{\PassOptionsToClass{\CurrentOption}{scrartcl}}
 %    \end{macrocode}
 %
@@ -697,7 +715,6 @@
   ifxetex,%
   scrlayer-scrpage,%
   marvosym,%
-  fontawesome,%
   array,%
   graphicx,%
   microtype,%
@@ -704,8 +721,10 @@
   enumitem,
   hyperref%
 }
+\ifkomacv at fontawesome
+\RequirePackage{fontawesome}
+\fi
 \RequirePackage[raggedrightboxes]{ragged2e}
-
 \AtEndPreamble{%
   \renewcommand\familydefault{\sfdefault}% without this, pdflatex produces error messages; WHY?
 }
@@ -775,6 +794,7 @@
 \newkomafont{hintfont}{}
 \newkomafont{linkfont}{}
 \newkomafont{httplinkfont}{}
+\newkomafont{httpslinkfont}{}
 \newkomafont{emaillinkfont}{}
 \newkomafont{commentmainfont}{\bfseries} % in \cvitemwithcomment
 \newkomafont{commentfont}{\footnotesize\itshape} % in \cvitemwithcomment
@@ -863,18 +883,15 @@
 \newlength\@aftersubsecvspace
 \newlength\aftersubsecvspace
 \setlength\aftersubsecvspace{0pt}
-
 \AtEndPreamble{%
   % infocol (oldstyle)
   \setlength{\@infocolwidth}{\infocolwidth}
   \setlength{\@sepinfocolwidth}{\sepinfocolwidth}
-  \setlength\komacvinfocolextrawidth{\@infocolwidth+\@sepinfocolwidth}
+\setlength\komacvinfocolextrawidth{\@infocolwidth+\@sepinfocolwidth}
   \setlength\@komacvtextwidth{\textwidth-\komacvinfocolextrawidth}
-
   % fboxextra (picture frame)
   \newlength\@fboxextra
   \setlength\@fboxextra{\fboxsep+\fboxrule}
-
   % hintscolumn
   \ifdimequal{\hintscolwidth}{0pt}{%
     \setlength\@hintscolwidth{.2\@komacvtextwidth}
@@ -881,7 +898,6 @@
   }{%
     \setlength{\@hintscolwidth}{\hintscolwidth}%
   }
-
   % separatorcolumn
   \ifdimequal{\sepcolwidth}{0pt}{%
     \setlength\@sepcolwidth{2em}%
@@ -888,14 +904,12 @@
   }{%
     \setlength{\@sepcolwidth}{\sepcolwidth}%
   }
-
   % maincolumn
   \ifdimequal{\maincolwidth}{0pt}{%
-    \setlength{\@maincolwidth}{\@komacvtextwidth-\@sepcolwidth-\@hintscolwidth}%
+\setlength{\@maincolwidth}{\@komacvtextwidth-\@sepcolwidth-\@hintscolwidth}%
   }{%
     \setlength{\@maincolwidth}{\maincolwidth}%
   }
-
   % doubleitem
   \ifdimequal{\dbitemmaincolwidth}{0pt}{%
     \setlength{\@dbitemmaincolwidth}{%
@@ -904,7 +918,6 @@
   }{%
     \setlength{\@dbitemmaincolwidth}{\dbitemmaincolwidth}%
   }
-
   % listitem
   \ifdimequal{\listitemsymbolwidth}{0pt}{%
     \settowidth{\@listitemsymbolwidth}{\listitemsymbol{}~}%
@@ -911,17 +924,15 @@
   }{%
     \setlength{\@listitemsymbolwidth}{\listitemsymbolwidth}%
   }
-    \setlength{\@listitemmaincolwidth}{\@maincolwidth-\@listitemsymbolwidth}%
-
+\setlength{\@listitemmaincolwidth}{\@maincolwidth-\@listitemsymbolwidth}%
   % listdoubleitem
   \ifdimequal{\listdbitemmaincolwidth}{0pt}{%
-    \setlength{\@listdbitemmaincolwidth}{\@maincolwidth-\@listitemsymbolwidth}%
-    \setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% % 
+\setlength{\@listdbitemmaincolwidth}{\@maincolwidth-\@sepcolwidth-\@listitemsymbolwidth}%
+\setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% % 
   }{%
     \setlength{\@listdbitemmaincolwidth}{\listdbitemmaincolwidth}%
-    \setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% % 
+\setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% % 
   }
-
   % quote
   \ifdimequal{\quotewidth}{0pt}{%
     \setlength{\@quotewidth}{0.65\textwidth}%
@@ -933,7 +944,6 @@
   }{%
     \setlength\@afterquotevspace{\afterquotevspace}%
   }
-
   % title
   \ifundef{\@photoname}{% without picture:
     \setlength\@aftertitlevspace{\aftertitlevspace}
@@ -958,7 +968,6 @@
       \setlength{\@titlesepwidth}{\titlesepwidth}
     }
   }
-
   % afterelementsvspace
   \ifdimequal{\afterelementsvspace}{0pt}{%
     \setlength{\@afterelementsvspace}{0.25em}%
@@ -965,7 +974,6 @@
   }{%
     \setlength{\@afterelementsvspace}{\afterelementsvspace}%
   }
-
   % beforesecvspace
   \ifdimequal{\beforesecvspace}{0pt}{%
     \setlength{\@beforesecvspace}{3.5ex \@plus -1ex \@minus -.2ex}%
@@ -972,7 +980,6 @@
   }{%
     \setlength{\@beforesecvspace}{\beforesecvspace}%
   }
-
   % aftersecvspace
   \ifdimequal{\aftersecvspace}{0pt}{%
     \setlength{\@aftersecvspace}{2.3ex \@plus.2ex}%
@@ -985,7 +992,6 @@
   }{
     \setlength{\@beforesubsecvspace}{\beforesubsecvspace}%
   }
-
   % aftersubsecvspace
   \ifdimequal{\aftersubsecvspace}{0pt}{%
     \setlength{\@aftersubsecvspace}{1.5ex \@plus .2ex}%
@@ -997,32 +1003,39 @@
 %
 %\subsubsection*{Symbols}
 % \changes{v1.1}{2017/04/12}{Added macros and symbols for social media}
+% \changes{v1.1.2}{2021/02/12}{Added class option |fontawesome=false| to avoid the social media symbols}
 %    \begin{macrocode}
 \providecommand*\@addresssymbol{}
 \providecommand*\addresssymbol{}
-\providecommand*\@mobilesymbol{\Mobilefone~}
+\providecommand*\@mobilesymbol{\upshape{\Mobilefone}~}
 \providecommand*\mobilesymbol{}
-\providecommand*\@phonesymbol{\Telefon~}
+\providecommand*\@phonesymbol{\upshape{\Telefon}~}
 \providecommand*\phonesymbol{}
-\providecommand*\@faxsymbol{\FAX~}
+\providecommand*\@faxsymbol{\upshape{\FAX}~}
 \providecommand*\faxsymbol{}
-\providecommand*\@emailsymbol{\Letter~}
+\providecommand*\@emailsymbol{\upshape{\Letter}~}
 \providecommand*\emailsymbol{}
 \providecommand*\@homepagesymbol{}
 \providecommand*\homepagesymbol{}
-\providecommand*\@twittersymbol{\faTwitter~}
+\ifkomacv at fontawesome
+\providecommand*\@twittersymbol{\upshape{\faTwitter}~}
+\providecommand*\@githubsymbol{\upshape{\faGithub}~}
+\providecommand*\@facebooksymbol{\upshape{\faFacebook}~}
+\providecommand*\@linkedinsymbol{\upshape{\faLinkedin}~}
+\else
+\providecommand*\@twittersymbol{}
+\providecommand*\@githubsymbol{}
+\providecommand*\@facebooksymbol{}
+\providecommand*\@linkedinsymbol{}
+\fi
 \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}~}
 \providecommand*\listitemsymbol{}
-
 \AtEndPreamble{%
   \ifdefempty{\addresssymbol}{}{%
 \renewcommand*\@addresssymbol{\addresssymbol}
@@ -1060,10 +1073,7 @@
   \ifdefempty{\listitemsymbol}{}{%
 \renewcommand*\@listitemsymbol{\listitemsymbol}
 }
-
-
 } % end \AtEndPreamble
-
 %    \end{macrocode}
 %
 %\subsubsection*{Personal data}
@@ -1121,28 +1131,43 @@
 %
 %\subsubsection*{Headline}
 % \changes{v1.1}{2017/04/12}{Vertical space between name and academic title adjusted}
+% \changes{v1.1.2}{2021/02/12}{New implementation}
 %    \begin{macrocode}
-\providecommand\headlinetype{none}
+\providecommand\@headlinealignment{}
+\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}
-    }}{}
+\ProvideDocumentCommand{\headline}{O{c} m o}
+{
+  \renewcommand\@headlinealignment{#1}
+  \renewcommand\@headlinetype{#2}
+  \renewcommand\@headlinecontent{
+    \IfNoValueTF {#3}
+    {
+      \ifstrequal{#2}{title}{\par\headlinestyle{Curriculum Vitae}}{}
+      \ifstrequal{#2}{name}{\par\firstnamestyle{\firstname}\ \familynamestyle{\familyname}\par\bigskip\acadtitlestyle{\acadtitle}}{}
+      }{\headlinestyle{#3}}
 }
+}
+\providecommand\setheadlinealignment{%
+    \ifdefstring{\@headlinealignment}{l}{\RaggedRight}{%
+      \ifdefstring{\@headlinealignment}{r}{\RaggedLeft}{\Centering}}
+}
+\providecommand\setheadlinetypename{%
+\ifdefstring{\@headlinetype}{name}{%
+    \setheadlinealignment
+    \headlinestyle{\@headlinecontent}
+}{}
+}
+\providecommand\setheadlinetypetitle{%
+  \ifdefstring{\@headlinetype}{title}{%
+    \setheadlinealignment
+    \headlinestyle{\@headlinecontent}
+}{}
+}
+\providecommand\setheadline{%
+  \setheadlinetypename
+  \setheadlinetypetitle
+}
 % \end{macrocode}
 %
 %\subsubsection*{Title/Head}
@@ -1207,7 +1232,7 @@
       @{}>{\raggedleft\arraybackslash}p{\@hintscolwidth}%
       @{\hspace{\@sepcolwidth}}p{\@maincolwidth}@{}%
     }%
-    \hintstyle{#2} & {#3}%
+    \hintstyle{#2} & {\@minipagetrue #3}%
   \end{tabular}\\[#1]%
 }
 %    \end{macrocode}
@@ -1322,13 +1347,32 @@
 %\paragraph{httplink}~\\%
 %usage: \httplinkusage
 %    \begin{macrocode}
+  \providecommand*\croplink{}
   \providecommand*{\httplink}[2][]{%
+    \renewcommand\croplink{\StrDel{#2}{http://}}
     \ifstrempty{#1}{%
-      \href{http://#2}{\usefontofkomafont{httplinkfont}#2}}{%
-      \href{http://#2}{\usefontofkomafont{httplinkfont}#1}}%
-  }
+      \IfSubStr{#2}{http:}{\href{#2}}{\href{http://#2}}{%
+        \usefontofkomafont{httplinkfont}\croplink}%
+      }{%
+      \IfSubStr{#2}{http:}{\href{#2}}{\href{http://#2}}{%
+        \usefontofkomafont{httplinkfont}#1}}
+    }
 %    \end{macrocode}
 %
+%\paragraph{httpslink}~\\%
+%usage: \httpslinkusage
+%    \begin{macrocode}
+  \providecommand*{\httpslink}[2][]{%
+    \renewcommand\croplink{\StrDel{#2}{https://}}
+    \ifstrempty{#1}{%
+      \IfSubStr{#2}{https:}{\href{#2}}{\href{https://#2}}{%
+        \usefontofkomafont{httpslinkfont}\croplink}%
+      }{%
+      \IfSubStr{#2}{https:}{\href{#2}}{\href{https://#2}}{%
+        \usefontofkomafont{httpslinkfont}#1}}
+    }
+%    \end{macrocode}
+%
 %\paragraph{emaillink}~\\%
 %usage: \emaillinkusage
 %    \begin{macrocode}
@@ -1344,8 +1388,6 @@
 %    \begin{macrocode}
 % Depending on the style in use (see style descriptions).
 %    \end{macrocode} 
-
-
 %\subsubsection*{Hypersetup}
 %    \begin{macrocode}
 \hypersetup{
@@ -1376,7 +1418,6 @@
 \providecommand*\pdfsubject{}
 \providecommand*\pdftitle{}
 \providecommand*\pdfkeywords{}
-
 \AtEndPreamble{%
 \providecommand*\@allbordercolors{colortheme}
 \ifdefempty{\allbordercolors}{}{\renewcommand*\@allbordercolors{\allbordercolors}}
@@ -1409,7 +1450,7 @@
 \AtBeginDocument{%
   \raggedbottom
 } % End AtBeginDocument
-\clearscrheadfoot
+\clearpairofpagestyles
 %    \end{macrocode}
 % 
 %\subsubsection*{Load style}
@@ -1469,28 +1510,23 @@
 \setlength{\@titledetailswidth}{\textwidth-\@titlenamewidth-\@titlesepwidth}%
 \ifundef{\@photoname}{}{% else
   \ifdefstring{\@photoframe}{frame}{%
-    \setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth-2\@fboxextra}
+\setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth-2\@fboxextra}
     \setlength{\@titledetailswidth}{.99\@titledetailswidth} % avoid overfullbox warning
   }{% else
   \ifdefstring{\@photoframe}{mframe}{%
-    \setlength{\@titledetailswidth}{\@titledetailswidth-\@mframepicshift}%
+\setlength{\@titledetailswidth}{\@titledetailswidth-\@mframepicshift}%
     \setlength{\@titledetailswidth}{.99\@titledetailswidth} % avoid overfullbox warning
   }{% picture but no frame
-    \setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth}
+   \setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth}
     \setlength{\@titledetailswidth}{.99\@titledetailswidth} % avoid overfullbox warning                                              
   }
 }
 }%
-  % name and title
-\ifdefstring{\headlinetype}{none}{%
-}{
-  \begin{center}
-    \headlinestyle{\@headlinecontent}\par\bigskip
-  \end{center}
-}
+ % name and title
+\setheadline\par\bigskip
 \begin{minipage}[b]{\@titlenamewidth}%
   \RaggedRight
-  \ifdefstring{\headlinetype}{name}{\hfill\mbox{}}{%
+  \ifdefstring{\@headlinetype}{name}{\hfill\mbox{}}{%
     \firstnamestyle{\firstname}\ %
     \familynamestyle{\familyname}%
     \ifdefempty{\acadtitle}{}{%
@@ -1514,7 +1550,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}{}{%
@@ -1544,11 +1583,12 @@
 \\[\@aftertitlevspace]
   % optional quote
   \ifundef{\cvquote}{}{%
-    \centering
+    {\centering
       \begin{minipage}{\@quotewidth}%
         \centering\quotestyle{\cvquote}%
       \end{minipage}\\[\@afterquotevspace]%
-  }%
+    }
+    }%
 }
 %    \end{macrocode}
 %
@@ -1556,7 +1596,6 @@
 % \changes{v1.1}{2017/04/12}{Definition of \cs{section} and \cs{subsection} changed, mainly to avoid pagebreaks (all styles)}
 %    \begin{macrocode}
 \setcounter{secnumdepth}{1}
-
 \RedeclareSectionCommand
   [
     beforeskip=\@beforesecvspace,
@@ -1564,11 +1603,10 @@
     font=\color{@seccolor}\sectionfont
    ]{section}
 \renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}}
-
  \RedeclareSectionCommand
   [
-    beforeskip=\@beforesecvspace,
-    afterskip=\@aftersecvspace,
+    beforeskip=\@beforesubsecvspace,
+    afterskip=\@aftersubsecvspace,
     indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
     font=\color{@subseccolor}\subsectionfont
     ]{subsection}
@@ -1615,7 +1653,7 @@
     \@sboxb{#2}
   }
 }
-  \ifdimequal{\footerwidth}{0pt}{}{\setlength\@footerwidth{\footerwidth}}
+\ifdimequal{\footerwidth}{0pt}{}{\setlength\@footerwidth{\footerwidth}}
   \defpagestyle{footer}
   {{}{}{}}% head definition (empty)
   {% foot definition
@@ -1638,7 +1676,10 @@
         \ifdefempty{\email}{}{%
           \addtofooter{\@emailsymbol\emaillink{\email}}}
         \ifdefempty{\homepage}{}{%
-          \addtofooter{\@homepagesymbol\httplink{\homepage}}}%
+          \addtofooter{\@homepagesymbol%
+                  \IfSubStr{\homepage}{https}{%
+        \httpslink{\homepage}}{%
+        \httplink{\homepage}}}}%
         \ifdefempty{\twitter}{}{%
           \addtofooter{\@twittersymbol\twitter}}%
         \ifdefempty{\github}{}{%
@@ -1676,18 +1717,22 @@
 }% end savebox picbox
 \settowidth\@titlepicwidth{\usebox{\@picbox}}
 \setlength\@titlenamewidth{\textwidth-\@titlesepwidth-\@titlepicwidth}
-
+\setheadlinetypetitle\par
   \usebox{\@picbox}%
   \hspace*{\@titlesepwidth}%
   \parbox[b]{\@titlenamewidth}{%
+      \ifdefstring{\@headlinetype}{name}{\setheadlinetypename}{%
     \raggedleft{\firstnamestyle\firstname}%
-    ~{\familynamestyle\familyname}\\
-    \raggedleft\color{@firstnamecolor}\rule{\@titlenamewidth}{.25ex}\par
+    ~{\familynamestyle\familyname}
+    }
+    \\
+\raggedleft\color{@firstnamecolor}\rule{\@titlenamewidth}{.25ex}\par
   }% end parbox
   \vspace{\@aftertitlevspace}
   %% optional acadtitle
   \ifdefempty{\acadtitle}{}{%
-    \raggedleft\acadtitlestyle{\acadtitle}}\\[2.5em]%
+          \ifdefstring{\@headlinetype}{name}{}{%
+    \raggedleft\acadtitlestyle{\acadtitle}}}\\[2.5em]%
   %% optional quote
   \ifdefempty{\cvquote}{}{%
     {\centering
@@ -1697,7 +1742,6 @@
     }
   }%
 }% end \@cvtitle-casual
-
 \AtBeginDocument{%
   \thispagestyle{footer}
 } % end \AtBeginDocument
@@ -1706,7 +1750,6 @@
 %\subsubsection*{Sections}
 %    \begin{macrocode}
 \setcounter{secnumdepth}{1}
-
 \RedeclareSectionCommand
   [
     beforeskip=\@beforesecvspace,
@@ -1714,11 +1757,10 @@
     font=\color{@seccolor}\sectionfont
    ]{section}
 \renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}}
-
  \RedeclareSectionCommand
   [
-    beforeskip=\@beforesecvspace,
-    afterskip=\@aftersecvspace,
+    beforeskip=\@beforesubsecvspace,
+    afterskip=\@aftersubsecvspace,
     indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
     font=\color{@subseccolor}\subsectionfont
     ]{subsection}
@@ -1772,7 +1814,6 @@
 %    \begin{macrocode}
 \setlength{\infocolwidth}{3.5cm}
 \setlength{\sepinfocolwidth}{2em}
-
 \providecommand\@infocontent{%
     \ifdefempty{\addressstreet}{}{%
       \@titledetailsnewline%
@@ -1788,7 +1829,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}{}{%
@@ -1800,7 +1844,6 @@
     \ifdefempty{\extrainfo}{}{%
       \@titledetailsnewline\extrainfo}%
 } % end \@infocontent
-
  \providecommand{\@makeinfo}{% 
    \newbox{\@infobox}%
    \savebox{\@infobox}{%
@@ -1823,7 +1866,6 @@
    \vspace*{-\parskip}%
    \vspace*{-\@aftersecvspace}
  }% end \providecommand \@makeinfo
-
   \providecommand{\@cvtitleoldstyle}{%
     % optional picture box
     \newbox{\@picbox}
@@ -1842,12 +1884,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}%
@@ -1865,7 +1910,6 @@
 \par
 \begin{addmargin}[\komacvinfocolextrawidth]{0pt}
   } % end \@cvtitleoldstyle
-
 \AtEndDocument{%
 \end{addmargin}
 }
@@ -1875,7 +1919,6 @@
 %\label{subsub:oldstyle-sections}
 %    \begin{macrocode}
 \setcounter{secnumdepth}{0}
-
   \RedeclareSectionCommand
   [
     beforeskip=\@beforesecvspace,
@@ -1882,11 +1925,10 @@
     afterskip=\@aftersecvspace,
     font=\color{@seccolor}\sectionfont
    ]{section}
-
  \RedeclareSectionCommand
   [
-    beforeskip=\@beforesecvspace,
-    afterskip=\@aftersecvspace,
+    beforeskip=\@beforesubsecvspace,
+    afterskip=\@aftersubsecvspace,
    font=\color{@subseccolor}\subsectionfont
    ]{subsection}
 %    \end{macrocode}
@@ -1902,7 +1944,6 @@
     {#3} & \RaggedRight\hintstyle{#2}%
   \end{tabular}\\[#1]%
 }
-
 \renewcommand*{\cvdoubleitem}[5][\@afterelementsvspace]{%
  \cvitem[#1]{#4}{%
    \begin{minipage}[t]{\@dbitemmaincolwidth}#3\end{minipage}%

Modified: trunk/Master/texmf-dist/source/latex/komacv/komacv.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/komacv/komacv.ins	2021-02-12 02:22:56 UTC (rev 57720)
+++ trunk/Master/texmf-dist/source/latex/komacv/komacv.ins	2021-02-12 22:49:30 UTC (rev 57721)
@@ -1,4 +1,4 @@
-%% Copyright (C) 2014-2017 by Salome Södergran (salome.soedergran at gmx.ch)
+%% Copyright (C) 2014-2021 by Salome Södergran (salome.soedergran at gmx.ch)
 %% 
 %% This work may be distributed and/or modified under the conditions of
 %% the LaTeX Project Public License, either version 1.3 of this license
@@ -23,7 +23,7 @@
 
 This is a generated file.
 
-Copyright (C) 2014-2017 by Salome Södergran (salome.soedergran at gmx.ch)
+Copyright (C) 2014-2021 by Salome Södergran (salome.soedergran at 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

Modified: trunk/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty	2021-02-12 02:22:56 UTC (rev 57720)
+++ trunk/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty	2021-02-12 22:49:30 UTC (rev 57721)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2014-2017 by Salome Södergran (salome.soedergran at gmx.ch)
+%% Copyright (C) 2014-2021 by Salome Södergran (salome.soedergran at 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-casual}
-    [2017/04/17 v1.1.1 style package for komacv class]
-
+    [2021/02/12 v1.1.2 style package for komacv class]
 \addtokomafont{firstnamefont}{\sffamily\fontsize{38}{40}}
 \addtokomafont{acadtitlefont}{\sffamily}
 \addtokomafont{addressfont}{\sffamily\small}
@@ -46,7 +45,7 @@
     \@sboxb{#2}
   }
 }
-  \ifdimequal{\footerwidth}{0pt}{}{\setlength\@footerwidth{\footerwidth}}
+\ifdimequal{\footerwidth}{0pt}{}{\setlength\@footerwidth{\footerwidth}}
   \defpagestyle{footer}
   {{}{}{}}% head definition (empty)
   {% foot definition
@@ -69,7 +68,10 @@
         \ifdefempty{\email}{}{%
           \addtofooter{\@emailsymbol\emaillink{\email}}}
         \ifdefempty{\homepage}{}{%
-          \addtofooter{\@homepagesymbol\httplink{\homepage}}}%
+          \addtofooter{\@homepagesymbol%
+                  \IfSubStr{\homepage}{https}{%
+        \httpslink{\homepage}}{%
+        \httplink{\homepage}}}}%
         \ifdefempty{\twitter}{}{%
           \addtofooter{\@twittersymbol\twitter}}%
         \ifdefempty{\github}{}{%
@@ -103,18 +105,22 @@
 }% end savebox picbox
 \settowidth\@titlepicwidth{\usebox{\@picbox}}
 \setlength\@titlenamewidth{\textwidth-\@titlesepwidth-\@titlepicwidth}
-
+\setheadlinetypetitle\par
   \usebox{\@picbox}%
   \hspace*{\@titlesepwidth}%
   \parbox[b]{\@titlenamewidth}{%
+      \ifdefstring{\@headlinetype}{name}{\setheadlinetypename}{%
     \raggedleft{\firstnamestyle\firstname}%
-    ~{\familynamestyle\familyname}\\
-    \raggedleft\color{@firstnamecolor}\rule{\@titlenamewidth}{.25ex}\par
+    ~{\familynamestyle\familyname}
+    }
+    \\
+\raggedleft\color{@firstnamecolor}\rule{\@titlenamewidth}{.25ex}\par
   }% end parbox
   \vspace{\@aftertitlevspace}
   %% optional acadtitle
   \ifdefempty{\acadtitle}{}{%
-    \raggedleft\acadtitlestyle{\acadtitle}}\\[2.5em]%
+          \ifdefstring{\@headlinetype}{name}{}{%
+    \raggedleft\acadtitlestyle{\acadtitle}}}\\[2.5em]%
   %% optional quote
   \ifdefempty{\cvquote}{}{%
     {\centering
@@ -124,12 +130,10 @@
     }
   }%
 }% end \@cvtitle-casual
-
 \AtBeginDocument{%
   \thispagestyle{footer}
 } % end \AtBeginDocument
 \setcounter{secnumdepth}{1}
-
 \RedeclareSectionCommand
   [
     beforeskip=\@beforesecvspace,
@@ -137,11 +141,10 @@
     font=\color{@seccolor}\sectionfont
    ]{section}
 \renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}}
-
  \RedeclareSectionCommand
   [
-    beforeskip=\@beforesecvspace,
-    afterskip=\@aftersecvspace,
+    beforeskip=\@beforesubsecvspace,
+    afterskip=\@aftersubsecvspace,
     indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
     font=\color{@subseccolor}\subsectionfont
     ]{subsection}

Modified: trunk/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty	2021-02-12 02:22:56 UTC (rev 57720)
+++ trunk/Master/texmf-dist/tex/latex/komacv/komacv-classic.sty	2021-02-12 22:49:30 UTC (rev 57721)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2014-2017 by Salome Södergran (salome.soedergran at gmx.ch)
+%% Copyright (C) 2014-2021 by Salome Södergran (salome.soedergran at 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-classic}
-    [2017/04/17 v1.1.1 style package for komacv class]
-
+    [2021/02/12 v1.1.2 style package for komacv class]
 \addtokomafont{firstnamefont}{\sffamily}
 \addtokomafont{acadtitlefont}{\sffamily}
 \addtokomafont{addressfont}{\sffamily}
@@ -56,28 +55,23 @@
 \setlength{\@titledetailswidth}{\textwidth-\@titlenamewidth-\@titlesepwidth}%
 \ifundef{\@photoname}{}{% else
   \ifdefstring{\@photoframe}{frame}{%
-    \setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth-2\@fboxextra}
+\setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth-2\@fboxextra}
     \setlength{\@titledetailswidth}{.99\@titledetailswidth} % avoid overfullbox warning
   }{% else
   \ifdefstring{\@photoframe}{mframe}{%
-    \setlength{\@titledetailswidth}{\@titledetailswidth-\@mframepicshift}%
+\setlength{\@titledetailswidth}{\@titledetailswidth-\@mframepicshift}%
     \setlength{\@titledetailswidth}{.99\@titledetailswidth} % avoid overfullbox warning
   }{% picture but no frame
-    \setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth}
+   \setlength{\@titledetailswidth}{\@titledetailswidth-\@photowidth}
     \setlength{\@titledetailswidth}{.99\@titledetailswidth} % avoid overfullbox warning
   }
 }
 }%
-  % name and title
-\ifdefstring{\headlinetype}{none}{%
-}{
-  \begin{center}
-    \headlinestyle{\@headlinecontent}\par\bigskip
-  \end{center}
-}
+ % name and title
+\setheadline\par\bigskip
 \begin{minipage}[b]{\@titlenamewidth}%
   \RaggedRight
-  \ifdefstring{\headlinetype}{name}{\hfill\mbox{}}{%
+  \ifdefstring{\@headlinetype}{name}{\hfill\mbox{}}{%
     \firstnamestyle{\firstname}\ %
     \familynamestyle{\familyname}%
     \ifdefempty{\acadtitle}{}{%
@@ -101,7 +95,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}{}{%
@@ -131,14 +128,14 @@
 \\[\@aftertitlevspace]
   % optional quote
   \ifundef{\cvquote}{}{%
-    \centering
+    {\centering
       \begin{minipage}{\@quotewidth}%
         \centering\quotestyle{\cvquote}%
       \end{minipage}\\[\@afterquotevspace]%
-  }%
+    }
+    }%
 }
 \setcounter{secnumdepth}{1}
-
 \RedeclareSectionCommand
   [
     beforeskip=\@beforesecvspace,
@@ -146,11 +143,10 @@
     font=\color{@seccolor}\sectionfont
    ]{section}
 \renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}}
-
  \RedeclareSectionCommand
   [
-    beforeskip=\@beforesecvspace,
-    afterskip=\@aftersecvspace,
+    beforeskip=\@beforesubsecvspace,
+    afterskip=\@aftersubsecvspace,
     indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
     font=\color{@subseccolor}\subsectionfont
     ]{subsection}

Modified: trunk/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty	2021-02-12 02:22:56 UTC (rev 57720)
+++ trunk/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty	2021-02-12 22:49:30 UTC (rev 57721)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2014-2017 by Salome Södergran (salome.soedergran at gmx.ch)
+%% Copyright (C) 2014-2021 by Salome Södergran (salome.soedergran at 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,12 +133,10 @@
 \par
 \begin{addmargin}[\komacvinfocolextrawidth]{0pt}
   } % end \@cvtitleoldstyle
-
 \AtEndDocument{%
 \end{addmargin}
 }
 \setcounter{secnumdepth}{0}
-
   \RedeclareSectionCommand
   [
     beforeskip=\@beforesecvspace,
@@ -143,11 +143,10 @@
     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}%

Modified: trunk/Master/texmf-dist/tex/latex/komacv/komacv.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/komacv/komacv.cls	2021-02-12 02:22:56 UTC (rev 57720)
+++ trunk/Master/texmf-dist/tex/latex/komacv/komacv.cls	2021-02-12 22:49:30 UTC (rev 57721)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2014-2017 by Salome Södergran (salome.soedergran at gmx.ch)
+%% Copyright (C) 2014-2021 by Salome Södergran (salome.soedergran at 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,10 +22,9 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesClass{komacv}
-    [2017/04/17 v1.1.1 komacv class]
-
+    [2021/02/12 v1.1.2 komacv class]
 \providecommand*\mycolor{blue}
-\RequirePackage{ifthen,kvoptions,calc}
+\RequirePackage{ifthen,kvoptions,calc,xparse,xstring}
 \SetupKeyvalOptions{%
 family=komacv,%
 prefix=komacv@,%
@@ -34,6 +33,7 @@
 \DeclareStringOption[mycolor]{color}[mycolor]
 \DeclareStringOption[x11names]{xcolor}[x11names]
 \DeclareStringOption[classic]{style}[classic]
+\DeclareBoolOption[true]{fontawesome}
 \DeclareDefaultOption{\PassOptionsToClass{\CurrentOption}{scrartcl}}
 \ProcessKeyvalOptions{komacv} % evaluate keyval options
 \LoadClass[a4paper,headings=normal,fontsize=11pt]{scrartcl}
@@ -45,7 +45,6 @@
   ifxetex,%
   scrlayer-scrpage,%
   marvosym,%
-  fontawesome,%
   array,%
   graphicx,%
   microtype,%
@@ -52,8 +51,10 @@
   enumitem,
   hyperref%
 }
+\ifkomacv at fontawesome
+\RequirePackage{fontawesome}
+\fi
 \RequirePackage[raggedrightboxes]{ragged2e}
-
 \AtEndPreamble{%
   \renewcommand\familydefault{\sfdefault}% without this, pdflatex produces error messages; WHY?
 }
@@ -114,6 +115,7 @@
 \newkomafont{hintfont}{}
 \newkomafont{linkfont}{}
 \newkomafont{httplinkfont}{}
+\newkomafont{httpslinkfont}{}
 \newkomafont{emaillinkfont}{}
 \newkomafont{commentmainfont}{\bfseries} % in \cvitemwithcomment
 \newkomafont{commentfont}{\footnotesize\itshape} % in \cvitemwithcomment
@@ -197,18 +199,15 @@
 \newlength\@aftersubsecvspace
 \newlength\aftersubsecvspace
 \setlength\aftersubsecvspace{0pt}
-
 \AtEndPreamble{%
   % infocol (oldstyle)
   \setlength{\@infocolwidth}{\infocolwidth}
   \setlength{\@sepinfocolwidth}{\sepinfocolwidth}
-  \setlength\komacvinfocolextrawidth{\@infocolwidth+\@sepinfocolwidth}
+\setlength\komacvinfocolextrawidth{\@infocolwidth+\@sepinfocolwidth}
   \setlength\@komacvtextwidth{\textwidth-\komacvinfocolextrawidth}
-
   % fboxextra (picture frame)
   \newlength\@fboxextra
   \setlength\@fboxextra{\fboxsep+\fboxrule}
-
   % hintscolumn
   \ifdimequal{\hintscolwidth}{0pt}{%
     \setlength\@hintscolwidth{.2\@komacvtextwidth}
@@ -215,7 +214,6 @@
   }{%
     \setlength{\@hintscolwidth}{\hintscolwidth}%
   }
-
   % separatorcolumn
   \ifdimequal{\sepcolwidth}{0pt}{%
     \setlength\@sepcolwidth{2em}%
@@ -222,14 +220,12 @@
   }{%
     \setlength{\@sepcolwidth}{\sepcolwidth}%
   }
-
   % maincolumn
   \ifdimequal{\maincolwidth}{0pt}{%
-    \setlength{\@maincolwidth}{\@komacvtextwidth-\@sepcolwidth-\@hintscolwidth}%
+\setlength{\@maincolwidth}{\@komacvtextwidth-\@sepcolwidth-\@hintscolwidth}%
   }{%
     \setlength{\@maincolwidth}{\maincolwidth}%
   }
-
   % doubleitem
   \ifdimequal{\dbitemmaincolwidth}{0pt}{%
     \setlength{\@dbitemmaincolwidth}{%
@@ -238,7 +234,6 @@
   }{%
     \setlength{\@dbitemmaincolwidth}{\dbitemmaincolwidth}%
   }
-
   % listitem
   \ifdimequal{\listitemsymbolwidth}{0pt}{%
     \settowidth{\@listitemsymbolwidth}{\listitemsymbol{}~}%
@@ -245,17 +240,15 @@
   }{%
     \setlength{\@listitemsymbolwidth}{\listitemsymbolwidth}%
   }
-    \setlength{\@listitemmaincolwidth}{\@maincolwidth-\@listitemsymbolwidth}%
-
+\setlength{\@listitemmaincolwidth}{\@maincolwidth-\@listitemsymbolwidth}%
   % listdoubleitem
   \ifdimequal{\listdbitemmaincolwidth}{0pt}{%
-    \setlength{\@listdbitemmaincolwidth}{\@maincolwidth-\@listitemsymbolwidth}%
-    \setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% %
+\setlength{\@listdbitemmaincolwidth}{\@maincolwidth-\@sepcolwidth-\@listitemsymbolwidth}%
+\setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% %
   }{%
     \setlength{\@listdbitemmaincolwidth}{\listdbitemmaincolwidth}%
-    \setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% %
+\setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}% %
   }
-
   % quote
   \ifdimequal{\quotewidth}{0pt}{%
     \setlength{\@quotewidth}{0.65\textwidth}%
@@ -267,7 +260,6 @@
   }{%
     \setlength\@afterquotevspace{\afterquotevspace}%
   }
-
   % title
   \ifundef{\@photoname}{% without picture:
     \setlength\@aftertitlevspace{\aftertitlevspace}
@@ -292,7 +284,6 @@
       \setlength{\@titlesepwidth}{\titlesepwidth}
     }
   }
-
   % afterelementsvspace
   \ifdimequal{\afterelementsvspace}{0pt}{%
     \setlength{\@afterelementsvspace}{0.25em}%
@@ -299,7 +290,6 @@
   }{%
     \setlength{\@afterelementsvspace}{\afterelementsvspace}%
   }
-
   % beforesecvspace
   \ifdimequal{\beforesecvspace}{0pt}{%
     \setlength{\@beforesecvspace}{3.5ex \@plus -1ex \@minus -.2ex}%
@@ -306,7 +296,6 @@
   }{%
     \setlength{\@beforesecvspace}{\beforesecvspace}%
   }
-
   % aftersecvspace
   \ifdimequal{\aftersecvspace}{0pt}{%
     \setlength{\@aftersecvspace}{2.3ex \@plus.2ex}%
@@ -319,7 +308,6 @@
   }{
     \setlength{\@beforesubsecvspace}{\beforesubsecvspace}%
   }
-
   % aftersubsecvspace
   \ifdimequal{\aftersubsecvspace}{0pt}{%
     \setlength{\@aftersubsecvspace}{1.5ex \@plus .2ex}%
@@ -329,29 +317,35 @@
 } % end AtEndPreamble
 \providecommand*\@addresssymbol{}
 \providecommand*\addresssymbol{}
-\providecommand*\@mobilesymbol{\Mobilefone~}
+\providecommand*\@mobilesymbol{\upshape{\Mobilefone}~}
 \providecommand*\mobilesymbol{}
-\providecommand*\@phonesymbol{\Telefon~}
+\providecommand*\@phonesymbol{\upshape{\Telefon}~}
 \providecommand*\phonesymbol{}
-\providecommand*\@faxsymbol{\FAX~}
+\providecommand*\@faxsymbol{\upshape{\FAX}~}
 \providecommand*\faxsymbol{}
-\providecommand*\@emailsymbol{\Letter~}
+\providecommand*\@emailsymbol{\upshape{\Letter}~}
 \providecommand*\emailsymbol{}
 \providecommand*\@homepagesymbol{}
 \providecommand*\homepagesymbol{}
-\providecommand*\@twittersymbol{\faTwitter~}
+\ifkomacv at fontawesome
+\providecommand*\@twittersymbol{\upshape{\faTwitter}~}
+\providecommand*\@githubsymbol{\upshape{\faGithub}~}
+\providecommand*\@facebooksymbol{\upshape{\faFacebook}~}
+\providecommand*\@linkedinsymbol{\upshape{\faLinkedin}~}
+\else
+\providecommand*\@twittersymbol{}
+\providecommand*\@githubsymbol{}
+\providecommand*\@facebooksymbol{}
+\providecommand*\@linkedinsymbol{}
+\fi
 \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}~}
 \providecommand*\listitemsymbol{}
-
 \AtEndPreamble{%
   \ifdefempty{\addresssymbol}{}{%
 \renewcommand*\@addresssymbol{\addresssymbol}
@@ -389,9 +383,7 @@
   \ifdefempty{\listitemsymbol}{}{%
 \renewcommand*\@listitemsymbol{\listitemsymbol}
 }
-
 } % end \AtEndPreamble
-
 \providecommand*{\firstname}{}
 \providecommand*{\familyname}{}
 \providecommand*{\acadtitle}{}
@@ -432,27 +424,41 @@
   \providecommand{\@photoframe}{#1}%
   \setlength{\@photowidth}{#2}%
   \providecommand{\@photoname}{#3}}
-\providecommand\headlinetype{none}
+\providecommand\@headlinealignment{}
+\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}
-    }}{}
+\ProvideDocumentCommand{\headline}{O{c} m o}
+{
+  \renewcommand\@headlinealignment{#1}
+  \renewcommand\@headlinetype{#2}
+  \renewcommand\@headlinecontent{
+    \IfNoValueTF {#3}
+    {
+      \ifstrequal{#2}{title}{\par\headlinestyle{Curriculum Vitae}}{}
+      \ifstrequal{#2}{name}{\par\firstnamestyle{\firstname}\ \familynamestyle{\familyname}\par\bigskip\acadtitlestyle{\acadtitle}}{}
+      }{\headlinestyle{#3}}
 }
+}
+\providecommand\setheadlinealignment{%
+    \ifdefstring{\@headlinealignment}{l}{\RaggedRight}{%
+      \ifdefstring{\@headlinealignment}{r}{\RaggedLeft}{\Centering}}
+}
+\providecommand\setheadlinetypename{%
+\ifdefstring{\@headlinetype}{name}{%
+    \setheadlinealignment
+    \headlinestyle{\@headlinecontent}
+}{}
+}
+\providecommand\setheadlinetypetitle{%
+  \ifdefstring{\@headlinetype}{title}{%
+    \setheadlinealignment
+    \headlinestyle{\@headlinecontent}
+}{}
+}
+\providecommand\setheadline{%
+  \setheadlinetypename
+  \setheadlinetypetitle
+}
 \newif\if at firstdetailselement\@firstdetailselementtrue
 \providecommand*{\@titledetailsnewline}{
   \if at firstdetailselement%
@@ -498,7 +504,7 @@
       @{}>{\raggedleft\arraybackslash}p{\@hintscolwidth}%
       @{\hspace{\@sepcolwidth}}p{\@maincolwidth}@{}%
     }%
-    \hintstyle{#2} & {#3}%
+    \hintstyle{#2} & {\@minipagetrue #3}%
   \end{tabular}\\[#1]%
 }
 \providecommand*{\cvdoubleitem}[5][\@afterelementsvspace]{%
@@ -578,17 +584,30 @@
       \href{#2}{\usefontofkomafont{linkfont}#2}}{%
       \href{#2}{\usefontofkomafont{linkfont}#1}}%
   }
+  \providecommand*\croplink{}
   \providecommand*{\httplink}[2][]{%
+    \renewcommand\croplink{\StrDel{#2}{http://}}
     \ifstrempty{#1}{%
-      \href{http://#2}{\usefontofkomafont{httplinkfont}#2}}{%
-      \href{http://#2}{\usefontofkomafont{httplinkfont}#1}}%
-  }
+      \IfSubStr{#2}{http:}{\href{#2}}{\href{http://#2}}{%
+        \usefontofkomafont{httplinkfont}\croplink}%
+      }{%
+      \IfSubStr{#2}{http:}{\href{#2}}{\href{http://#2}}{%
+        \usefontofkomafont{httplinkfont}#1}}
+    }
+  \providecommand*{\httpslink}[2][]{%
+    \renewcommand\croplink{\StrDel{#2}{https://}}
+    \ifstrempty{#1}{%
+      \IfSubStr{#2}{https:}{\href{#2}}{\href{https://#2}}{%
+        \usefontofkomafont{httpslinkfont}\croplink}%
+      }{%
+      \IfSubStr{#2}{https:}{\href{#2}}{\href{https://#2}}{%
+        \usefontofkomafont{httpslinkfont}#1}}
+    }
   \providecommand*{\emaillink}[2][]{%
     \ifstrempty{#1}{%
       \href{mailto:#2}{\usefontofkomafont{emaillinkfont}#2}}{%
       \href{mailto:#2}{\usefontofkomafont{emaillinkfont}#1}}%
   }
-
 \hypersetup{
   breaklinks,
   unicode,
@@ -617,7 +636,6 @@
 \providecommand*\pdfsubject{}
 \providecommand*\pdftitle{}
 \providecommand*\pdfkeywords{}
-
 \AtEndPreamble{%
 \providecommand*\@allbordercolors{colortheme}
 \ifdefempty{\allbordercolors}{}{\renewcommand*\@allbordercolors{\allbordercolors}}
@@ -646,7 +664,7 @@
 \AtBeginDocument{%
   \raggedbottom
 } % End AtBeginDocument
-\clearscrheadfoot
+\clearpairofpagestyles
 \RequirePackage{komacv-\komacv at style}
 \endinput
 %%



More information about the tex-live-commits mailing list.