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'm trying to use symbols such as \lambda and \delta but for some reason it's not compiling. I've reproduced the problem in the following code:




M = < X,Y,S,ta, \delta int, \delta ext, \lambda >



I'm getting the following errors:

Missing $ inserted M = < X,Y,S,ta, \delta

Missing $ inserted I've inserted a begin-math/end-math symbol since I think

Missing } inserted I've inserted something that you may have forgotten.
Extra }, or forgotten \endgroup

Despite these errors, I can still view it in a PDF and it looks like the following:

The output of above code

So, just to clarify what I actually want:

  1. To compile without the errors i.e. how do you make use of symbols like \delta etc?

  2. How do I actually make it display like the following :

    enter image description here

  3. As depicted above, I want int and ext to be subscripts to the \delta symbols

share|improve this question
First, you need to surround the relevant line with $ symbols. Second, use underscores to create subscripts (and, for multiple-character subscripts, use curly braces as well). Thus, $M = < X,Y,S,ta, \delta_{int}, \delta_{ext}, \lambda >$ – Andrew Uzzell Nov 5 '12 at 11:18
@AndrewUzzell < and > in this case are definitely wrong. – egreg Nov 5 '12 at 11:25
@egreg You're absolutely right. Also, when I posted my comment, I hadn't realized that the question was asking for how to typeset a displayed equation. In sum, egreg's answer is much more useful than my comment. – Andrew Uzzell Nov 5 '12 at 11:29
This question shouldn't be downvoted. It may be a basic problem, but the question itself is very clear. Please don't downvote without explaining your reason to do so. – Jake Nov 5 '12 at 11:31
In addition to Jake's comment, unlike SO in general, beginner questions are more than welcome in TeX.SE so please don't downvote if the question seems trivial to you. The question has a valid MWE and a good formulation. – percusse Nov 5 '12 at 11:34
up vote 14 down vote accepted

You want a centered formula; so the correct way to do it is



M = \langle X, Y, S, ta, \delta_{\mathrm{int}}, \delta_{\mathrm{ext}}, \lambda \rangle


enter image description here

This is covered in any basic LaTeX manual, for example The not so short introduction to LaTeX

share|improve this answer
Thanks. But what is the reason behind not using \begin{center}? and why was my question down voted, so I know what I did wrong? – DSF Nov 5 '12 at 11:19
center is for centering text, not math. I don't know why the question was downvoted; however, it's very basic and reading an introduction to LaTeX would really help to understand its principles, which are rather different from common word processors. – egreg Nov 5 '12 at 11:22
Oh okay. Thanks for the reference as well, will use it for any further issues before I ask on here again.. – DSF Nov 5 '12 at 11:23
@Jatt My comment was not meant for restraining you from asking here even basic level questions. Everybody is welcome, in my opinion. The fact is that LaTeX needs a different attitude than word processors; its main principle is separation of structure from visual appearance, so math is different from text and this reflects in how they're input. – egreg Nov 5 '12 at 11:43
Thanks for that. I will look further into it. Ps. Your comment did not at all restrain me from asking questions in the future. I agree with you, I should've researched more before asking for help. – DSF Nov 5 '12 at 11:51

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.