summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/komacv-rg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-01 01:33:46 +0000
committerKarl Berry <karl@freefriends.org>2017-09-01 01:33:46 +0000
commitcb5a5b669441aa92cac253a77b654a46ed53d35b (patch)
treef28beffa9400fa6b3013c808bb3335950ad8a2c4 /Master/texmf-dist/tex/latex/komacv-rg
parent808038ac2598fefffddf21d148841a7630040c0f (diff)
komacv-rg (31aug17)
git-svn-id: svn://tug.org/texlive/trunk@45187 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/komacv-rg')
-rw-r--r--Master/texmf-dist/tex/latex/komacv-rg/komacv-addons.sty45
-rw-r--r--Master/texmf-dist/tex/latex/komacv-rg/komacv-lco.sty126
-rw-r--r--Master/texmf-dist/tex/latex/komacv-rg/komacv-multilang.sty105
3 files changed, 276 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/komacv-rg/komacv-addons.sty b/Master/texmf-dist/tex/latex/komacv-rg/komacv-addons.sty
new file mode 100644
index 00000000000..f21d5b342a7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/komacv-rg/komacv-addons.sty
@@ -0,0 +1,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-2017 by Richard Gay <richard.gay@t-online.de>
+%%
+%% 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}
+ [2017/08/30 v1 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'.
diff --git a/Master/texmf-dist/tex/latex/komacv-rg/komacv-lco.sty b/Master/texmf-dist/tex/latex/komacv-rg/komacv-lco.sty
new file mode 100644
index 00000000000..bd697ff6946
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/komacv-rg/komacv-lco.sty
@@ -0,0 +1,126 @@
+%%
+%% This is file `komacv-lco.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% komacv-lco.dtx (with options: `package')
+%%
+%% Copyright (C) 2016-2017 by Richard Gay <richard.gay@t-online.de>
+%%
+%% 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-lco}
+ [2017/08/30 v0.9 Letter class options usable for komacv]
+\RequirePackage{etoolbox}
+\RequirePackage{scrkbase}
+\RequirePackage{marvosym,fontawesome}
+\providecommand{\newkomavar}{%
+ \@ifstar{\kcvlco@newkomavar}{\kcvlco@newkomavar}}
+\newcommand{\kcvlco@newkomavar}[2][\relax]{%
+ \ifkomavar{#2}%
+ {\kcvlco@error{KOMA variable `#2' already defined}}%
+ {\csdef{kcvlco@@var@#2}{\empty}%
+ \begingroup\def\@tempa{#1}\def\@tempb{\relax}%
+ \ifx\@tempa\@tempb\endgroup\else
+ \endgroup\csdef{kcvlco@@desc@#2}{#1}\fi}}
+\providecommand{\setkomavar}{%
+ \@ifstar{\kcvlco@setkomadesc}{\kcvlco@setkomavar}}
+\newcommand{\kcvlco@setkomavar}[1]{\kcvlco@onlyifdef{#1}{\@ifnextchar[%
+ {\kcvlco@setkomavar@i{#1}}{\kcvlco@setkomavar@i{#1}[\relax]}}}
+\long\def\kcvlco@setkomavar@i#1[#2]#3{%
+ \csdef{kcvlco@@value@#1}{#3}%
+ \csuse{scr@#1@postsetvar}%
+ \begingroup\def\@tempa{#2}\def\@tempb{\relax}%
+ \ifx\@tempa\@tempb\endgroup\else
+ \endgroup\csdef{kcvlco@@desc@#1}{#2}\fi}
+\newcommand{\kcvlco@setkomadesc}[2]{%
+ \csdef{kcvlco@@desc@#1}{#2}}
+\providecommand{\usekomavar}{%
+ \@ifstar{\kcvlco@usekomadesc}{\kcvlco@usekomavar}}
+\newcommand{\kcvlco@usekomavar}[2][\@firstofone]{%
+ \kcvlco@onlyifdef{#2}{#1{\csuse{kcvlco@@value@#2}}}}
+\newcommand{\kcvlco@usekomadesc}[2][\@firstofone]{%
+ \kcvlco@onlyifdef{#2}{#1{\csuse{kcvlco@@desc@#2}}}}
+\providecommand{\ifkomavarempty}{%
+ \@ifstar{\kcvlco@ifemptydesc}{\kcvlco@ifemptyvar}}
+\newcommand{\kcvlco@ifemptyvar}[1]{\ifcsvoid{kcvlco@@value@#1}}
+\newcommand{\kcvlco@ifemptydesc}[1]{\ifcsvoid{kcvlco@@desc@#1}}
+\providecommand{\ifkomavar}[1]{\ifcsdef{kcvlco@@var@#1}}
+\providecommand{\ifkomavarenabled}[1]{\csuse{kcvlco@@enab@#1}}
+\providecommand\LoadLetterOption[1]{\input{#1.lco}}
+\providecommand\LoadLetterOptions[1]{\forcsvlist{\LoadLetterOption}{#1}}
+\providecommand*{\emaillink}[2][]{%
+ \ifstrempty{#1}{%
+ \href{mailto:#2}{\usefontofkomafont{emaillinkfont}#2}}{%
+ \href{mailto:#2}{\usefontofkomafont{emaillinkfont}#1}}}
+\IfExistskomafont{emaillinkfont}{}{\newkomafont{emaillinkfont}{}}
+\providecommand*{\httplink}[2][]{%
+ \ifstrempty{#1}{%
+ \href{http://#2}{\usefontofkomafont{httplinkfont}#2}}{%
+ \href{http://#2}{\usefontofkomafont{httplinkfont}#1}}}
+\IfExistskomafont{httplinkfont}{}{\newkomafont{httplinkfont}{}}
+\providecommand*{\httpslink}[2][]{%
+ \ifstrempty{#1}{%
+ \href{https://#2}{\usefontofkomafont{httplinkfont}#2}}{%
+ \href{https://#2}{\usefontofkomafont{httplinkfont}#1}}}
+\newcommand\kcvlco@newvar[4][\relax]{%
+ \ifkomavar{#2}%
+ {\begingroup\def\@tempa{#1}\def\@tempb{\relax}%
+ \ifx\@tempa\@tempb\endgroup\else
+ \endgroup\setkomavar*{#2}{#1}\fi}
+ {\newkomavar[{#1}]{#2}}%
+ \ifstrempty{#4}%
+ {\csdef{kcvlco@@enab@#2}{\ifbool{true}}}%
+ {\csdef{kcvlco@@enab@#2}{\ifbool{#4}}\KOMA@ifkey{#2}{#4}}%
+ \@ifclassloaded{komacv}{%
+ \ifstrempty{#4}%
+ {\csappto{scr@#2@postsetvar}{\ifkomavarempty{#2}%
+ {\let#3=\empty}%
+ {\kcvlco@storekomavar{#2}{#3}}}}%
+ {\csappto{scr@#2@postsetvar}{\ifkomavarempty{#2}%
+ {\let#3=\empty}%
+ {\ifbool{#4}{\kcvlco@storekomavar{#2}{#3}}{\let#3=\empty}}}}%
+ \csuse{scr@#2@postsetvar}}{}}
+\providecommand{\kcvlco@error}[1]{%
+ \PackageError{komacv-lco}{#1}{}}
+\providecommand{\kcvlco@errundef}[1]{%
+ \kcvlco@error{KOMA variable `#1' undefined}}
+\providecommand{\kcvlco@onlyifdef}[2]{%
+ \ifkomavar{#1}{#2}{\kcvlco@errundef{#1}}}
+\newcommand{\kcvlco@storekomavar}[2]{\letcs#2{kcvlco@@value@#1}}
+\kcvlco@newvar[\Telefon]{fromphone}{\phonenr}{@phone}
+\kcvlco@newvar[\Mobilefone]{frommobilephone}{\mobile}{@mobilephone}
+\kcvlco@newvar[\FAX]{fromfax}{\faxnr}{@fax}
+\kcvlco@newvar[\Letter]{fromemail}{\email}{@email}
+\kcvlco@newvar{fromurl}{\homepage}{@www}
+\ifkomavar{fromname}{}{\newkomavar{fromname}}
+\setkomavar{fromname}{%
+ \usekomavar{fromfirstname}~\usekomavar{fromfamilyname}}
+\ifkomavar{fromaddress}{}{\newkomavar{fromaddress}}
+\setkomavar{fromaddress}{%
+ \usekomavar{fromaddressstreet}\\ \usekomavar{fromaddresscity}}
+\ifkomavar{place}{}{\newkomavar{place}}
+\ifkomavar{location}{}{\newkomavar{location}}
+\kcvlco@newvar{fromfirstname}{\firstname}{}
+\kcvlco@newvar{fromfamilyname}{\familyname}{}
+\kcvlco@newvar{fromacadtitle}{\acadtitle}{}
+\kcvlco@newvar{fromaddressstreet}{\addressstreet}{}
+\kcvlco@newvar{fromaddresscity}{\addresscity}{}
+\kcvlco@newvar[\faTwitter]{fromtwitter}{\twitter}{kcvlco@@twitter}
+\kcvlco@newvar[\faGithub]{fromgithub}{\github}{kcvlco@@github}
+\kcvlco@newvar[\faFacebook]{fromfacebook}{\facebook}{kcvlco@@facebook}
+\kcvlco@newvar[\faLinkedin]{fromlinkedin}{\linkedin}{kcvlco@@linkedin}
+\kcvlco@newvar{fromextrainfo}{\extrainfo}{kcvlco@@extrainfo}
+\endinput
+%%
+%% End of file `komacv-lco.sty'.
diff --git a/Master/texmf-dist/tex/latex/komacv-rg/komacv-multilang.sty b/Master/texmf-dist/tex/latex/komacv-rg/komacv-multilang.sty
new file mode 100644
index 00000000000..18d71c24618
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/komacv-rg/komacv-multilang.sty
@@ -0,0 +1,105 @@
+%%
+%% This is file `komacv-multilang.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% komacv-multilang.dtx (with options: `package')
+%%
+%% Copyright (C) 2016-2017 by Richard Gay <richard.gay@t-online.de>
+%%
+%% 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-multilang}
+ [2017/08/30 v0.9 Package for multi-lingual extension to komacv]
+
+\RequirePackageWithOptions{multilang}
+\RequirePackage{multilang-tags}
+\RequirePackage{multilang-sect}
+\PassOptionsToPackage{useregional}{datetime2}
+\RequirePackage{datetime2,datetime2-calc}
+\RequirePackage{translations}
+\NewMultilangType{date}{\DTMdate{#1}}
+\NewMultilangType{shortdate}{%
+ \DTMsetdatestyle{Myyyy}\DTMdate{#1}\DTMsetdatestyle{default}}
+\NewMultilangType[2]{daterange}{%
+ \DTMsetdatestyle{Myyyy}\DTMdate{#1} --
+ \ifstrequal{#2}{*}%
+ {\GetTranslation{today}}%
+ {\DTMdate{#2}}\DTMsetdatestyle{default}}
+\DTMnewdatestyle{Myyyy}{%
+ \def\DTMdisplaydate##1##2##3##4{\DTMtwodigits{##2}/##1}}
+\DeclareTranslation{english}{today}{today}
+\DeclareTranslation{german}{today}{heute}
+\DeclareTranslation{french}{today}{aujourd'hui}
+\NewMultilangType{list}{\kcvml@list{#1}}
+\newcommand\kcvml@list[1]{%
+ \begin{minipage}[t]{\linewidth}%
+ \let\Item=\kcvml@listitem
+ \compactitem
+ #1%
+ \ifhmode\unskip\strut\fi
+ \endcompactitem
+ \end{minipage}}
+\NewMultilangCmd{\kcvml@listitem}{disablable,
+ command=\item, margs=value}
+\NewMultilangCmd{\BasicEntry}{disablable,
+ command=\cvitem,
+ oargs={spacing},
+ margs={header,text},
+ alias/both={header,text},
+}
+\NewMultilangCmd{\CommentedEntry}{disablable,
+ command=\cvitemwithcomment,
+ oargs={spacing},
+ margs={header,text,comment},
+ alias/all={header,text,comment},
+}
+\NewMultilangCmd{\DoubleEntry}{disablable,
+ command=\cvdoubleitem,
+ oargs={spacing},
+ margs={header1,text1,header2,text2},
+ alias/first={header1,text1},
+ alias/second={header2,text2},
+}
+\NewMultilangCmd{\EducationEntry}{disablable,
+ command=\cventry,
+ oargs={spacing},
+ margs={when,degree,institution,where,grade,details},
+ defaults={details={}},
+}
+\NewMultilangCmd{\EmploymentEntry}{disablable,
+ command=\cventry,
+ oargs={spacing},
+ margs={when,title,employer,where,@grade,description},
+ defaults={@grade={}, description={}},
+}
+\NewMultilangCmd{\AchievementEntry}{disablable,
+ command=\cventry,
+ oargs={spacing},
+ margs={when,title,occasion,where,@grade,description},
+ defaults={@grade={}, occasion={}, where={}, description={}},
+}
+\NewMultilangCmd{\EntryListItem}{disablable,
+ command=\cvlistitem,
+ oargs={spacing},
+ margs={item},
+}
+\NewMultilangCmd{\EntryListDblItem}{disablable,
+ command=\cvlistdoubleitem,
+ oargs={spacing},
+ margs={first,second},
+ alias/both={first,second},
+}
+\endinput
+%%
+%% End of file `komacv-multilang.sty'.