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
---
 .../tex/latex/komacv/komacv-oldstyle.sty           | 32 ++++++++++++++++------
 1 file changed, 24 insertions(+), 8 deletions(-)

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

diff --git a/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty b/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
index c749a59a64d..ea85fbeeed8 100644
--- a/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
+++ b/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright (C) 2014 by Salome Södergran (salome.soedergran@gmx.ch)
+%% Copyright (C) 2014-2017 by Salome Södergran (salome.soedergran@gmx.ch)
 %% 
 %% This file may be distributed and/or modified under the conditions of
 %% the LaTeX Project Public License, either version 1.3 of this license
@@ -22,7 +22,9 @@
 %% 
 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
 \ProvidesPackage{komacv-oldstyle}
-    [2014/08/10 v1.0.1 style package for komacv class]
+    [2017/04/12 v1.1 style package for komacv class]
+\changes{v1.1}{2017/04/12}{New macro headline, and new correspondent elements headlinestyle, headlinecolor, headlinefont}
+
 \KOMAoptions{DIV=15}
 \setlength{\hintscolwidth}{3cm}
 \addtokomafont{addressfont}{\small}
@@ -65,10 +67,10 @@
    \savebox{\@infobox}{%
      \parbox[b]{\@infocolwidth}{%
        % put the first line on the same baseline as the first sectiontitle:
-       {\usekomafont{section}
+       {\usefonttokomafont{section}
          \vspace*{1.6ex}
        }
-       \raggedleft\addressstyle{%
+       \RaggedLeft\addressstyle{%
          \@infocontent%
        }
      }% end parbox
@@ -128,14 +130,28 @@
 \AtEndDocument{%
 \end{addmargin}
 }
-\renewcommand{\section}[1]{\@cvsimplesection{#1}}
-\renewcommand{\subsection}[1]{\@cvsimplesubsection{#1}}
+\setcounter{secnumdepth}{0}
+
+  \RedeclareSectionCommand
+  [
+    beforeskip=\@beforesecvspace,
+    afterskip=\@aftersecvspace,
+    indent=\dimexpr\@sepcolwidth+\@hintscolwidth,
+    font=\color{@seccolor}
+   ]{section}
+
+ \RedeclareSectionCommand
+  [
+    beforeskip=\@beforesecvspace,
+    afterskip=\@aftersecvspace,
+   font=\color{@subseccolor}
+   ]{subsection}
 \renewcommand*{\cvitem}[3][\@afterelementsvspace]{%
   \begin{tabular}{%
       @{}p{\@maincolwidth}%
       @{\hspace{\@sepcolwidth}}p{\@hintscolwidth}@{}%
     }%
-    {#3} & \raggedright\hintstyle{#2}%
+    {#3} & \RaggedRight\hintstyle{#2}%
   \end{tabular}\\[#1]%
 }
 
@@ -144,7 +160,7 @@
    \begin{minipage}[t]{\@dbitemmaincolwidth}#3\end{minipage}%
    \hspace*{\@sepcolwidth}%
    \begin{minipage}[t]{\@hintscolwidth}%
-     \noindent\raggedleft\hintstyle{#2}
+     \noindent\RaggedLeft\hintstyle{#2}
    \end{minipage}%
    \hspace*{\@sepcolwidth}%
    \begin{minipage}[t]{\@dbitemmaincolwidth}%
-- 
cgit v1.2.3

