69 lines
1.4 KiB
TeX
69 lines
1.4 KiB
TeX
%% 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.
|
|
%% OR
|
|
%% The 2-clause BSD-style license.
|
|
%%
|
|
%% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
|
|
%%
|
|
\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{epsrc.config}{}{}
|
|
\endinput
|