Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [delimiters]

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

7
votes
1answer
64 views

Understanding Implicit Delimiters/Terminators

I hear about macros that do things like "expand until they reach an unexpandable token" and this question may (or may not) be related to that kind of thing and the \romannumeral trick. In particular, ...
4
votes
3answers
58 views

Change the default size of square brackets in latex math mode

Personally I think the default size of square brackets in latex math mode is too small. For example, for an interval [a,b], I would prefer \big[\big] as opposed to plain []. My question is, what can I ...
2
votes
1answer
32 views

Bold \Big parenthesis in math mode

Is there a way to print a bold \Big parenthesis in math mode? If yes, is there also a way to print a bold parenthesis of any size (up to \Bigg for instance). I've tried the following approach but it ...
1
vote
0answers
26 views

Missing delimiter (. inserted) when using pmatrix

I am trying to compile this and I get the 'Missing delimiter (. inserted)' error even though overleaf manages to display what I want \documentclass{article} \usepackage{graphicx} \usepackage{amsmath} ...
5
votes
1answer
83 views

Parentheses between \big and \Big

Is there a way to create parentheses in math mode that have an extension between that of the commands \big (too small) and \Big (too big)? The amsmath package documentation defines the delimiters in ...
2
votes
2answers
41 views

Using `\left(` and `right)` puts a space after an operator [duplicate]

When I use \left( and \right) to get appropriately sized parentheses for an operator, a space is created between the operator and the parentheses. I think it looks bad. Is it intentional? If so, why? ...
1
vote
2answers
78 views

Customizing math symbol “evaluated at” - Vertical bar growing up only below

I'd like to customize the math symbol "evaluated at". If I use the code: \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} \begin{equation*} \frac{d}{dt} \left( i_{O_L} \Bigr|_{...
0
votes
1answer
172 views

yhmath impact on radical symbols and delimiters

