65 lines
1.3 KiB
Plaintext
65 lines
1.3 KiB
Plaintext
|
%% Copyright (C) 2018-2022 Achim D. Brucker, https://www.brucker.ch
|
||
|
%%
|
||
|
%% License:
|
||
|
%% This program can be redistributed and/or modified under the terms
|
||
|
%% of the LaTeX Project Public License Distributed from CTAN
|
||
|
%% archives in directory macros/latex/base/lppl.txt; either
|
||
|
%% version 1 of the License, or any later version.
|
||
|
%%
|
||
|
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
|
||
|
\ProvidesPackage{epsrc}%
|
||
|
[]
|
||
|
\usepackage{xspace}
|
||
|
|
||
|
\def\ep@type{}
|
||
|
\newcommand{\type}[1]{\gdef\ep@type{#1}}
|
||
|
\def\ep@project{}
|
||
|
\def\ep@projectshort{}
|
||
|
\def\ep@projectlong{}
|
||
|
|
||
|
\newcommand{\projectitle}[2][]{%
|
||
|
\ifthenelse{ \equal{#1}{} }
|
||
|
{%
|
||
|
\gdef\ep@projectlong{#2}%
|
||
|
\gdef\ep@projectshort{#2}%
|
||
|
\gdef\ep@fulltitle{#2}%
|
||
|
}{%
|
||
|
\gdef\ep@projectlong{#2}%
|
||
|
\gdef\ep@projectshort{#1}%
|
||
|
\gdef\ep@project{#2 (#1)}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
\newcommand{\project}{\ep@project\xspace}
|
||
|
\newcommand{\projectlong}{\ep@projectlong\xspace}
|
||
|
\newcommand{\projectshort}{\ep@projectshort\xspace}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
%
|
||
|
\AtBeginDocument{
|
||
|
\@ifpackageloaded{currvita}{
|
||
|
\newcommand{\xitem}[1][]{\item[%
|
||
|
{%
|
||
|
\raisebox{0pt}[1ex][0pt]{\makebox[\cvlabelwidth][l]%
|
||
|
{\parbox[t]{\cvlabelwidth}{\raggedleft\cvlabelfont #1}}%
|
||
|
}%
|
||
|
}%
|
||
|
]}
|
||
|
|
||
|
\newcommand{\cvsummary}[1]{%
|
||
|
\xitem[] #1%
|
||
|
}
|
||
|
\newcommand{\litem}[2][]{%
|
||
|
\xitem[#1] #2
|
||
|
}
|
||
|
\addtolength{\cvlabelwidth}{2mm}
|
||
|
}{}
|
||
|
}
|
||
|
%
|
||
|
|
||
|
|
||
|
\InputIfFileExists{epsrc2.config}{}{}
|
||
|
\endinput
|