{delimiters} are characters used to specify the boundary between separate blocks/groups of text. They are typically used in {macros} or {math-mode} constructions.

learn more… | top users | synonyms

67
votes
4answers
4k views

Spacing around \left and \right

Why does the addition of a \left and \right introduces an extra space around the formula? Specifically, why do $\cos(\theta)$ and $\cos\left(\theta\right)$ render differently? Is there a way to use ...
48
votes
2answers
6k views

automatic size adjustment for nested parentheses

As I prefer outer parentheses to grow larger in nested expressions, I happen to insert \bigl and \bigr and its larger cousins a lot. I have always wondered whether there is a way to do this ...
6
votes
1answer
260 views

Using \left( & \right) around amsmath's align delimiter (“&”)

I want to align equations (using the align environment from the amsmath package) inside matching \left( and \right) commands. For example: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} ...
13
votes
1answer
6k views

How can I have a bigger integral (\int) delimiter?

I'm writing some integrals and I don't like the way the \int symbol is displayed when it is followed by a big delimiter. Here's the code: \[ \int_S\biggl(\nabla\times\bar B - \mu_0\bar J - ...
14
votes
6answers
475 views

How to change the item separator in TikZ foreach command

I want to cycle over several sentences using a foreach loop. Now sentences will prpbably contain commas, which are used by foreach as item separators. So I would like to change the item separator to ...
22
votes
1answer
372 views

Sloppy \left and \right?

The \left and \right commands often produce improvidently large delimiters. It almost always looks better to use delimiters that are just slightly too small than delimiters that are too large. With ...
19
votes
3answers
787 views

How can I create a new extensible symbol?

Given an arbitrary thin vertical symbol, can I create a new math delimiter from it (and if so, how)? Edit: Ideally, I would like to be able to create an extensible symbol, either built out an ...
10
votes
3answers
2k views

Look for a bigger delimiter than \Bigg

