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.

I have an equation whose left side has a long text. I would like to make it on multiple rows followed by the equal sign and then the right side.

\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}

\begin{equation}
\text{The left hand side of this equation is very long} = a < x < b
\end{equation}

\end{document}

This is what I want. The left side has two rows so that it's not too wide.

enter image description here

share|improve this question

1 Answer 1

up vote 6 down vote accepted
\parbox{4cm}{\raggedright The left hand side of this equation is very long}

replacing 4cm by whatever length you need.

share|improve this answer
    
Is there an automatic way of specifying the width? Now I have to try a few times to get the correct width. Thanks. –  Patrick Li Jun 28 at 19:47
1  
@PatrickLi not really, tex either sets text all in a line (line \mbox or line breaks it to a fixed with (like parbox) it is up to you to decide how much space to allocate to the text. –  David Carlisle Jun 28 at 21:17

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.