Latex Code for a Parenthesis ....

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

This discussion focuses on the proper usage of LaTeX commands for sizing parentheses in mathematical expressions. The commands \left and \right are essential for dynamically sizing parentheses, while \Big and \big can be used for fixed sizes. Specific examples include the expression $$\left( x - \frac{ \langle x, y \rangle }{ \mid \mid y \mid \mid^2} y \right)$$ and the use of curly braces with \left\lbrace and \right\rbrace. The conversation also highlights alternative methods for ensuring parentheses are appropriately sized in various contexts.

PREREQUISITES
  • Familiarity with LaTeX syntax and commands
  • Understanding of mathematical notation and expressions
  • Knowledge of LaTeX environments for displaying equations
  • Basic experience with typesetting documents in LaTeX
NEXT STEPS
  • Research the LaTeX commands for different types of brackets, including \left and \right
  • Explore the use of \Big and \big for controlling bracket sizes in LaTeX
  • Learn about other LaTeX commands for formatting mathematical expressions
  • Investigate best practices for typesetting complex mathematical documents in LaTeX
USEFUL FOR

Mathematicians, students, and researchers who utilize LaTeX for typesetting mathematical documents will benefit from this discussion, particularly those looking to enhance the presentation of their equations.

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 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
8K
Replies
4
Views
2K