Latex Code for a Parenthesis ....

  • Context: LaTeX 
  • Thread starter Thread starter Math Amateur
  • Start date Start date
  • Tags Tags
    Code Latex
Click For Summary

Discussion Overview

The discussion revolves around the use of LaTeX code for properly sizing parentheses in mathematical expressions. Participants explore various methods to achieve this, including the use of commands like \left and \right, as well as alternatives like \Big and \big.

Discussion Character

  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant inquires about the LaTeX code for left and right parentheses, specifically in the context of the Cauchy-Schwarz Inequality.
  • Another participant provides the command \left(...\right) as a solution for sizing parentheses, along with examples demonstrating its use.
  • A similar response reiterates the use of \left(...\right) and provides additional examples for single-sized parentheses.
  • Further contributions mention the LaTeX code for curly braces using \left\lbrace and \right\rbrace, along with an example.
  • Another participant suggests using \Big and \big for parentheses that do not scale appropriately, providing examples to illustrate this approach.
  • Additional variants of sizing commands are mentioned, including different types of brackets.

Areas of Agreement / Disagreement

Participants generally agree on the use of \left and \right for sizing parentheses, but there are multiple approaches discussed, including the use of \Big and \big, indicating a variety of methods available without a single consensus on the best practice.

Contextual Notes

Some participants provide examples that illustrate the commands, but there may be limitations in understanding the context of their use without further clarification on specific scenarios.

Math Amateur
Gold Member
MHB
Messages
3,920
Reaction score
48
In a recent post on the Cauchy-Schwarz Inequality I wished to "size" the parentheses adequately in the expression $$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
 
Physics news on Phys.org
\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)$$
 
greg1313 said:
\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
 
Peter said:
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$
 
Alternatively, we can use [M]\Big[/M] and [M]\big[/M] for parentheses that wouldn't otherwise scale:
$$\Big( \cos x + \cos \big( x+(k+1)\pi \big) \Big)$$
[latexs]\Big( \cos x + \cos \big( x+(k+1)\pi \big) \Big)[/latexs]

We can also use [M]\Big[/M] and [M]\big[/M] 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}$$
[latexs]\int_0^{2\pi} \cos x\,dx = \sin x \Big|_0^{2\pi}[/latexs]

And there's more variants:
$$\big\{ \Big\{ \bigg\{ \Bigg\{$$
[latexs]\big\{ \Big\{ \bigg\{ \Bigg\{[/latexs]
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 29 ·
Replies
29
Views
3K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
8K