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'm typing in LaTeX on a Linux machine (Ubuntu) using Emacs (for typing and compiling). If I type (in mathematical environment)

\left\{blah blah\right\}

I don't see any brackets at all.

If I type

\{ blah blah \}

the brackets are not scaled.

How can I fix this?

Edit

It must have been mistype or something, now everything works...

share|improve this question

closed as too localized by Caramdir, Martin Scharrer May 8 '11 at 18:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
@Martin Scharrer Why did you add the backslash? Maybe this caused his problem. –  Thorsten May 8 '11 at 10:00
    
@Thorsten: The backslash was there already in the code, just not shown. I simply added white lines so the code blocks are formatted right. The edit diff doesn't show that correctly. You need to view the source code to see it. –  Martin Scharrer May 8 '11 at 10:03
    
@Martin Scharrer Oh, I didn't know that. I need to keep this in mind for the future. –  Thorsten May 8 '11 at 10:05
    
@Yotam Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count. This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). –  Thorsten May 8 '11 at 11:47
    
@Thorsten: Thanks for trying to help around here, but that comment should be added only after quite some time (2 days or so in my opinion), but not after 6 hours. Normally it is a good thing to wait a day before accepting an answer, so that other have the chance to give an (maybe even better) answer. –  Martin Scharrer May 8 '11 at 16:04

2 Answers 2

up vote 10 down vote accepted

Try using them like this:

$\left\{\right\}$

You have to use them in mathmode and put a backslash in front of the bracket.

share|improve this answer

when you compile the following example you will get the error

Missing $ inserted \left

The example:

\documentclass[]{scrreprt}
\begin{document}
\left\{blah blah \right\}
\end{document}

You see the error is clear.

\documentclass[]{scrreprt}
\usepackage{amsmath}
\begin{document}
$\left\{\mbox{blah blah}\right\}$ %without amsmath

$\left\{\text{blah blah}\right\}$ %with amsmath
\end{document}

Please create a minimal example. It is easier for use.

share|improve this answer

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