\documentclass{article} \usepackage{amsmath} \begin{document} \[\left. \begin{vmatrix} a_{11}&a_{12}&a_{13}\\ a_{21}&a_{22}&a_{23}\\ a_{31}&a_{32}&a_{33} ...
4
votes
4answers
227 views

Incorrect delimiter size in math mode

The following code \documentclass{article} \begin{document} \[ \left|\tilde{\theta}\right| \] \[ \left|\theta\right| \] \end{document} produces the following output using pdfLaTeX (TeXLive 2012 ...
4
votes
1answer
489 views

How to make expanding middle delimitors like in the braket package

The braket package has convenient commands like \Braket and \Set, where | are automatically expanded vertically. This allows to easily typeset expressions like \documentclass{minimal} ...
11
votes
1answer
237 views

Compatibility between amsmath and exscale

Both the amsmath package and the exscale package define the delimiter macros \big, \Big, \bigg and \Bigg based on the internal macro \bBigg@. However, as the following minimal example reveals the ...
4
votes
1answer
113 views

Why aren't the braces showing

I have this tex: \(\mu_{A}\left(x\right)\in \[0,1 \right\]\) The issue here is that [ and ] are not showing around 0,1, why is that? Thanks.
16
votes
1answer
7k views

About big parenthesis larger than Bigg

Do any one know how to type a very big parenthesis in LaTeX. Since the formula is very big, I used multline environment, in one line, there are many pair of parenthesis by using \left and \right which ...
20
votes
2answers
2k views

Should one use thousands separators in equations?

I understand that this is not strictly a TeX question but I have recently been asked to correct an equation presented as the first example in the image below to that of the second example i.e., to use ...
11
votes
1answer
700 views

Correct delimiter height in TikZ

When using the left delimiter and right delimiter options, I am having the problem that their height is not equal to the node they are surrounding. Here is an example: \documentclass{article} ...
10
votes
2answers
683 views

Is there a command for large middle delimiters consistent with \bigl and \bigr?

After browsing through related threads, I am now of the understanding (please correct me if I am wrong) that the rule of thumb is to use the \bigl,\bigr pair with brackets, parentheses, etc. for ...
14
votes
4answers
2k views

Spacing between triple vertical lines

I would like to create a norm-like operator with 3 verticals bars instead of two. It has to look like $|||\cdot|||$. I would like to know how to decrease the spacing between the vertical bars such ...
15
votes
3answers
6k views

Align large vertical delimiters (brackets) to rows of a table?

I’m trying to typeset a table of data, with brackets (i.e. }) at the right-hand side to show a classification of the rows.  Something like: ----------------------- | Aardvark | Armenia | \ ...
6
votes
2answers
292 views

Derivatives: enter “evaluated at” vertical bar with multiple values as subscripts

Sorry for the long title, but how do I enter evaluated at (for a derivative), with multiple valuation criteria at the bottom of the the big | line? Thanks!
4
votes
1answer
124 views

How to get all the possible sizes of delimiters with Cambria Math

After this question, Cambria Math \bigg command doesn't work as expected, I discovered that Cambria has so many sizes of delimiters. I think the next logical step is to come up with a way of ...
13
votes
1answer
141 views

\( \) don't work with TOC?

If i write this line of code \subsection{Ranger \( n \) boules distinguables dans \( M \) boîtes} I obtain an error over the second \) (./Probabilité.toc ./Probabilité.toc:8: LaTeX Error: Bad ...
10
votes
1answer
351 views

Macro delimiter

I'd like to have a macro to split up another macro content, with field separator being a space. So: \def\mytext{foo bar} \def\secondof#1 #2{#2} \secondof\mytext What? What do you mean: "runaway ...
3
votes
2answers
356 views

Write this equation

I want to write this equation in this way down but I have been unsuccessful. How can I improve this codes in order to get the equation below? \[ DeltaC{t} = \left\{ \begin{array}{ll} -1.40- ...
10
votes
3answers
276 views

Defining a macro for “real” colored delimiters

I recently looked up J. van Hoorn's question on How to color delimiters in Math Mode, and so I decided to test my LaTeX knowledge by trying to define a new appropriate command: ...
10
votes
2answers
715 views

How can I force \left, \right delimiters to automatically (!) have the same size despite line breaks?

This code \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} \begin{split} z = \left( a + b + c \right. \\ \left. + \frac{d}{e} \right) \end{split} ...
4
votes
2answers
1k views

How to declare an operator with automatic argument bracketing

I'd like to have an easy way to declare an operator that brackets its argument with a particular delimiter. As an example I'd like to be able to write \Pr{X} to mean the same as ...
12
votes
3answers
4k views

Why use the control sequences \bigl, \biggl, \bigr or \biggr, as I can always use \big or \bigg?

If my manuscript file has $$\biggl({\partial^2\over \partial x^2}+ {\partial^2 \over \partial y^2}\biggr)\bigl|\varphi(x+iy)\bigr|^2 = 0$$ or $$\bigg({\partial^2\over \partial x^2}+ ...
10
votes
2answers
177 views

Maintainable typesetting of placeholders in code snippets

I'm looking for a maintainable way of typesetting placeholders in code snippets. In my listings, I would like that anything contained between the two delimiters @< and >@ be typeset in ...
6
votes
1answer
261 views

Is there a reason NOT to use \left and \right?

I was reading the mathtools documentation on \DeclarePairedDelimiter, and apparently only the starred version of the command it defines uses \left and \right on the delimiters. This surprised me a ...
4
votes
2answers
175 views

Redefining brackets

In my thesis I'm working with a lot of brackets around fractions and every time I have to use \left( \frac{a}{b} \right). It can get really confusing if i have a long equation and a lot of fractions. ...
20
votes
2answers
14k views

What do the pieces of LaTeX, \left and \right, respectively mean?

What are their uses and are they even standard?
17
votes
5answers
470 views

Brackets around a sum that has no top limit

MWE: \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \thispagestyle{empty} \[ \mathcal{F} \left\{ \sum_j e^{-2i\pi\nu_j t} \right\} \] \end{document} Result: The sum only ...
10
votes
1answer
1k views

Easily change behavior of \DeclarePairedDelimiter

After seeing the answer to this question I realized that I preferred the way of working of Juan A. Navarro's answer: I.e., \DeclarePairedDelimiter{\parens}{\lparen}{\rparen} from mathtools is a ...
10
votes
4answers
571 views

Is there a package for warning about unbalanced delimiters?

I'm copy-editing a rather lengthy set theory book. One thing I'd like to check systematically is whether all left-right unambiguous delimiters (parentheses brackets curly, square and angle) are ...
11
votes
1answer
160 views

(Re)definition of commands that use delimiters other than braces (e.g. \underbrace)

How do you go about redefining a command such as \underbrace, which uses an "uncommon" delimiter, i.e. _, between its two arguments, so that the redefined command be usable in exactly the same way as ...
11
votes
2answers
257 views

How to color delimiters

I have some special delimiters that I want to add to a glossary, those get hyperlinks and colors etc. However when i want to use those delimiters, using \left, \right and \middle becomes impossible. I ...
11
votes
1answer
343 views

bracket with doubled delimiters

I want to typeset Hilbert-Schmidt-Products as the Liouville-Equivalent of the Hilbert Space Braket, with doubled delimiters, like this: \Lbraket{\rho|\rho} results in <<rho|rho>>. I was ...
11
votes
4answers
2k views

Regarding sizing of delimiters

I'm currently writing my dissertation in civil engineering using LaTeX. I think LaTeX is really good. I have been slowly distancing myself now from Microsoft Word. LaTeX is good for me since my paper ...
10
votes
3answers
2k views

Using ] and [ as math symbols, not delimiters

I'm writing some topology up, and I prefer to use the notation ]a,b[ to denote an open interval as opposed to (a,b), since the ( and ) symbols tend to be over used in this subject. Is there a ...
9
votes
1answer
91 views

How can I highlight \[…\] properly in LaTeX listings?

The listings package provides the option moredelim, allowing for custom styles for words enclosed by given delimiters. I would like to give $...$, \[...\] and $$...$$ custom colors. \[...\], however, ...
6
votes
2answers
142 views

Delimited arguments and using a macro inside of itself

I wanted to play with delimiter sizing without using the \delimiterfactor, -shortfall, etc. and made the following: \newdimen\bigdim \bigdim = 1.9743ex \newdimen\Bigdim \Bigdim = 2.671ex ...
5
votes
1answer
160 views

Cambria Math \bigg command doesn't work as expected

I get wrong sizes when I use \bigg and family with Cambria. Here is an example (I loaded mathtools before unicode-math and then my actual problem showed up). We can see that the size \bigg exists ...
4
votes
1answer
159 views

Weird spacing issue using listings delimiters

I'm using moredelim (with prefix il) to typeset one-line "comments" in a very specific way: delimiter %% in red, rest of the line in blue. My approach works mostly as expected, aside from some ...
3
votes
2answers
313 views

Macro for Typesetting Semantic Denotations (Linguistics)

I tried to write a macro for typesetting semantic denotations, using the stmaryrd package, but there are a few issues that I would like to resolve. My first attempt at the macro was the following: ...
3
votes
2answers
276 views

Delimiter size \big not working with fourier, mathtools packages and 11pt option

I have a document using the fourier font package and mathtools. In mathmode the \big delimiters are the same size as normal sized. After some debugging I noticed that if I remove the 11pt document ...
9
votes
3answers
2k views

Cases with square brackets

How can I subdivide in cases with square brackets? I mean I want to write: ⌈ 2_i if ... rank (q, l) = | 2_i + 1 if ... ⌊ .... with square brackets, not ...
8
votes
2answers
85 views

Creating bullet-list from string with delimiters

I want to create a bullet list from a string with delimiters in it. The delimiter in my example is | Example string: This is|A bullet|List from|A string I want to get that to become a bulletlist ...
8
votes
2answers
2k views

In exponents, parenthesis too small, \big too big

When something big (a fraction, a sum, an integral...) appears within a pair of parenthesis, one can typically use \left(...\right) to get delimiters large enough to surround the contents. The ...
8
votes
1answer
591 views

How does TeX decide how to size a middle delimiter?

How does TeX decide how to size a middle delimiter? When I want to show evaluation of limits of an integral, I would type $$\int_1^2 x\; dx=\frac{x^2}{2}|_1^2=4-\frac{1}{2}=\frac{7}{2}.$$ How do I ...
6
votes
3answers
296 views

Can I have a curly brace as macro argument delimiter?

Is there any trick that allows to have a { in argument delimiters of a macro ? for example, with this definition : \def\start#1\fin{+++#1+++} the call \start coucou\fin{3}4 will display ...