Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How can I generate equations (mostly text) as given in the figure below:

enter image description here

I am using align environment but it's not generating the intended results. Any solution would be appreciated. Thanks.

share|improve this question
2  
Please always post complete documents (as in the answers) to save people having to retype text from your image –  David Carlisle Mar 18 at 16:11
    
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. –  karlkoeller Mar 18 at 16:15

3 Answers 3

up vote 8 down vote accepted

If you use a tabular or \parbox setting then the list may not break over a page (or may not break within the long item). As it is a list a more natural markup is to set it as a list:

enter image description here

\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}
share|improve this answer

Use a 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}

enter image description here

share|improve this answer
\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}

enter image description here

It also possible to use a tabularx environment.

\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}
share|improve this answer
    
i'd set the text ragged right to avoid uneven spacing and hyphenation. –  barbara beeton Mar 18 at 15:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.