Questions tagged [brackets]

{brackets} is about different brackets, their usage and functionality in (La)TeX.

is about different brackets, their usage and functionality in (La)TeX. The word “bracket” means different things depending on your dialect of English, including

  • (also brackets or round brackets) (),
  • (also curly brackets) {}, which are obtained in TeX by typing \{ or \},
  • square brackets [], and
  • angle brackets ⟨⟩, obtained by typing \langle \rangle.

See also .

For larger brackets in math mode, you can use \left and \right to scale with the math inside them, e.g. \left( \frac{x}{2} \right) or \left\{x > \frac{1}{2} \right\}. You can also manually set the size with \big, \bigg, \Big, and \Bigg.

Frequently Asked Questions

  1. How can I write a piecewise function with a bracket (brace) on the left?
  2. How can I get an enumerated list with square brackets?
  3. How can I typeset square brackets in mathmode without using [ and ]?
  4. How can I add a large brace next to a body of text?
  5. What's the best practice on using ( vs. \left( in general?
856 questions
27
votes
2 answers

Deep Brackets Around a Text

What I'm trying to achieve is to get the following effect for a body of text: I've looked at many examples that use all sort of brackets, but none of them look like the ones above. So far, I've only managed to get a simple frame using mdframed, but…
m0squito
  • 578
  • 7
  • 18
22
votes
12 answers

Universal Parentheses

I know it's a bit of an odd request but it is one to which the solution would save me a lot of time. I write a lot of documents in LaTex (especially maths - no surprise) and I prefer the look of $\left(\right)$ parentheses on a lot of things…
PercyF2519
  • 1,025
17
votes
2 answers

Curly brackets don't show.

I'm typing in LaTeX on a Linux machine (Ubuntu) using Emacs (for typing and compiling). If I type (in mathematical environment) \left\{blah blah\right\} I don't see any brackets at all. If I type \{ blah blah \} the brackets are not scaled. How…
Yotam
  • 7,109
15
votes
1 answer

How do I type a single bracket?

How do you produce a single bracket in LaTeX? I just want to insert a " [ " without closing the bracket. Is there a way to do this?
user43415
  • 151
14
votes
4 answers

How do I specify a round parenthesis below some text?

I need something similar to \underbrace but instead of curly brackets, I would like to have normal round horizontal paranthesis below my text. Similar to \textbottomtiebar but spanning the whole text. How do I achieve this with tex?
Dejan
  • 1,562
13
votes
1 answer

How to get the square brackets that are involved in integration working

The clearest way to clearly show what I want is using an example: I am looking for the Latex syntax that gives me the stuff on the right-hand side of the equation.
nebffa
  • 873
13
votes
3 answers

Big brackets around Text

I want to create a big single curly bracket over a paragraph of text. I will be using this for many, many paragraphs. I want to make it left and/or right idented. This is for a conversational styled work. Edit 1: What I want: I would like to know…
Grey
  • 173
12
votes
1 answer

Square brackets instead of curvy brackets

I have the following example: \begin{equation} \[ \left \{ \begin{tabular}{cccc} 1 & 5 & 8 & a \\ 0 & 2 & 4 & a \\ 3 & 3 & -8 & a \end{tabular} \right \} \] \end{equation} It should be a matrix, so I would like to have proper square…
12
votes
2 answers

Use custom brackets

For my thesis I need particular brackets for defining some operators. I found \llceil, \rrceil, \llfloor and \rrfloor in the stmaryrd package, which are just what I was looking for. Unfortunately, they do not support \left and \right and therefore…
Spiros
  • 223
11
votes
4 answers

Latex bracket on multiple lines

How can I code the equations with big brackets on the right and left sides shown in the picture? Thank you for your help!
Lei Gao
  • 113
10
votes
1 answer

lbrack, rbrack vs [ and ]

Question: What's the difference between \left\lbrack1,2,3\right\rbrack and \left[1,2,3\right]? Why would I use one versus the other? I recently started using mathlive, a WYSIWYG LaTeX editor, for a web project. I noticed that it uses \lbrack and…
9
votes
4 answers

Index position of $(x_{i})_{i\in I}$ vs $\left(x_{i}\right)_{i\in I}$

It seems that the basic syntax (x_{i})_{i\in I} leads to a different index position than \left(x_{i}\right)_{i\in I} Specificically, the lower index in the last example has a bigger vertical offset. This seems independent of the content between…
shuhalo
  • 2,545
9
votes
4 answers

problem of introducing long brackets in different lines

I have a problem writing an equation in eqnarray environment, where I split a single line into two lines. The first line starting with \left[ and the second line ending with \right], but I could not compile it using latex.
9
votes
3 answers

Stretchable square brackets outside math environment

I would like use stretchable square brackets outside of a math environment. Ideally, I would like to use \left[ blah \right. right in my text. Is it possible ? How ? Note : I would like to be able to include new environment in place of my "blah",…
olivier
  • 193
  • 1
  • 5
8
votes
3 answers

How to place a curly brace to the right of several lines in an align environment?

\documentclass[a4paper]{article} \usepackage{derivative} \begin{document} \begin{align*} \{q_a,q_b\} &= 0 = \{p_a,p_b\} \\ \{q_a,p_b\} &= \delta_{ab} \\ \{q_a,F\} &= \pdv{F}{q_a}\\ \{p_a,F\} &=…
Crob
  • 91
  • 3
1
2 3 4 5 6 7