I have defined a command
which I obviously have to call like
However I rather would like to use two separate commands without parameters (my reason is in endnote [*]), so that the call sequence looks like:
\beginCV My text \endCV
How can I define these commands, so that the
\parbox gets appropriately "opened" and "closed".
[*] I use
pandoc to convert markdown documents to LaTeX or HTML, and I tweak the LaTeX output a bit with some helper commands. This does not affect the HTML output, as long as no text is a parameter to a LaTeX command.