我有多个大型 itemize 环境,其中一般环境如下
\subsection*{Page }
\begin{itemize}
\item
\hfill
\begin{tcolorbox}
\blindtext
\end{tcolorbox}
\blindtext
\end{itemize}
对应的代码是
\item
\hfill
\begin{tcolorbox}
\ldots for $dK \pm Kd$ maps closed forms to exact forms \ldots
\end{tcolorbox}
We check that $dK \pm Kd$ takes closed forms to exact forms. If $\o$ is a closed form then $d\o = 0$, and
$$(dK \pm Kd)(\o) = dK\o \pm Kd\o = dK\o.$$
The form $dK\o$ is exact because it's the image of $K\o$ under $d$.
和
\subsubsection*{Page 16}
\begin{itemize}
\item
\hfill
\begin{tcolorbox}
\begin{center}
$\displaystyle H^{q} = \begin{cases} \R & q = 0 \\ 0 & q > 0 \end{cases}$
\end{center}
\end{tcolorbox}
$H^{q}$ means $H^{q}(\R^{0})$ where $\R^{0}$ is the one point space. Notice that we have no local coordinates in this case.
我想在序言中设置一个设置,以停止这样的中断并将整个注释移至下一页。这可能吗?
答案1
问题在于 之前的换行符tcolorbox
。如果您减小宽度并使用\centering
而不是center
环境,则框将与项目符号保持在同一行。我不确定您想要什么垂直定位;下面给出了一个建议。
\documentclass{article}
\usepackage{tcolorbox,amsmath,amssymb}
\newcommand{\R}{\mathbb{R}}
\begin{document}
\subsubsection*{Page 16}
\begin{itemize}
\item
\begin{tcolorbox}[width=\linewidth,baseline=\tcbtextheight+\baselineskip]
\centering
$\displaystyle H^{q} =
\begin{cases}
\R, & q = 0, \\
0, & q > 0.
\end{cases}$
\end{tcolorbox}
$H^{q}$ means $H^{q}(\R^{0})$ where $\R^{0}$ is the one point
space. Notice that we have no local coordinates in this case.
\end{itemize}
\end{document}
您可能需要看看tcbitemize
环境,它可能更适合您的目的。