On 11/24/2012 12:05 PM, Jean-Marc Lasgouttes wrote:
Le 24/11/2012 15:25, Uwe Stöhr a écrit :
I have a question regarding layouts:

For modernCV I have the case that an itemize needs to be within another
command, e.g.

\cvlistitem{Another single item.\begin{itemize}\item
Sub-item.\end{itemize}}

So I need to nest the itemize into the \cvlistitem. but how is this
done? I can nest an itemize into other lists like an enumerate without
problems so there must be a way to make it also nestable to other
commands but I cannot find out how.

Define cvslistitem as an InsetLayout?

Implement multiline command type? We do not have it, but LaTeX does accept that.

Could we work around it by defining an environment here, in place of the command? So that what's in the environment becomes the argument to the command?

Richard

Reply via email to