I would like to create a "command" that does this for me:
\cventry{jobtitle}{organisation}{date}{description}{bulletpoint...}
such as:
\cventry{Potato peeler}{TESCO}{1999 -- to date}{
Responsible for the peeling of all potatoes}{
Sped-up potato peeling by 15 percent}{
Increased potatoes' smoothness by 20 percent as measured by 2004 customer survey}
yielding:
\textbf{Potato peeler} \hfill 1999 -- to date \\
TESCO \\
Responsible for the peeling of all potatoes \\
\begin{list2}
\item Sped-up potato peeling by 15 percent
\item Increased potatoes' smoothness by 20 percent as measured by 2004 customer survey
\end{list2}
Notice the varargs nature of the {bulletpoints...} "argument", by that I mean that the "command" could accept just one parameter, two parameters, n parameters, and still work precisely as intended.
Please provide a code example.
Optional: in your code, if it's possible in TeX/LaTeX (I don't know), allow creation of a "CV entry" data structure to hold all data pertaining to a single "CV entry" (title, dates, bullet-point array, ...) and an "array"/"list" of such objects so that the latter may be passed to a "lay out CV entry" function, which would simply typeset each "CV entry" in turn, and then layout the "CV entry" according to the spec above".
Thanks a lot for your help, I think I will learn a lot from this answer so I am grateful in advance for your input.
