수식이 같은 지점에서 시작되도록 만들기

수식이 같은 지점에서 시작되도록 만들기

나는 다음과 같이 내가 수행한 몇 가지 공식을 나열하고 싶습니다.

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

\begin{enumerate}
\item \textbf{Hommes and in 't Veld AR(1) model:}
    \begin{align}
        x_t = \frac{1}{R^*}(n_{1,t} \phi_1 + n_{2,t}\phi_2)x_{t-1} + \epsilon_t.
    \end{align}
\item \textbf{Weak trend following AR(2) model:}
    \begin{align}
        x_t = \frac{1}{R^*}((n_{1,t} \phi_1 + 1.4n_{2,t})x_{t-1} - 0.4n_{2,t}x_{t-2}) + \epsilon_t.
    \end{align}
\item \textbf{Strong trend following AR(2) model:}
    \begin{align}
        x_t = \frac{1}{R^*}((n_{1,t} \phi_1 + 2.3n_{2,t})x_{t-1} - 1.3n_{2,t}x_{t-2}) + \epsilon_t.
    \end{align}
\item \textbf{General trend following AR(2) model:}
    \begin{align}
        x_t = \frac{1}{R^*}((n_{1,t} \phi_1 + (1+\phi_3)n_{2,t})x_{t-1} - \phi_3n_{2,t}x_{t-2}) + \epsilon_t.
    \end{align}
\end{enumerate}
\end{document}

x_t문제는 이것이 같은 지점에서 시작되도록 하고 싶다는 것입니다 . 누구든지 이것을 달성하는 방법을 알고 있습니까?

답변1

amsmath를 활용할 수 있습니다 \intertext. 기본적으로 이는 환경 내에서 페이지 나누기를 허용하지 않지만 align필요한 경우 가능하게 할 수 있습니다.

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\begin{enumerate}
\item \textbf{Hommes and in 't Veld AR(1) model:}
    \begin{align}
        x_t &= \frac{1}{R^*}(n_{1,t} \phi_1 + n_{2,t}\phi_2)x_{t-1} + \epsilon_t.\\
\intertext{\item \textbf{Weak trend following AR(2) model:}}
        x_t &= \frac{1}{R^*}((n_{1,t} \phi_1 + 1.4n_{2,t})x_{t-1} - 0.4n_{2,t}x_{t-2}) + \epsilon_t.\\
\intertext{\item \textbf{Strong trend following AR(2) model:}}
        x_t &= \frac{1}{R^*}((n_{1,t} \phi_1 + 2.3n_{2,t})x_{t-1} - 1.3n_{2,t}x_{t-2}) + \epsilon_t.\\
\intertext{\item \textbf{General trend following AR(2) model:}}
        x_t &= \frac{1}{R^*}((n_{1,t} \phi_1 + (1+\phi_3)n_{2,t})x_{t-1} - \phi_3n_{2,t}x_{t-2}) + \epsilon_t.
    \end{align}
\end{enumerate}
\end{document}

산출

답변2

이 특정 예에서는 들여쓰기를 제어할 수 있도록 매크로를 aligned정의한 위치를 사용할 수도 있습니다 .\Indent

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

노트:

  • Hooy가 언급했듯이 이 방법을 사용하면 방정식 번호를 얻을 수 없습니다.

암호:

\documentclass{article}
\usepackage{amsmath}

\newcommand*{\Indent}{\par\hspace*{1.0cm}}

\begin{document}

\begin{enumerate}
\item \textbf{Hommes and in 't Veld AR(1) model:}
    \Indent$\begin{aligned}
        x_t = \frac{1}{R^*}(n_{1,t} \phi_1 + n_{2,t}\phi_2)x_{t-1} + \epsilon_t.
    \end{aligned}$
\item \textbf{Weak trend following AR(2) model:}
    \Indent$\begin{aligned}
        x_t = \frac{1}{R^*}((n_{1,t} \phi_1 + 1.4n_{2,t})x_{t-1} - 0.4n_{2,t}x_{t-2}) + \epsilon_t.
    \end{aligned}$
\item \textbf{Strong trend following AR(2) model:}
    \Indent$\begin{aligned}
        x_t = \frac{1}{R^*}((n_{1,t} \phi_1 + 2.3n_{2,t})x_{t-1} - 1.3n_{2,t}x_{t-2}) + \epsilon_t.
    \end{aligned}$
\item \textbf{General trend following AR(2) model:}
    \Indent$\begin{aligned}
        x_t = \frac{1}{R^*}((n_{1,t} \phi_1 + (1+\phi_3)n_{2,t})x_{t-1} - \phi_3n_{2,t}x_{t-2}) + \epsilon_t.
    \end{aligned}$
\end{enumerate}
\end{document}

관련 정보