1

I have the following:

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

     \begin{align*}
     &\pi(x)       & \parbox{8cm}{Lorem ipsum dolor sit amet, harum electram vim ut. Recusabo expetenda sententiae an nam. Ut has laudem graeco invenire. }   \\
     &\psi(y)      & \parbox{8cm}{Lorem ipsum dolor sit amet, harum electram vim ut. Recusabo expetenda sententiae an nam. Ut has laudem graeco invenire. }   \\
     &\tau(z)      & \parbox{8cm}{Lorem ipsum dolor sit amet, harum electram vim ut. Recusabo expetenda sententiae an nam. Ut has laudem graeco invenire. }   \\
     \end{align*} 

\end{document}

enter image description here

I am trying to explain something about the expresions on the left. How can I vertically align the expressions with their corresponding explanations?

If mixing amsmath aligned and parbox is not the right approach? What would you suggest?

3
  • 5
    \parbox[t]{8cm}{...}
    – egreg
    May 18 '17 at 12:08
  • 1
    Pronto prontissimo indeed!
    – Juan Leni
    May 18 '17 at 12:11
  • 2
    You might consider a different way to present the thing, for instance with a list.
    – egreg
    May 18 '17 at 12:32
1

align is the wrong environment here, you would be better to use a tabular or a list, a list has the advantage than you can have a page break at the natural point even if that is half way through an item description. the list formatting can be easily controlled using enumitem package which I have loaded but just using the default layout here.

enter image description here

\documentclass{article}
\usepackage{amsmath,array,enumitem}
\begin{document}

     \begin{tabular}{>$l<$p{8cm}}
     \pi(x)       & Lorem ipsum dolor sit amet, harum electram vim ut. Recusabo expetenda sententiae an nam. Ut has laudem graeco invenire.    \\
     \psi(y)      & Lorem ipsum dolor sit amet, harum electram vim ut. Recusabo expetenda sententiae an nam. Ut has laudem graeco invenire.    \\
     \tau(z)      & Lorem ipsum dolor sit amet, harum electram vim ut. Recusabo expetenda sententiae an nam. Ut has laudem graeco invenire.    \\
     \end{tabular} 


\begin{description}
     \item[$\pi(x)$]  Lorem ipsum dolor sit amet, harum electram vim ut. Recusabo expetenda sententiae an nam. Ut has laudem graeco invenire.    
     \item[$\psi(y)$]  Lorem ipsum dolor sit amet, harum electram vim ut. Recusabo expetenda sententiae an nam. Ut has laudem graeco invenire.    
     \item[$\tau(z)$] Lorem ipsum dolor sit amet, harum electram vim ut. Recusabo expetenda sententiae an nam. Ut has laudem graeco invenire.   
     \end{description} 

\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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