정렬된 [중복]에서 괄호로 방정식 분할

정렬된 [중복]에서 괄호로 방정식 분할

첫 번째 줄을 어떻게 끊을 수 있습니까?

\begin{equation}
\begin{aligned}[2]
& some stuff \left\{ stuff' + stuff'' \right\} \\
& = some other stuff
\end{aligned}
\end{equation}

다음과 같은 그래픽 출력을 얻는 방식으로

stuff { ...
       + ... }
= some other stuff

그래프 괄호의 경우 \right.등을 사용합니까?

답변1

내 의견을 자세히 설명하자면

\documentclass{article}
\usepackage{amsmath,mathtools}
\begin{document}

\begin{align}
\begin{split}
 \MoveEqLeft some stuff \bigg\{ 
   \!\begin{aligned}[t] & stuff' \\
                    & + stuff'' \bigg\}
      \end{aligned}
     \\
                    & = some other stuff
\end{split}
\end{align}

\end{document}

답변2

\documentclass{article}
\usepackage{mathtools,calc}
\begin{document}

\begin{align}
 some stuff \bigg\{ & stuff' \nonumber\\
                    & + stuff'' \bigg\} \\
 \makebox[\widthof{$some stuff \bigg\{$}][l]{$= some other stuff $}\nonumber
\end{align}

\end{document}

여기에 이미지 설명을 입력하세요

답변3

내 생각에 당신이 겪고 있는 주요 문제는 마지막 줄이 길어지면 그 위의 줄 정렬에 영향을 미친다는 것입니다. 따라서 mathrlap마지막 줄의 길이가 정렬에 영향을 주지 않도록 사용할 수 있습니다 .

여기에 이미지 설명을 입력하세요

=지정된 정렬 지점에 오른쪽으로 정렬됩니다. 이는 일반적인 정렬이 등호 왼쪽에 있는 항목은 오른쪽 정렬되고 등호 오른쪽에 있는 항목은 왼쪽 정렬이기 때문입니다.

그러나 마지막 텍스트를 왼쪽 정렬하려면 다음을 alignedat대신 사용하는 것이 좋습니다.

여기에 이미지 설명을 입력하세요

암호:aligned

\documentclass{article}
\usepackage{mathtools}
\begin{document}

\begin{align}
\begin{aligned}
 \text{some stuff} \bigg\{ & \text{stuff }' \\
                           & + \text{stuff }'' \bigg\} \\
 =\mathrlap{\text{some other stuff}}
\end{aligned}
\end{align}

\end{document}

암호:alignedat

\documentclass{article}
\usepackage{mathtools}
\begin{document}

\begin{align}
\begin{alignedat}{3}
 &\text{some stuff} \bigg\{ && \text{stuff }' \\
 &                           && + \text{stuff }'' \bigg\} \\
 &=\mathrlap{\text{some other stuff}}
\end{alignedat}
\end{align}

\end{document}

관련 정보