{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

2
votes
1answer
24 views

How to make Latex recognize individual keywords in lstlisting without delimiter?

I want to add a few lines of G-Code (used for 3D-printing) to my latex file using the listing package. Unfortunately, g-code is not supported as a language and therefore has no highlighted commands. I ...
3
votes
1answer
33 views

Looking for delimiters similar to ceil

I want to use brackets similar to lceil, rceil and lfoor, rfloor, but with the vertical lines on both sides at an angle. Does anything like this already exist? If not, would it be difficult to create ...
2
votes
3answers
55 views

Ignore parenthesis contained in a macro parameter

I want that the macro ignore the parenthesis which are parts of the parameter and only conside the last parenthesis as the delimiter, I found a solution with \text{}. Are there any better (and ...
2
votes
2answers
82 views

Scaling absolute values

How I make in Latex the modulus, or absolute value, match the size of the expression within? I want to know what are the sizes available. Example: $$\mid\frac{\partial I}{\partial M}\mid = ...
3
votes
1answer
36 views

Left-right spacing of parentheses with DeclarePairedDelimiter

I know that \big and similar commands cause an incorrect spacing between the delimiter and their contents, and they should be replaced with \bigl and so on. I've defined some commands with ...
0
votes
0answers
27 views

Multi-line delimiter alongside list environment and normal text paragraph

I would ask how to add a multi-line delimiter (e.g. curly brackets) inside a list environment, preferably little past margin. Also it will be useful to know how to add it alongside normal text ...
4
votes
2answers
84 views

Physics package manual resize of \ket and \bra

I am trying to manually force big size for a \ket using the physics package, I am trying something along the lines: \documentclass{article} \usepackage{physics} \begin{document} $\ket\Big{a}$ ...
2
votes
1answer
32 views

Error “! Missing delimiter (. inserted).” in the same line, even if I change the document order

The error in the line 196 in the next code, always appear, even if I change the order of my document structure. This doesn't let me compile peacefully, ¿Where is the error? This is my code ...
5
votes
2answers
175 views

Using \big| and \right| versus \bigr\rvert and \right\rvert

Based on the answers to this question (about \bigl, \bigr, \big, etc.) and this question (about \lvert, \rvert, |, etc.), I would think that anytime one used a vert bar to delimit on the right they ...
15
votes
4answers
421 views

“Evaluated at” bar for derivatives: \Bigr, \biggr, or \left…\right?

I'm trying to determine if there is a best practice for typesetting the "evaluated at" bar for derivatives. The three possibilities I'm thinking of are shown in the code excerpt below: ...
3
votes
2answers
180 views

LATEX ERROR: BAD MATH ENVIRONMENT DELIMITER. (all caps)

\documentclass[letterpaper, twoside, 12pt]{book} \usepackage{amsmath,amsfonts,amsthm} \usepackage{notes} \usepackage{hyperref} \title{MATH 3142 Notes | Spring 2016} \date{Updated: \today} ...
2
votes
1answer
38 views

Problems with \sum lower limit when in an exponent (displayed maths)

I just can't get the lower limit to be under the $\Sigma $ in an equation that has this: \begin{align*} e^{ - \sum_{x_n \leq t}{g(x_n)} \end{align*} I've tried \[ \] ,the align* environment; and ...
2
votes
1answer
57 views

Missing $ inserted with \left and \right

Hello everybody I am a new Latex user and I try to write a my first presentation starting from a templete. When I try to make a slide with this code \subsection{Main Result} \frame { ...
10
votes
1answer
104 views

\DeclaredPairedDelimiter vs \newcommand

When should I use \DeclarePairedDelimiter and when should I use \newcommand? For example I have defined %Ceiling function \DeclarePairedDelimiter\ceil{\lceil}{\rceil} %Floor function ...
4
votes
3answers
314 views

How to get big curly braces for an equation with 3 parts?

I am very new to LaTeX. I want to display this: How should I go about doing this?
3
votes
1answer
53 views

Make Emacs ignore “mismatched” \index parentheses

I'm indexing a LaTeX document using Emacs and AUCTeX and RefTeX. One thing that makes it harder to match delimiters in the document (or to spot mismatched ones) is the propensity of Emacs (or maybe ...
1
vote
0answers
32 views

listings: enable language settings only inside delim

I wish to enable language settings (keyword, string etc.) only inside delimiter. Example based on Jubobs answer to question about highlighting oneline delim. \documentclass[a4paper, 12pt]{article} ...
3
votes
1answer
47 views

listings: Highlight one-line delim without the delimiter itself

I would like to use a one-line delimiter (with [l] parameter), but without highlighting the delimiter itself; something like sqlite> .open ex2.db What follows sqlite> should get highlighted but ...
7
votes
1answer
115 views

How can I have my ordinary delimiters come from the same font but 1 pt larger?

This question is general, but arises because I am using Times fonts; in CM, I would not make these changes. In CM, delimiters have a height that is larger than that of a capital letter, whereas in ...
0
votes
1answer
21 views

Change last multicite delim only for \textcite commands (not in bibliography)

Using biblatex with the authoryear-comp style you can set the 'and' sign for multiple authors by the \DefineBibliographyStrings command. Is it possible to define a different 'and' sign for intext ...
1
vote
2answers
39 views

Missing Delimiter (.inserted) error. How do I fix this?

\begin{proof} We are given that there exists a quadrilateral $ABCD$ on a sphere. Let us create a line segment $AC$ that divides our quadrilateral into two triangles. Thus, $\angle{A}$ and $\angle{C}$ ...
14
votes
1answer
135 views

A robust command for French-style intervals

In France, we usually write open or half-open intervals as ]a,b[ or [a,b[, not (a,b) or [a,b). I especially do not like (a,b) as it can be confused with an ordered pair. I have therefore defined an ...
5
votes
3answers
167 views

Cause DeclarePairedDelimiter to switch starred and nonstarred versions

I've made lots of use of the answer here, which shows how to switch the starred and nonstarred versions of a paired delimiter command (causing the regular version to automatically size the ...
1
vote
1answer
76 views

Read a text file by delimiter not by line break

I would like to populate a table, which I created in my LaTeX document, using iterating over cells of a text file. In order to read the text file I use this code. \newread\data \openin\data = data ...
2
votes
3answers
86 views

how to write large [ include 2 { like this picture

Please teach me. how to write large [ include 2 { like this picture. I can't do it. Please help me. That's my code \left[ \left\lbrace \begin{array}{rl} 0<\dfrac{2y}{\sqrt{3}}<1\\ ...
3
votes
2answers
69 views

pmatrix with \left( \frac \right)

The following MWE results in the Matrix shown in the picture. I would like the braces of the cos- and sin-functions in the first column not to touch each other. How can I achieve that? ...
2
votes
1answer
72 views

Listings - Only highlight between delimiters

I want to implement a function name color highlighting and I use the listings package. My 'regex' for this is def %s( where def (including space) is the first delimiter %s is the function name and ( ...
3
votes
0answers
108 views

Wrong parentheses size in \binom with xelatex and unicode-math in displaystyle

I am writing thesis, using XeLaTeX with unicode-math, documentclass is modified memoir. I need to typeset equations with binomial coefficient, however I get wrong sizes of parentheses around them. ...
0
votes
1answer
40 views

lfloor and rfloor dipping down too far [duplicate]

Why is the right-hand side delimiters going much further down than the depth of the denominator? \documentclass{article} \usepackage{amsmath} \begin{document} \[ \left \lfloor \dfrac{n}{p^{i+1}} ...
4
votes
1answer
129 views

Blank left and right delimiters produce an unknown symbol

I recently compiled one of my files after updating my TeX distribution (including the unicode-math package, as I use the MinionMath font set) and noticed a strange error. In my file I used a cases ...
3
votes
1answer
77 views

Why do \left and \right add so much extra space under the baseline?

When I write \[ \left \lVert \overrightarrow{\nabla} \right \rVert \] I get way too much extra space under the baseline: Why is this happening, and how can I fix it?
5
votes
1answer
108 views

Replace regular parenthesis with stretching versions

I have nearly finished writing my ph.d. thesis, and throughout I've been using regular parenthesis mostly, for everything math. Now, I'd like to replace all instances of (...) by their ...
12
votes
1answer
378 views

mathtools brackets larger than \Bigg

I'd like to use the syntax of the mathtools package to generate brackets larger than \Bigg. One can create larger brackets than \Bigg of specified size using About big parenthesis larger than Bigg ...
5
votes
1answer
150 views

\mid or \vert in a conditional expectation or density function?

Which would you use to write a conditional density function $f(y|x)$ or a conditional expectation $E(y|x)$? There is an old question on this \mid, | (vertical bar), \vert, \lvert, \rvert, \divides, ...
2
votes
1answer
41 views

Double bar delimiter broken by gb4e package

I was trying to utilize the double bar delimiters \| and \|. The output should be of the form ||P||, but with the gb4e package only a single vertical bar gets printed. How can I fix this? MWE: ...
26
votes
4answers
742 views

Design of new brackets

There are many types of brackets (), [], {}, ||, <>, etc. In the context I use them all have already a fixed mathematical meaning; therefore I need another one. The brackets I use have two ...
4
votes
2answers
150 views

Issue with putting a bracket delimited matrix inside another matrix

I was trying to make this matrix delimited by brackets within another matrix. Here is what I've managed to do so far, but I'm not too sure if I'm using the right approach. I tried to use bmatrix ...
7
votes
2answers
220 views

Arbitrary \left \right delimiters

Is there a package that would allow me to use other symbols/any symbol apart from the (among others) usual delimiters () [] {} | with \left and \right? For example, \(\left\int f(x) dx \right.\) ...
1
vote
0answers
247 views

revtex4 with subfig: “Missing $ inserted” error after subfigure caption; no math in caption [closed]

I am using the document class revtex4, and packages graphicx and subfig (with option caption=false). I want to make a figure with two subfigures. While I would ideally like to have captions for the ...
4
votes
1answer
90 views

How much bigger are delimiters

While trying to duplicate TeX dimension computations, I noticed that the delimiters placed with \left…\right are slightly bigger than the box around which they wrap. How much bigger, how is that ...
17
votes
2answers
1k views

Vertical spacing of \sin and \cos

This is a random, silly question. I was writing two versions of my calc 1 final and came across something that is going to bug the crap out of me. I have noticed a different spacing format for one ...
3
votes
3answers
126 views

How can I create this aligned bracketed thing?

I'm trying to create a list of items that looks something like this: but I can't figure out how to position the bracket properly. Here is what I currently have, minus the brace (which I edited into ...
8
votes
2answers
1k views

Why does \big\mid not work?

It is well-known \big\mid throws an error. But why is it so? As far as I know, \mid is equivalent to \mathrel|, while \lvert and \rvert are equivalent to \mathopen| and \mathclose|, respectively --- ...
5
votes
1answer
383 views

Is \left…\right necessary when there are sub/super-scripts?

$(a_2+b^3)$ or $\left(a_2+b^3\right)$. Which is correct? An experiment shows that in these two expressions the size of parentheses are different. Is \left...\right necessary for correct ...
3
votes
2answers
64 views

Delimiting equations in math mode

I'm trying to delimit an equation with parentheses and it has fractions inside it, so I can't just increase the parentheses' size, because they wouldn't be correctly alligned. What I'm trying to do is ...
1
vote
2answers
268 views

Problem with \multinamedelim and \DeclareNameFormat in Biblatex

I have changed the delimiter for the authors in the bibliography with this code. It is working. \renewcommand*{\multinamedelim}{\addcomma\space} \renewcommand*{\multilistdelim}{\addcomma\space} ...
8
votes
2answers
136 views

\bigl and \bigr in sub/superscripts

When typesetting expressions with multiple adjacent parentheses, I like to use \bigl and \bigr on the outermost parentheses to make it easier to read, especially with 3 or more parentheses in a row. ...
1
vote
2answers
140 views

Biblatex delimiter after journal title

I am trying to change the separator between the title of a journal article and the following element (In this case the name of the journal). however, I cannot find the proper delimiter in the §4.10 of ...
3
votes
0answers
3k views

Undefined Control Sequence \maketitle [closed]

%% ---------------------------------------------------------------- %% Thesis.tex -- MAIN FILE (the one that you compile with LaTeX) %% ---------------------------------------------------------------- ...
0
votes
1answer
193 views

Bad math environment delimiter

I'm getting a bad math environment delimiter error and I don't know why. Here is the part where I'm getting error: \\(\forall x \in U: \tilde{M} = \{(\(x\); \mu_{\tilde{M}}(x)) \in [0,1]\}\\) I ...