I have a function in a moderncv format that I need more than 9 arguments for. If I use the "\foocontinued" How to define a command that takes more than 9 arguments I have the following problems.
If I place
\foocontinuedinside the item like\cvitem{}{\foocontinued}I get the following error: "Argument of \foocontinued has an extra }"If I place
\foocontinuedoutside the cvitem but inside the command foo the tenth argument appears on a line as shown by the MWE below.
\documentclass[letterpaper]{moderncv}
\moderncvstyle{classic}
\usepackage[maxbibnames=99,backend=biber,defernumbers=true,sorting=ydnt,url = false]{biblatex}
\firstname{Author}
\familyname{}
\title{Curriculum Vitae}
\newcommand\foo[9]{%
\cvitem{[#1]}{
#2
#3
#4
#5
#6
#7
#8
#9 .The end of the normal function. Item 10 should follow this but instead in on a new line. } \foocontinued }
\newcommand\foocontinued[1]{
This is item #1
}
% build the document
\begin{document}
\makecvtitle
\foo{1}{2}{3}{4}{5}{6}{7}{8}{9}{10}
\end{document}
How can I get a 10th argument inside cvitem?