The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

Filter by
Sorted by
Tagged with
3
votes
1answer
38 views

`lmodern` package reduces the size of automatically sized delimiters in math mode

Including lmodern package reduces the size of \left and \right delimiters. For example, try this with and without lmodern: %!TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt]{article} \...
1
vote
1answer
36 views

Lstlisting delimiters remove indentation

I am trying to change color of text in the listing. I use delimiters, but it seems that they remove indentation. Here is my setup: \usepackage{listings} \usepackage{color} \definecolor{javared}{rgb}...
4
votes
1answer
63 views

Is there a list of math delimiters?

I recently discovered that the double square brackets \llbracket and \rrbracket from stmaryrd are available as unicode characters ⟦ and ⟧, which makes them easy to use with LuaLaTex.I was even more ...
4
votes
1answer
71 views

Is there any command inverse to \mathstrut?

Maybe my question is a bit ridiculous but I wonder is there any command inverse to \mathstrut? I think this command would be useful for reducing unwanted size of auto delimiter such as inline \Set{} \...
5
votes
0answers
129 views

Spacing, delimiter, and Libertinus Math

I would like to have a command that stretches the common delimiters according to the content. The standard \sin\left( is known to have a bad spacing, the packages https://ctan.org/pkg/mathtools and ...
0
votes
0answers
23 views

Using old style numerals in a specific coulmn of a table (lmodern)

In this example both my attempts to use a specific macro in column specifications of a table failed. The macro should automatically convert all numbers encountered in text to their \oldstylenums{} ...
1
vote
1answer
52 views

How to declare a delimiter to be a left or right delimiter?

TeX knows the difference between a "left" and a "right" delimiter (e.g. ( and )) and adjusts spacing accordingly. However, the left and right versions of the delimiter | are the same, so TeX has to ...
0
votes
1answer
35 views

Debug: how to fix this “missing delimiter” error

I am using an example-code for my CV. The code here is really simple, I acctually didn't use any "\left", but still getting this error of "missing \right", along with the error "missing delimiter" and ...
2
votes
1answer
29 views

Automatically scale resize-able delimiters from imported font \left \right

I am using the amsmath package and fonts, but would like to import a few delimiters from stix. Following the instructions here: How to use only selected math symbols of the STIX fonts? I can import ...
3
votes
1answer
63 views

Can I make a matrix from just a parts of the cells?

Can I make a matrix from just a parts of the cells? i.e. not all the cells just some of it, like here: It possible to make something like this? Thank you!! P.S. I'm using LyX.
2
votes
3answers
82 views

Bracket for dual pair (in functional analysis)

In functional analysis, one occasionally considers a so-called dual pair (a pair of vector spaces tied together by a non-degenerate bilinear map to the ground field). I usually typeset these using \...
2
votes
0answers
74 views

Are there open braces ⦃⦄ in some standard package for [pdf]latex? [duplicate]

I would like to get the white curly brackets ⦃ and ⦄ with pdflatex and latex (not with {xe|lua}latex). Is it possible to get these symbols without loading stix (or, at least, without loading all of ...
2
votes
3answers
76 views

left brace too tall with top-aligned aligned inside list

I have a list, where the item content is supposed to be systems of two linear equations, grouped with a big left brace. I would like the top equation from the system to have the same baseline as the ...
1
vote
1answer
40 views

`evaluate at` delimiters

I am using the \DeclarePairedDelimiterXPP command from the mathtools package to declare some new delimiters, for which scaling can be turned on and off easily. Specifically, I want to declare the ...
4
votes
2answers
92 views

Overly large parentheses for binomial coefficient with mtpro2

Using the lite (or complete) version of mtpro2 results in binomial coefficient with overly large parentheses. How to fix it? The ideal solution should work in inline math as well as in subscript and ...
2
votes
3answers
56 views

How a program a command which counts the delimiter within itself and alternates brackets accordingly?

Is it possible to define a command which defines a delimiter which alternates round, square, brackets brackets in the formulas? The command would count if it has other 'mydelimiter' within itselft ...
4
votes
1answer
67 views

DeclareMathDelimiter not working with Unicode font

I am unable to get \DeclareMathDelimiter to work correctly with a Unicode font. I get the same results with XeLaTex and LuaLaTex. The custom font has a MATH table defined with both size variants and ...
9
votes
2answers
126 views

Understanding Implicit Delimiters/Terminators

[I encourage you to check out Phelype's impressive approach] 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 ...
3
votes
3answers
83 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
67 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
36 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
156 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
52 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
84 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
179 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
60 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
107 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
95 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
31 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^{...
7
votes
1answer
79 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
250 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
75 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
277 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
56 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
52 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
169 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
55 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
56 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
77 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 } \...
5
votes
3answers
304 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
61 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
345 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
232 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
334 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
72 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
95 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
105 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}/...