summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/komacv-rg/komacv-addons.sty
blob: 5838b03dacb1c39afe0598ecba216b20dfc5af11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
%%
%% This is file `komacv-addons.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% komacv-addons.dtx  (with options: `package')
%% 
%% Copyright (C) 2016-2018 by Richard Grewe <r-g+tex@posteo.net>
%% 
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.2 of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.2 or later is part of all distributions of LaTeX version
%% 1999/12/01 or later.
%% 
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{komacv-addons}
    [2018/11/02 v1.1 Various small addons and fixes to komacv]
\newcommand*\signaturecity{}
\newcommand*\beforesigvspace{3cm}
\newcommand\Signature[1][0.382\textwidth]{%
  \par
  \begin{tabular}{@{}p{#1}@{}}
    \rule{0pt}{\beforesigvspace}\\\hline
    \signaturecity, \today\hfill
  \end{tabular}}
\RequirePackage{letltxmacro}
\LetLtxMacro{\kcvml@origcvitem}{\cvitem}
\renewcommand*{\cvitem}[3][\@afterelementsvspace]{%
  \kcvml@origcvitem[#1]{#2}{\@minipagetrue #3}}
\AtEndPreamble{
  \ifdimequal{\listdbitemmaincolwidth}{0pt}{%
    \setlength{\@listdbitemmaincolwidth}
              {\@maincolwidth-\@sepcolwidth-\@listitemsymbolwidth}%
    \setlength{\@listdbitemmaincolwidth}{0.475\@listdbitemmaincolwidth}%
  }{}%
}
\endinput
%%
%% End of file `komacv-addons.sty'.