multicols to respect \nopagebreak

Posted by hack.augusto on Stack Overflow See other posts from Stack Overflow or by hack.augusto
Published on 2010-05-23T03:56:04Z Indexed on 2010/05/23 4:00 UTC
Read the original article Hit count: 438

Filed under:
|

I have a list inside multicols, but the list item is being break, how could I suppress this behavior?

here is a bit of code:

\documentclass{article}
\usepackage{multicol}
\begin{document}
  \begin{multicols}{2}
  \begin{itemize}
    \item{1}
      \subitem{2}
% i want to break here
    \item{asdf}
% its being break here
      \subitem{qwerty}
% or to break here
    \item{lorem}
      \subitem{iptsum}
      \subitem{dvorak}
  \end{itemize}
  \end{multicols}
\end{document}

© Stack Overflow or respective owner

Related posts about latex

Related posts about multicol