TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I type some formula in latex inside my text, but When I make it pdf I see it is not squeezed. How I can make it squeeze? See the attached, which shows the problem!


share|improve this question
please provide a minimum example of the problem: your output is pretty strange, to one used to writing latex, so we really need to see what you wrote to produce it. – wasteofspace Jun 16 '14 at 11:50
Welcome to TeX.SX. As wasteofspace mentioned, it is difficult to guess why your out put is the way it is. Click here to see what a minimal working example (MWE) is. – Pouya Jun 16 '14 at 11:52
Hi, Welcome to TeX.SE. Also explain what you mean with squeezing. Horizontally or vertically? For inline math, you should use $ R_1...$ and you should not use manually adjusted parentheses, when they are getting that big. – LaRiFaRi Jun 16 '14 at 11:52

In justified paragraphs TeX tries to fill the lines. But it is very difficult, if the line contain large chunks of unbreakable stuff. Then the remaining stretchable spaces are stretched and TeX gives a Underfull \hbox warning.

TeX can break inline math at binary and relational operators unless they are inside a subformula. Curly braces or \left and \right form a subformula that is unbreakable and spaces cannot stretch or shrink as in \mbox.

The following code uses \big instead of \left and \right (but in this case also normal sized parentheses could be used):

where $R_1 = n_1\left(a_e(c_{45} + b_{60}) + F_{80}\right)$,
$P_1 = n_e(m_0 d_{61} + b_2 c_{21}) + n_2 A_{61}$,
$N_2 = n_2\left(n_c(c_{61} + c_{60}) + G_{21}\right)$,
and $P_2 = n_e(a_0 c_{62} + b_1 c_{62})$.

where $R_1 = n_1\big(a_e(c_{45} + b_{60}) + F_{80}\big)$,
$P_1 = n_e(m_0 d_{61} + b_2 c_{21}) + n_2 A_{61}$,
$N_2 = n_2\big(n_c(c_{61} + c_{60}) + G_{21}\big)$,
and $P_2 = n_e(a_0 c_{62} + b_1 c_{62})$.


However the readability of such large amount of inline math is rather poor. I would use displayed equation environments if the place allows it, e.g.:

% ...
  R_1 & = n_1\left(a_e(c_{45} + b_{60}) + F_{80}\right),\\
  P_1 & = n_e(m_0 d_{61} + b_2 c_{21}) + n_2 A_{61},\\
  N_2 & = n_2\left(n_c(c_{61} + c_{60}) + G_{21}\right)\text{, and}\\
  P_2 & = n_e(a_0 c_{62} + b_1 c_{62}).\\
\intertext{or without punctuation, where}
  R_1 & = n_1\left(a_e(c_{45} + b_{60}) + F_{80}\right)\\
  P_1 & = n_e(m_0 d_{61} + b_2 c_{21}) + n_2 A_{61}\\
  N_2 & = n_2\left(n_c(c_{61} + c_{60}) + G_{21}\right)\\
  P_2 & = n_e(a_0 c_{62} + b_1 c_{62})\\


share|improve this answer

Your Answer


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.