<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Barbara wrote<br><br>> if i were coding this in plain tex,<br>
> i would set a switch to indicate that<br>
> a heading had just occurred<br><br></div>"list item" rather than "heading" (since theorem uses lists) but yes that is exactly<br></div>what latex does: it detects that one list is starting directly inside another and<br></div>invokes a special layout.<br><br></div>But by adding $ $ or \leavemode or \mbox{} etc you defeat that and hide<br></div>the outer list, which is why you can get a bad page break.<br><br></div>The layout latex uses for immediately nested lists is to move the item out<br></div>of the inner list and place it next to the item label of the outer list.<br><br></div>It does this consistently whether it's itemize in a theorem or an itemize as the<br></div>first thing after \item in an enumerate or outer itemize.<br><br></div>This is a deliberate design decision (which as far as I can tell no one likes:-)<br></div>but the way to fix that is to change the layout used for nested lists, not to hide<br></div>the fact that the lists are nested.<br><br></div>(Might post some code later, no time now:-)<br><br></div>David<br><br></div>