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.

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 am trying to place some text below the fraction but I am getting the following error:

! Missing $ inserted. $ l.5 ...ac{1}{\alpha_{ideal}}}{\text{\leq r{i-1}} }$

Code:

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

$\underbrace{\frac{1}{\alpha_{ideal}}}_{\text{\leq r_{i-1}}}$
\end{document}

enter image description here

share|improve this question

Remove \text: what under the brace is not text. And add one for ideal: I suppose you don't mean the product of the 5 variables i, d, e, a, l.

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

\[ \underbrace{\frac{1}{\alpha_\text{ideal}}}_{\leq r_{i-1}} \]

\end{document} 

enter image description here

share|improve this answer

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.