开发者

how to hold together a text of a item using list enviroment in LaTeX?

开发者 https://www.devze.com 2022-12-20 04:22 出处:网络
With this LaTeX code: \\begin{list} \\item my first item title my first item content \\item my second item title

With this LaTeX code:


\begin{list}
\item my first item title

    my first item content

\item my second item title

    my second item content

\end{list}

at the end of the page break in two parts a "item" like:

--------page 1--------
...
my first item title

my first item content

my second item title
----------------------

--------page 2--------
my second item content
----------------------

but i want to generate:

--------page 1--------
...
my first item title
my first item content

----------------------

--------page 2--------
my second item title
my second item content
----------------------

I don't want break a "item"开发者_StackOverflow. I try using \mbox but not found the linebreak.

Thank for help.


End the title with \nopagebreak\\ and no blank line between.

0

精彩评论

暂无评论...
验证码 换一张
取 消