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.

How can I adjust the size of the outer braces to make the following equation neater?

\documentclass[a4paper]{scrreprt}
\usepackage{amsmath}
\begin{document}
\[
    M = \left\{ x \in X :
        \begin{cases} p(x) > 0 \\ q(x) > 0 \end{cases}
    \right\}
\]
\end{document}

enter image description here

share|improve this question
add comment

1 Answer

up vote 12 down vote accepted

enter image description here

\documentclass{article}

\usepackage{amsmath}

\setlength\delimitershortfall{0pt}
\begin{document}

\[
    M = \left\{ x \in X :
        \begin{cases} p(x) > 0 \\ q(x) > 0 \end{cases}
    \right\}
\]

\end{document}

As shown that is a global setting, it can be set locally within a single expression (or a single {} group) if needed. Also you can experiment with different lengths 5pt is the default.

share|improve this answer
    
What precisely does the delimiter shortfall measure? –  Niel de Beaudrap Sep 25 '12 at 21:44
    
the delimiters are stretched to be at least \delimitershortfall the size of the expression in the content so by default they may be up to 5pt less than the size of the content a similar parameter is \delimiterfactor which defaults to 901 delimiters must be at least \delimiterfactor/1000 the size of the content. –  David Carlisle Sep 26 '12 at 0:12
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.