[texhax] Nested lists and newenvironment

William F Hammond hmwlfsr at yahoo.com
Fri Mar 7 22:15:20 CET 2014


> Thanks for the suggestion.  I changed the first trivlist
> to be a menulist but the problem is unchanged: the 2. and
> 3. for the menulist appear not in front of their
> associated text ("This is a nother test" and "And
> another.") but instead in the margin to the left of the
> 1. for the second environment.  Source below.  (Of course,
> perhaps I misunderstood you.)  Is there a way to get them
> to appear where \item puts them?

OK, yes, trivlist is not the issue.  Rather, it's your "any
text at all".

For the sole item in the trivlist try the hack

\item[]~\vspace*{-5ex}

"~" provides "any text at all" while "\," does not.

                              -- Bill

Email: hmwlfsr at yahoo.com
       gellmu at gmail.com
https://www.facebook.com/william.f.hammond
http://www.albany.edu/~hammond/




More information about the texhax mailing list