From 707a35c0418c756f9d5bb9ce628107ffbaaa09cd Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 12 Apr 2017 21:08:50 +0000
Subject: komacv (12apr17)

git-svn-id: svn://tug.org/texlive/trunk@43766 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/latex/komacv/komacv-casual.sty  | 45 +++++++++++++++-------
 1 file changed, 31 insertions(+), 14 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/komacv/komacv-casual.sty')

diff --git a/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty b/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty
index 0e0e1abb134..78e9e35da94 100644
--- a/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty
+++ b/Master/texmf-dist/tex/latex/komacv/komacv-casual.sty
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2014 by Salome Södergran (salome.soedergran@gmx.ch)
+%% Copyright (C) 2014-2017 by Salome Södergran (salome.soedergran@gmx.ch)
 %% 
 %% This file may be distributed and/or modified under the conditions of
 %% the LaTeX Project Public License, either version 1.3 of this license
@@ -22,19 +22,21 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesPackage{komacv-casual}
-    [2014/08/10 v1.0.1 style package for komacv class]
+    [2017/04/12 v1.1 style package for komacv class]
+\changes{v1.1}{2017/04/12}{New macro headline, and new correspondent elements headlinestyle, headlinecolor, headlinefont}
+
 \addtokomafont{firstnamefont}{\sffamily\fontsize{38}{40}}
 \addtokomafont{acadtitlefont}{\sffamily}
 \addtokomafont{addressfont}{\sffamily\small}
 \addtokomafont{hintfont}{\sffamily}
 \newsavebox\@fboxa
 \newsavebox\@fboxb
-\newcommand*\@sboxa[1]{\sbox\@fboxa{#1}}
-\newcommand*\@sboxb[1]{\sbox\@fboxb{#1}}
-\newcommand*\@uboxa{\usebox\@fboxa}
-\newcommand*\@uboxb{\usebox\@fboxb}
-\newcommand*\@flushf{\strut\@uboxa\@sboxa{}\@sboxb{}}
-\newcommand*\addtofooter[2][\@fsymbol]{%
+\providecommand*\@sboxa[1]{\sbox\@fboxa{#1}}
+\providecommand*\@sboxb[1]{\sbox\@fboxb{#1}}
+\providecommand*\@uboxa{\usebox\@fboxa}
+\providecommand*\@uboxb{\usebox\@fboxb}
+\providecommand*\@flushf{\strut\@uboxa\@sboxa{}\@sboxb{}}
+\providecommand*\addtofooter[2][\@fsymbol]{%
   \@sboxb{\@uboxa{}#1#2}%
   \settowidth\@fboxwidth{\@uboxb}%
   \ifdimgreater{\@footerwidth}{\@fboxwidth}{%
@@ -54,7 +56,7 @@
       \hspace*{\fill}%
       \parbox{\@footerwidth}{%
         \centering%
-        \color{@addresscolor}\usekomafont{addressfont}%
+        \color{@addresscolor}\usefonttokomafont{addressfont}%
         \ifdefempty{\addressstreet}{}{%
           \addtofooter[]{\@addresssymbol\addressstreet}%
           \ifdefempty{\addresscity}{}{%
@@ -98,14 +100,14 @@
   \usebox{\@picbox}%
   \hspace*{\@titlesepwidth}%
   \parbox[b]{\@titlenamewidth}{%
-    \raggedleft{\firstnamestyle\firstname}%
+    \RaggedLeft{\firstnamestyle\firstname}%
     ~{\familynamestyle\familyname}\\
-    \raggedleft\color{@firstnamecolor}\rule{\@titlenamewidth}{.25ex}\par
+    \RaggedLeft\color{@firstnamecolor}\rule{\@titlenamewidth}{.25ex}\par
   }% end parbox
   \vspace{\@aftertitlevspace}
   %% optional acadtitle
   \ifdefempty{\acadtitle}{}{%
-    \raggedleft\acadtitlestyle{\acadtitle}}\\[2.5em]%
+    \RaggedLeft\acadtitlestyle{\acadtitle}}\\[2.5em]%
   %% optional quote
   \ifdefempty{\cvquote}{}{%
     {\centering
@@ -119,8 +121,23 @@
 \AtBeginDocument{%
   \thispagestyle{footer}
 } % end \AtBeginDocument
-\renewcommand{\section}[1]{\@cvbarsection{#1}}
-\renewcommand{\subsection}[1]{\@cvbarsubsection{#1}}
+\setcounter{secnumdepth}{1}
+
+\RedeclareSectionCommand
+  [
+    beforeskip=\@beforesecvspace,
+    afterskip=\@aftersecvspace,
+    font=\color{@seccolor}
+   ]{section}
+\renewcommand*\thesection{\color{@secbarcolor}\rule{\@hintscolwidth}{1ex}\hspace{-1ex}\hspace{\@sepcolwidth}}
+
+ \RedeclareSectionCommand
+  [
+    beforeskip=\@beforesecvspace,
+    afterskip=\@aftersecvspace,
+    indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
+    font={\normalfont\color{@subseccolor}}
+    ]{subsection}
 \endinput
 %%
 %% End of file `komacv-casual.sty'.
-- 
cgit v1.2.3

