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 would like to ask how to increase the dimension of the curly bracket in the second item of the following list:

\begin{enumerate}
\item Draw $\tilde{\theta}$ from $j$
\item Calculate $\nu = \min \{ {\frac{p(\theta^{k}+\tilde{\theta})}{p(\theta^{k})},1} \}$
\item With probability of $\nu$, put $\theta^{k+1}=\theta^{k}+\tilde{\theta}$, otherwise put $\theta^{k+1}= \theta$
\end{enumerate}

I tried by adding \left{ and \right} as follows

\item Calculate $\nu = \min \left{ {\frac{p(\theta^{k}+\tilde{\theta})}{p(\theta^{k})},1} \right}$

but I still receive an error message.

I would be very grateful if someone could provide me with suggestions in this respect.

share|improve this question
    
Welcome to TeX.sx! You don't have to sign with your name since it automatically appears in the lower right corner of your post. A tip: If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it). –  egreg Feb 26 '13 at 11:58
6  
Use \left\{ and \right\}. –  Alex Feb 26 '13 at 12:01
    
What Alex said. Since braces are special characters in TeX, they need to be 'escaped' wherever they occur. @Alex, I'd post that as the answer. –  Sean Allred Feb 26 '13 at 15:27
    
@Alex Do you want to write an answer? –  Torbjørn T. Jan 4 at 21:53
add comment

1 Answer

Curly braces are special characters in TeX. To print them, they need to be escaped with a backslash (as you did in the first code fragment). The same holds for combinations with \left/\right, or \big and so on, i.e., you should use \left\{ and \right\}.

share|improve this answer
add comment

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.