[Tex/LaTex] \enclosure without \makeletterclosing

moderncv

I am trying to make an enclosure to my CV (not the cover letter!) and I have so far only found the command \enclosure{CV}. But this command has to be combined with \makeletterclosing, which puts my name at the end of the CV where it doesn't belong.

\section{Hobbies}
\cvitem{}{Hiking, reading, gardening, swimming, kayaking, tennis}


\enclosure{CV --> this does not show unless I add \makeletterclosing}
\end{document}

Does someone have a solution for this problem?

Thanks for help!

Best Answer

You should just set this information as-is using the same style as what is used by \enclosure:

enter image description here

The above output is produced from the moderncv template.tex with the addition of

{\color{color2}\itshape\enclname: Some strange enclosure}

{\color{color2}\itshape Email: Some strange enclosure}

immediately before the start of the bibliography.

Related Question