1

This question already has an answer here:

This is basically a follow-up to the comments on this answer which I couldn't find to be settled anywhere. I learned that you can write ordinary bracket simply using

f(x)

but that you can also use

f \left( x \right)

where the latter automatically adopts the brackets' size, but creates a space between the function and the bracket.

My question is: when is one supposed to use which version. Is the second version only used when the "content" of the bracket is not an argument of some function? What if it is a long and complex argument, where I want the brackets to be increasing in size? Would I then use

f \! \left( long expression \right)

or is there some other solution for this?


Edit: While I found some solutions regarding the space adjustment, I was still wondering when to use which approach, i.e. whether there are some "best practice rules" for this.

marked as duplicate by Torbjørn T., Thorsten, zeroth, yo', mafp Jul 11 '13 at 9:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • when you have content inside the bracket (say a fraction) that needs the bracket to be longer than normal. – Nicholas Hamilton Jul 11 '13 at 8:10
  • 1
    I usually only use the \left and \right when latex doesn't yield a satisfying size for the brackets, e.g. when you have fractions or other large symbols such as integral signs inside those brackets. – Wouter Donders Jul 11 '13 at 8:27
  • 1
  • 1
    In my opinion f(\sin x+\cos x) doesn't require larger parentheses. ;-) But even if you write f(\sin(x)+\cos(x)) there's no need. In some cases it can be preferable to use \bigl( and \bigr) for greater clarity. – egreg Jul 11 '13 at 8:35
  • 1
    We (users with more than 10k rep) can vote to close it. For searching, it's OK to keep it around. – Torbjørn T. Jul 11 '13 at 8:49
1
  1. Use \left only when the largest default delimiter \Biggl is too small. The reason is that IMHO, \left rarely uses the correct size. Moreover, it introduces a spurious thin space around the delimiters; this can be solved using \mleft...\mright from \usepackage{mleftright}.

  2. As for f(sin(x)+cos(x)), the correct form is of course f(\sin x+\cos x) :) but suppose you mean f(g(x)+h(x)). Then the usage of larger parentheses is not a clear thing and two good typographers might do it in two different ways. I use the following way:

    • Inline, never use anything larger than \big, so this would be f\bigl( g(x)+h(x) \bigr), but likely \bigl\{ f\bigl(g(x)+h(x)\bigr) \bigr\} _ {x\in[0,1]}.

    • On display, I generally increase the size with every nested pair, unless it becomes too big. enter image description here

  3. Fractions, sums, integrals: I personally do not mind things "sticking out" a bit of the delimiters. Hence I would use the following

    • Inline: $ \bigl(\frac{1}{4}\bigr) = \bigl( \int_0^{1/2} dx \bigr)^{1/2} = \bigl( \sum_{i=2}^\infty 2^{-i} \bigr)^{1/2} $

    • On display: \[ \Bigl(\frac{1}{4}\Bigr) = \biggl( \int_0^{1/2} dx \biggr)^{1/2} = \biggl( \sum_{i=2}^\infty 2^{-i} \biggr)^{1/2} \] enter image description here

  4. Use \begin{pmatrix} and similar for column vectors and matrices (requires \usepackage{amsmath})

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