我有一系列很长的方程式,我想通过将它们框起来以使其对齐和强调。问题是,这么多长方程式通常需要分成两页,否则文档中会出现大量空白的垂直空间。但是环境empheq
不允许将框分成两页,如本文所述有没有办法分页“empheq”?并在文档中https://ctan.math.washington.edu/tex-archive/macros/latex/contrib/mathtools/empheq.pdf
无论如何,我需要打破这些等式,即使这意味着放弃empheq
并转换到其他包。
这是我的 MWE:
\documentclass{article}
\usepackage{xcolor}
\definecolor{myblue}{RGB}{0,92,148}
\colorlet{lightblue}{myblue!10}
\usepackage{amsmath}
\usepackage{empheq}
\newcommand*\importantequation[1]{\fboxrule=1pt\fboxsep=10pt\fcolorbox{myblue}{lightblue}{#1}}
\usepackage{lipsum}
\begin{document}
\lipsum[2-5]
\begin{empheq}[box=\importantequation]{equation}
\label{eq:michell}
\begin{aligned}
\nabla^2 \sigma_x + \frac{1}{1+\nu} \frac{\partial^2\Theta}{\partial x^2} &= -\frac{\nu}{1-\nu}\left(\frac{\partial X}{\partial x} + \frac{\partial Y}{\partial y} + \frac{\partial Z}{\partial z}\right) - 2 \frac{\partial X}{\partial x} \\
\nabla^2 \sigma_y + \frac{1}{1+\nu} \frac{\partial^2\Theta}{\partial y^2} &= -\frac{\nu}{1-\nu}\left(\frac{\partial X}{\partial x} + \frac{\partial Y}{\partial y} + \frac{\partial Z}{\partial z}\right) - 2 \frac{\partial Y}{\partial y} \\
\nabla^2 \sigma_z + \frac{1}{1+\nu} \frac{\partial^2\Theta}{\partial z^2} &= -\frac{\nu}{1-\nu}\left(\frac{\partial X}{\partial x} + \frac{\partial Y}{\partial y} + \frac{\partial Z}{\partial z}\right) - 2 \frac{\partial Z}{\partial z}\\
\nabla^2 \tau_{yz} + \frac{1}{1+\nu} \frac{\partial^2\Theta}{\partial y\partial z} &= -\left(\frac{\partial Y}{\partial z} + \frac{\partial Z}{\partial y}\right) \\
\nabla^2 \tau_{xz} + \frac{1}{1+\nu} \frac{\partial^2\Theta}{\partial x\partial z} &= -\left(\frac{\partial X}{\partial z} + \frac{\partial Z}{\partial x}\right) \\
\nabla^2 \tau_{xy} + \frac{1}{1+\nu} \frac{\partial^2\Theta}{\partial x\partial y} &= -\left(\frac{\partial X}{\partial y} + \frac{\partial Y}{\partial x}\right)
\end{aligned}
\end{empheq}
\lipsum[1-4]
\end{document}
以下是我的问题图片: