From: Jakub Czajka Date: Sun, 4 Feb 2024 11:09:09 +0000 (+0100) Subject: Rename \item to \event. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=fa900820deda1c9ad04e13dd59ca0bdbcb472731;p=cv.git Rename \item to \event. \item clashes with lists. See [1, 2] for more context. [1] https://github.com/ntd/tccv?tab=readme-ov-file#bullet-points-in-eventlist [2] https://github.com/vwxyzjn/tccv-bullet-points --- diff --git a/third_party/tccv.cls b/third_party/tccv.cls index f5c296c..cc89f97 100644 --- a/third_party/tccv.cls +++ b/third_party/tccv.cls @@ -166,17 +166,17 @@ \ifstrempty{#1}{}{\item[\SYMBOL{218}] \href{https://#1}{#1}} \end{keyvaluelist}} -% Every \item can be followed by one or more paragraphs +% Every \event can be followed by one or more paragraphs % of description: % -% \item +% \event % {date range} % {company} % {role} % One or more paragraphs describing what achieved during this application. \newenvironment{eventlist}{% \newcommand*\inskip{} - \renewcommand\item[3]{% + \newcommand\event[3]{% \inskip% {\raggedleft\textsc{##1}\\[1pt]} \ifstrempty{##2}{}{##2\\[2pt]}