# Thread: Latex Code for a Parenthesis ...

1. In a recent post on the Cauchy-Schwarz Inequality I wished to "size" the parentheses adequately in the expression

$\displaystyle x = \frac{ \langle x, y \rangle }{ \mid \mid y \mid \mid^2} y + ( x - \frac{ \langle x, y \rangle }{ \mid \mid y \mid \mid^2} y )$

... ... but in order to use \left and \right I need to also use the Latex Code for ( and ) ... but what is the code for a left and right parenthesis ... ?

Hope someone can help ...

Peter  Reply With Quote

2.

3. \left(...\right)

Example:

$$\left( x - \frac{ \langle x, y \rangle }{ \mid \mid y \mid \mid^2} y \right)$$

As a side note, for a single sized parenthesis use \left(...\right. or \left. ...)\right)

Examples:

$$\left(\frac12\right.$$

$$\left.\frac12\right)$$  Reply With Quote Originally Posted by greg1313 \left(...\right)

Example:

$$\left( x - \frac{ \langle x, y \rangle }{ \mid \mid y \mid \mid^2} y \right)$$

As a side note, for a single sized parenthesis use \left(...\right. or \left. ...)\right)

Examples:

$$\left(\frac12\right.$$

$$\left.\frac12\right)$$

Thanks for your help greg1313 ...

It is much appreciated ...

Peter  Reply With Quote

5. Originally Posted by Peter Thanks for your help greg1313 ...

It is much appreciated ...

Peter
Also, for curly braces: \left\lbrace .. \right\rbrace

e.g. $\left\lbrace\dfrac{\dfrac{a}{b}}{\dfrac{a}{b}} \right\rbrace$  Reply With Quote

6. Alternatively, we can use
\Big
and
\big
for parentheses that wouldn't otherwise scale:
$$\Big( \cos x + \cos \big( x+(k+1)\pi \big) \Big)$$
Latex Code:
\Big( \cos x + \cos \big( x+(k+1)\pi \big) \Big)

We can also use
\Big
and
\big
for a single bracket $\Big]$ that would also otherwise be too small:
$$\int_0^{2\pi} \cos x\,dx = \sin x \Big|_0^{2\pi}$$
Latex Code:
\int_0^{2\pi} \cos x\,dx = \sin x \Big|_0^{2\pi}

And there's more variants:
$$\big\{ \Big\{ \bigg\{ \Bigg\{$$
Latex Code:
\big\{ \Big\{ \bigg\{ \Bigg\{  Reply With Quote

+ Reply to Thread code, frac, left, mid, parenthesis #### Posting Permissions 