假设我有这个 MWE:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation*}
\text{ three equations}
\begin{cases}
a &= b + c \\
d &= e + f + g \\
h &= i + j + k + l
\end{cases}
\end{equation*}
\end{document}
我想要的是将大花括号左侧的文本设置为垂直对齐。我试过:
\documentclass{article}
\usepackage{amsmath}
\usepackage{rotating}
\begin{document}
\begin{equation*}
%\text{ three equations}
\begin{turn}{90}three equations\end{turn}
\begin{cases}
a &= b + c \\
d &= e + f + g \\
h &= i + j + k + l
\end{cases}
\end{equation*}
\end{document}
将 LHS 对齐到中间:
那么,问题是如何自动调整 LHS 以使其垂直对齐?
答案1
用于\rotatebox[origin=c]{90}
旋转其c
入口处的内容:
\documentclass{article}
\usepackage{amsmath,makecell}
\usepackage{graphicx}
\begin{document}
\[
\rotatebox[origin=c]{90}{three equations}
\begin{cases}
a = b + c \\
d = e + f + g \\
h = i + j + k + l
\end{cases}
\qquad
\rotatebox[origin=c]{90}{\makecell{three \\ equations}}
\begin{cases}
a = b + c \\
d = e + f + g \\
h = i + j + k + l
\end{cases}
\]
\end{document}