In November 2014 I had an issue with this code and yhmath package: \sqrt{n+\sqrt{(n-1)+\sqrt{(n-2)+\dotsb+\sqrt{2+\sqrt{1}}}}} Depending on whether that package was being used or not (and AMS-...
2
votes
1answer
49 views

Length of matrix delimiters using TikZ

I'm trying to explain the Sarrus method and to draw the lines between nodes I'm using the tikz and matrix packages. However, when the delimiters are not parentheses but vertical bars (and also ...
4
votes
1answer
101 views

Replacing function, how to use + as delimiter

I am using a function for summing numbers like in paper and my input at arguments is like this: \showsum{123+456} I need to replace the custom function with other from package xlop - \opadd. I want ...
1
vote
1answer
61 views

Error showing “ ! Missing delimiter (. inserted).” when I am using \bigg

This code is bringing an error: We get, $g\begin{pmatrix}r&0\\0&1/r\end{pmatrix}=\bigg\( g\begin{pmatrix}r&0\\0&1/r\end{pmatrix}\bigg\)^{-1}\Rightarrow g\begin{pmatrix}r&0\\0&...
1
vote
1answer
29 views

Variant of \left, \right, …that gets ignored in inlinemath

I am trying to construct a variant of \left, \right, and \middle that are ignored in inlinemath. Intended behavior: \[ \lft( 2^{2^2} \rgt) \] -> behaves as \[ \left( 2^{2^2} \right) \] \( \lft( 2^{...
6
votes
1answer
64 views

Missing space with DeclarePairedDelimiter

I’m trying to define an abs command for absolute values using DeclarePairedDelimiter from the mathtools package, but I’m running into some spacing issues. I’d normall write \sup_n \abs{a_n} defined ...
4
votes
4answers
243 views

How to typeset an invisible paired delimiter, preferably using MathTools?

I'm trying to typeset the simplification/expansion of a fraction using the notation below, but I would like the numerator to be centered and the 5\cdot 4) to be to the left and above of the entire ...
2
votes
0answers
26 views

Custom size delimters [duplicate]

I am in the situation where I want delimiters that are bigger that \big, but smaller than \Big (see example). \documentclass{article} \usepackage{mathtools} \usepackage[libertine]{newtxmath} \begin{...
5
votes
1answer
59 views

Superfluous space with mtpro2 after making \left/\right into \mathopen/\mathclose

This question adds another reason why one shouldn’t abuse the \left and \right pair Automatic delimiter sizing through a \left and \right pair should always be avoided, with few ...
6
votes
2answers
262 views

What is the internal LaTeX working logic for \left and \right with delimiters?

I am reading about latex and in several books is written that to be able to size the delimiter to the vertical size of formula I need to use \left and \right. I understand that part. But I am ...
1
vote
1answer
37 views

Align large horizontal brackets to columns of a table?

Similar to this question, but the brace should cross multiple columns instead of rows. For example: animal plant -------/\-------- -------/\---------- / \ / ...
0
votes
0answers
46 views

Compile only what's inside command

I'm looking for a way to compile only what's inside a given command (or an environment). I'm doing a PhD and this way, I'll be able to have a full document with some poorly written sections, for ...
2
votes
1answer
153 views

How to create new delimiters: dashed \langle and \rangle?

A minimal working example is as follows: \documentclass{article} \usepackage{amsfonts,lipsum} \begin{document} $\langle 1,2,a,b\rangle$ \end{document} Question: How to create variants of \langle ...
3
votes
3answers
51 views

Delimiter size in fraction produces unwanted blank space

I am using amsmath in a two-column IEEEtran document class and at a certain point I typed this equation: \begin{equation} A = \sum_{j=1}^{J} \frac{\left[ e^{-\left( \frac{x_1^a}{2\sigma^2} \right)...
0
votes
0answers
53 views

Are these three commands \bigl( , \big( and \bigr( interchangeable? [duplicate]

I am looking for the visual differences between \big(, \bigl(, and \bigr( in math mode?
0
votes
0answers
75 views

Invisible delimiter not rendered correctiy with STIX Two

I am currently using unicode-math STIX Two Math fonts, and XeLaTeX. I found that the invisible delimiter cannot be rendered correctly: Here's the code: \[h(x)=\begin{cases} 1, & \mbox{if } \...
4
votes
2answers
241 views

How to prevent an underbrace, with a subscript, from affecting the sizes of delimiters

In MathJax, I had occasion to write this: \Big\| \Big( \,\underbrace{0,\ldots,0}_n, \frac 1 {n+1}, \frac 1 {n+2}, \frac 1 {n+3}, \ldots \Big) \Big\| I used \Big instead of \left and \right|. If I ...
2
votes
2answers
50 views

Delimiter not increasing for vertical bar

We are using XITS-Bold font for math, in the case of vertical bar the size has not increased. But in the case square and round bracket it works fine. Please suggest how to solve this. Is it possible ...
6
votes
2answers
291 views

Blank delimiter in math mode

I'm using mathtools command \DeclarePairedDelimiters to create parentheses that stretches vertically: \DeclarePairedDelimiters{\paren}{\lparen}{\rparen} \paren*{\frac{a}{b}}_c For those who don't ...
5
votes
3answers
207 views

Same spacing around “\middle|” as around “\mid”

I need to write some equations that contain something like (A | B). I could write \left( A \middle| \right), but this changes spacing around external parentheses, as expained in many topics like this....
5
votes
2answers
312 views

Delimiter error again

How can I fix my delimiter error? \begin{equation} \begin{split} \ln⁡\Gamma(z)=\ln\biggl[\frac{1}{z} e^{- z\gamma}\prod_{n=1}^{\infty}\biggl[\frac{1}{(1+z/n)} e^{z/n}\biggr]\biggr] &=-\ln⁡z+\ln e^...
17
votes
1answer
1k views

What is the purpose of “\left.”, i.e., “\left” followed by a period?

What is the purpose of \left., i.e., \left followed by a period? Similarly for \right. E.g. for \right. and \left (no period) begin{eqnarray}\label{Dsys} \textcolor[rgb]{.25,.0,.8}{% \left\{\...
2
votes
1answer
51 views

escaping brackets in description environment

i didn't find a working solution to escape brackets [ ] inside a description. \begin{description} \item[\$ chmod [options] mode \textless filename \textgreater] change filepermissions: chmod -v u+rwx ...
6
votes
1answer
70 views

How to emphasize in a listing and keep source columns aligned?

I use moredelim with * to highlight some text in my lstlisting. \documentclass{article} \usepackage{listings} \usepackage[LY1]{fontenc} \renewcommand{\rmdefault}{ptm} \renewcommand{\ttdefault}{...
2
votes
1answer
67 views

Biblatex punctuation recognition

I'm trying to switch to biblatex/biber. I started using the authortitle style for the bibliography. For my thesis I need lots of changes in the style. Along the way I changed the separator between ...
0
votes
1answer
92 views

My solution to small brackets and missing delimiter (. inserted) error

Problem: \begin{equation} \begin{split} S_{2(n+1)}^{(1)}=\frac{2}{\Gamma(n+1)}\int_{0}^{G}dxx^{2n+1}[-1+\\ +n_{1}(\frac{\pi}{\alpha})^{3/2}\sideset{}{'}\sum_{l}e^{-k_{l}^{2}a^{2}/...
3
votes
1answer
247 views

Explain this code to me: Doubled delimiters

So a while ago I asked this question on doubled delimiters. I found this piece of code and adapted it into the following: \documentclass{article} \usepackage{mathtools} \DeclarePairedDelimiterX{\...
0
votes
1answer
42 views

A Delimiter Error

LaTeX indicates a delimiter error for the following written code. Please help me if possible. \begin{equation} \frac{1}{\sqrt{1-t^{2}}}\exp \biggl⁡[(z^{2}+z'^{2})+\frac{2zz't- (z^{2}+z'^...
8
votes
2answers
506 views

Extensible triple-bracket delimiter with a new symbol

\DeclarePairedDelimiter allows one to define extensible delimiters (for example using the \big option). An example is provided below with double brackets. I need a similar delimiter with triple ...
9
votes
3answers
328 views

Making square brackets more similar to \lfloor

The square brackets [x] in math mode get typeset quite different from the floor and ceiling delimiters \lfloor etc. For the square brackets, there is less spacing to the inner characters, and also ...
1
vote
1answer
160 views

Use \delimiterfactor with slash (xits)

I am trying to slightly reduce the dimensions of the \slash delimiter with \delimiterfactor. \documentclass[12pt]{article} \usepackage{unicode-math} \setmathfont{xits-math.otf} \begin{document} \...
2
votes
1answer
106 views

Missing `$` inserted because of `\left`

I was trying to use the answer from this question to make a png of a math equation. I'm using the very simple file: \documentclass[convert={density=300,size=800x800,outext=.png},border=1pt]{...
2
votes
1answer
42 views

Usign variable size delimiters with text

I am trying to make the following in LaTeX: However, I have the following error when I try to make something like this using \left and \right: Please use \mathaccent for accents in math mode. \add@...
3
votes
1answer
225 views

tikz matrix delimiters when nodes size is defined by “minimum size”

studding CarLaTeX answer on question i find unexpected behavior of tikz matrix delimiter: if the size of math nodes are determined by text width=... and text height=..., than delimiters work as ...
1
vote
0answers
42 views

Is there a way to insert right braces and text to the right of a matrix using LYX? [duplicate]

Is there a way to typeset this in LYX without using ERT? If not, how do I code it in Lyx?
0
votes
1answer
206 views

Unicode-math: How to get a nice function restriction (despite shorter delimiters and lower subscript baseline)?

I'm using function restriction notation like here, but after switching to XeLaTeX with unicode-math I noticed that it looks slightly odd. Here's a minimal working example \documentclass{minimal} \...
1
vote
1answer
72 views

delimiter error [closed]

I don't know what's wrong with this code. I tried and it seems that the extreme "\bigg"s (the first and the last one) cause delimiter error. \begin{equation} \lim_{\rho\rightarrow0} \...
2
votes
2answers
95 views

How to place right brace next to table row

How do I put a right brace next to the table row as described by the picture? Here is my MWE. \documentclass[12pt]{article} \usepackage{color, colortbl} \begin{document} \begin{tabular}{|l|l} \...
2
votes
1answer
175 views

Doubled parentheses, braces, brackets and angles

I need some doubled versions of the standard parentheses, namely parentheses, braces, brackets and angles. They should be scalable and the output should look roughly like this: \documentclass[border=...
2
votes
2answers
66 views

Environment that conditionally shows it's contents is not working. Missing \endgroup

I tried to make an environment that shows its contents if @showtrue and doesn't otherwise. When I try to run the MWE below, I get an error message: ! Extra }, or forgotten \endgroup. \...
3
votes
1answer
120 views

Biblatex customizing delimiters

I'd like to have a biblography style using biblatex that looks like this: Author. Title, Editors, Locations Year I managed to cobble something together, however 2 problems remain, that I have not ...
1
vote
1answer
201 views

How can I use bigints package and yhmath package together?

I want to make wide parentheses and symboles like them. I used yhmath package in my file and It worked correctly. But when I use the bigints package in my file too everything will break down. I ...
2
votes
1answer
206 views

Whitespace denominator in fraction [title changable]

MWE \documentclass[a4paper,12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[svgnames]{xcolor} \usepackage{empheq} \definecolor{formula}{RGB}{255,...