{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

6
votes
1answer
177 views

Parentheses changing size depending on what's in them?

Very simple problem, but very confusing. When I type \left( \frac{\partial f}{\partial x } \right)^2 I get smaller parentheses but when I type the same thing but with y instead of x, i.e. \left( ...
9
votes
2answers
186 views

Is it possible to use $ as a macro delimiter?

Experimenting with macro definitions that use strange delimiters (see e.g. this or this question), I thought it would be fun to have a macro that takes an argument of the form "a/b" and turns this ...
5
votes
2answers
373 views

Fine tuning parentheses inside chemfig

I have the following code: \documentclass[12pt]{report} \usepackage{chemfig} %these for bonds in chemfig \setdoublesep{0.35700 em} % 'Bond Spacing' \setatomsep{1.78500 em} % 'Fixed Length' ...
3
votes
0answers
172 views

\bigg Is not working for left parenthesis [closed]

\documentclass[11pt]{article} \usepackage{xfrac, array, tabu, multirow, graphicx, setspace, dcolumn, tikz} \usepackage[fleqn]{mathtools} %the argument for d specifies the maximum number of decimal ...
10
votes
3answers
269 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: ...
5
votes
1answer
111 views

Using end-of-line delimiter in plain Tex macro

How is it possible to use the end-of-line character as a macro parameter ? I would like something along the lines of : \def\mymacro#1\endlinechar{Content:#1} \mymacro First content \mymacro Second ...
5
votes
3answers
341 views

Vertical equivalent for \overbrace and \underbrace

Is there a way to label a vector like this in LaTeX? (like \overbrace/\underbrace but vertically) a \ a | a > Segment a a | a / b \ b | b > Segment b b | b / I assume I can't be the ...
7
votes
1answer
213 views

\big delimiters not working with scrartcl?

I noticed that sometimes the \big delimiters stop working. One example is when scrartcl is the document class. \documentclass{scrartcl} \begin{document} \begin{equation} (\frac{1}{2}) ...
4
votes
4answers
222 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 ...
10
votes
2answers
683 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} ...
17
votes
5answers
459 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 ...
6
votes
2answers
251 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!
3
votes
2answers
307 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: ...
1
vote
3answers
108 views

How can I obtain brackets with proper size on multiple lines using the {multline} environment?

My code is of the form \begin{multline} \left[ \frac{foo}{bar} \\ foo \right] \end{multline} This code gives an error for missing \right. etc. To remedy this, I used this code \begin{multline} ...
8
votes
2answers
185 views

Delimitershortfall in align environment

Can you explain why the \delimitershortfall cannot be modified inside a align environment? This is a MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
1
vote
1answer
400 views

Equivalent symbol not working and subscript on vertical line

I have couple of issues here. I am making a presentation on beamer and I am using the following code: \begin{align*} & F_{in} = \int \frac{\partial Q}{\partial s}|_{in} ds, ...
8
votes
1answer
152 views

Adaptively sized delimiters that don't go beyond the size of \bigl and \bigr

I would like adaptively sized delimiters, but only up to \bigl/\bigr-size. That is, there is variation only between ordinary/normal size and one size higher. \documentclass{article} ...
4
votes
1answer
3k views

LaTeX error bad math environment delimiter inside subfloat caption

For some reason, I am getting hit with a bad math environment delimiter. I know the problem has to stem from the \begin\end figure I added since the file compiled prior to this begin added. In my ...
3
votes
1answer
338 views

Use \ldelim with tall rows

I would like to put a brace in front of some table rows. I found a similar question here and in an answer the use of the bigdelim package is suggested. The problem is, it does not seem to work if a ...
6
votes
1answer
59 views

Macro limited in scope to the tabular cell in which it is invoked?

How do I reuse cell delimiter of a tabular environment (usually ampersand) for delimiting a macro parameter? Like this (which unfortunately doesn't work): \def\mymacro#1&{#1} ... ...
10
votes
1answer
84 views

Scan argument for parentheses

I'd like to define a macro which expands to (#1) if #1 does not contain any parentheses, but expands to \big(#1\big) if it does. I'd choose simplicity over generality: if a solution works in the most ...
2
votes
1answer
174 views

New table-environment, spaces and enclosing { } in a new environment

It was hard for me to find a proper title (feel free to change it) for my question which I want to introduce with an example: Situation In my document I sometimes use tabus directly in the document ...
7
votes
2answers
261 views

Less aggressive automatic paren stretching with \left

\left and \right are convenient but sometimes they're a bit overeager in stretching the parentheses. In that case we can manually use \bigl, \Bigl, etc. I have defined a new command like this ...
19
votes
3answers
756 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 ...
7
votes
3answers
227 views

Can \left( … \right) be instructed to ignore nonexistent upper or lower limits of summation? [duplicate]

In a formula such as \[ \left( \sum_{n\in\mathbf{N}} \right) \] the left and right delimiters extend not only downwards to cover the lower limit of the sum, but upwards an equal amount as if to ...
6
votes
1answer
341 views

How can I put large parentheses around a figure?

Around an image, I would like to place parentheses that are large enough to enclose an image. To give you an idea, I tried: \[ \left( \includegraphics[width=0.2\textwidth]{figurename} \right) \] ...
3
votes
1answer
364 views

How to automatically scale `\mid` within delimiters

\mid within \left and \right delimiters is expected to be automatically scaled, but today I noticed such behavior: L = \sup \left\{ \sum_{x \in F} a(x) \mid F \subset X,\, |F| < \infty \right\}, ...
5
votes
1answer
183 views

How to get big \{ and \} braces for an equation

How to type big \{ and \} braces in this sentence: $$P_{n,k}=\{\{x,y\}\in [X]^2: n=\min \{m\in \omega: B_m(x)\cap B_m(y)=\emptyset\}; (x,y)\notin G_k\}$$ Could somebody help me?
11
votes
1answer
155 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
230 views

Manually controlled size of delimiters in macros

I am using the amsmath package and I'd like to control the size of my delimiters manually, i.e. using the \bigl, \Bigl, ... , \Bigr, \bigr commands, instead of \left, \middle, \right. Now I want to ...
4
votes
1answer
398 views

Issue with delimiters of small matrix

I am using the mathtools package in order to right-align entries in small matrices. My code is below. The issue is that the delimiters in the first matrix are not the appropriate size; they should be ...
22
votes
1answer
367 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 ...
6
votes
2answers
229 views

Space added after \right

I have a problem regarding the space added by \right.. I have read this answer regarding the topic, where @egreg proposes a macro that deletes this space. However, when using this in my own ...
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 ...
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 ...
1
vote
2answers
142 views

Why does \left break TeX rendering?

The following TeX breaks rendering, but if I remove the \left function, the TeX renders (but without the stretchy brace). I'm helping a colleague and I'm too new to LaTeX and TeX to know how to ...
6
votes
3answers
145 views

Oversized parentheses around tabular

I'm having the following problem. I'm using a tabular environment to create a phrase structure rule (linguistics stuff, don't care about it) and I need parentheses for those parts in the rule which ...
6
votes
0answers
119 views

Spacing around \left and \right: When is it needed? [closed]

There have been a few questions (such as this and more recently this) regarding the "extra" spacing around \left and \right. And there are various options for fixing it, including the mleftright ...
4
votes
1answer
276 views

Systems of equations in ConTeXt

In LaTeX+amsmath, I can say \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \left\{ \begin{aligned} px-y-4&=0\\ 2x-2y-6m&=0 ...
11
votes
1answer
219 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 ...
3
votes
1answer
2k views

Error: Extra }, or forgotten \right in align environment

I'm getting errors in the align environment that I'm not getting for the exact same line that compiles without error in the equation one and I can't figure it out. Can someone shed some light on this? ...
5
votes
3answers
102 views

Having inside delimiters same size as outside ones [duplicate]

I want to define a set $S= \left\{ \left[\matrix{ a &b \cr a^2 & b^2\cr }\right] \left| \right. a, b {\rm \ real \ numbers} \right\} $ How do I make the separating bar | same size ...
1
vote
1answer
1k views

“Missing Delimiter” in Beamer-class [closed]

I got a problem when trying to change the fontsize within a beamer-class frame. \documentclass{beamer} \begin{document} \begin{frame}{First frame} {\big Just some content} \end{frame} \end{document} ...
5
votes
1answer
703 views

bigger parentheses in equations

I have the following TeX equation: r = (I_n - (.85) M^T)^{-1} (\frac{1 - (.85)}{5}) \cdot 1 \\ I want bigger parentheses around the term (1-(.85)/5), how can I achieve this? How can I get large ...
8
votes
3answers
387 views

How to make pipe to grow with both sides?

How to make pipe (vertical bar) symbol to grow like in Dirac product notation but without outer angle brackets?
18
votes
2answers
13k views

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

What are their uses and are they even standard?
3
votes
0answers
313 views

Character combination and horizontal spacing [closed]

Thanks for this awesome website that helped me countless times! I need to use double square brackets. I know about those in the stmaryrd and MnSymbol packages, and I heard about unicode-math—but for ...
13
votes
1answer
140 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 ...
9
votes
2answers
329 views

Matching the delimiters \{ and \} in AUCTeX

I'm using AUCTeX and would like the delimiters \{ and \} to be matched. How can I (permanently) achieve matching of these delimiters? The link I provided indicates that I should edit a syntax table, ...
5
votes
2answers
103 views

Fence/delimiter stored inside in a macro

I'm wondering, say I have this definition \newcommand\restrictedTo{\vert\sb} to be used as $f \restrictedTo A$. This works fine, but $f \big \restrictedTo A$ fails, whereas $\left. f \right ...