template_tex/tex/view/place.tex

12 lines
351 B
TeX

% args: company's name, period, position, url, tasks (separated by ;).
\newcommand{\place}[5]{%
\noindent
\sjplace{#1}{#2}\newline
\stext{#3}\newline
\setsepchar{;}%
\ignoreemptyitems%
\readlist\tasks{#5}%
\foreachitem\task\in\tasks{\stext{\slist{\sbullet}\ \task}\newline}
\def\plink{#4}\ifx\plink\empty{}\else{\sjlink{#4}\spar}\fi
}