askvity

How to write a third bracket in LaTeX?

Published in LaTeX Brackets 2 mins read

LaTeX doesn't have a built-in command for a readily available "third bracket" style in the same way it has [ ] ( ) { }. The references provided show how to create the standard brackets but don't offer a specific command for a pre-defined "third bracket". However, there are a few interpretations and ways to achieve the desired result depending on what you consider a "third bracket":

1. Angle Brackets:

If by "third bracket" you mean angle brackets, these are available using the commands \langle and \rangle. According to the reference:

  • Left angle bracket: \langle
  • Right angle bracket: \rangle

Example:

$\langle x, y \rangle$

This will render as: ⟨x, y

2. Double Square Brackets (Semantic Brackets):

You might want to create double square brackets, often used to represent semantic brackets. This can be achieved by simply using \[ twice for the left bracket and \] twice for the right bracket. According to the reference:

  • Left square bracket: [
  • Right square bracket: ]

Example:

$[[ x, y ]]$

This renders as: [[x, y]]

3. Custom Brackets:

If you need a completely different style of bracket, you'll likely need to define a custom command or utilize a package that offers more bracket options. This goes beyond the scope of the references provided. For example, you might need to construct a bracket using scalable lines or characters, which involves more advanced LaTeX techniques.

Here's a summary of how to produce standard brackets as per the reference:

Bracket Type Left Right LaTeX Command
Parenthesis ( ) ( )
Curly Braces { } \{ \}
Square Brackets [ ] [ ]
Angle Brackets \langle \rangle

Related Articles