ラテックスの数式内の長いテキスト

ラテックスの数式内の長いテキスト

下の図のような方程式 (主にテキスト) を生成するにはどうすればよいでしょうか。

ここに画像の説明を入力してください

環境を使用していますalignが、意図した結果が生成されません。解決策があれば教えていただけるとありがたいです。ありがとうございます。

答え1

tabularまたは設定を使用すると\parbox、リストがページをまたいで分割されない場合があります (または長い項目内で分割されない場合があります)。リストなので、より自然なマークアップはリストとして設定することです。

ここに画像の説明を入力してください

\documentclass{article}

\usepackage{enumitem}
\begin{document}


\begin{description}[labelwidth=2cm,leftmargin=2cm,align=right,labelsep=0pt]
\item[$\mathit{TA}_{\mathit{it}}={}$]
 total accruals (net income from continuing operations ($\mathit{IB}$), minus operating cash flow\dots\\
\item[$A_{\mathit{it}-1}={}$]
 total assets for company $i$ at the end of year $t-1$,
\end{description}

\end{document}

答え2

使うtabular

\documentclass{article}

\begin{document}

\begin{tabular}{r@{$\;=\;$}p{9cm}}
$\mathit{TA}_{\mathit{it}}$ & total accruals (net income from continuing operations ($\mathit{IB}$), minus operating cash flow\dots\\
$A_{\mathit{it}-1}$         & total assets for company $i$ at the end of year $t-1$,
\end{tabular}

\end{document}

ここに画像の説明を入力してください

答え3

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

\noindent\rule{\linewidth}{1pt}

\begin{align*}
  TA_{it} &= \parbox[t]{0.8\linewidth}{some nonsense text I am using align environment but it's not generating the intended results. Any solution would be appreciated.}\\
  A_{it-1} &= \parbox[t]{0.8\linewidth}{some nonsense text I am using align environment \ldots}
\end{align*}

\end{document}

ここに画像の説明を入力してください

環境を利用することも可能tabularx

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

\begin{tabularx}{\linewidth}{@{}>{$}r<{$}@{\kern2.8pt}X@{}}
TA_{it} = & total accruals (net income from continuing operations ($IB$), minus operating cash flow\dots\\
A_{it-1}= & total assets for company $i$ at the end of year $t-1$,
\end{tabularx}

\end{document}

関連情報