summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-04-12 21:08:50 +0000
committerKarl Berry <karl@freefriends.org>2017-04-12 21:08:50 +0000
commit707a35c0418c756f9d5bb9ce628107ffbaaa09cd (patch)
tree341f1637e5c25d2a9cfca47b2dcc8959c0e02799 /Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty
parent27cdd6bfa8154741f66deea535349eedbc455a28 (diff)
komacv (12apr17)
git-svn-id: svn://tug.org/texlive/trunk@43766 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty')
-rw-r--r--Master/texmf-dist/tex/latex/komacv/komacv-oldstyle.sty32
1 files changed, 24 insertions, 8 deletions
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}%