{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

3
votes
2answers
133 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
27 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
51 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
78 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
282 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
31 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
25 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
34 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
106 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
14 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
32 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
125 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
125 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
38 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
82 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
55 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
51 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 ( ...
2
votes
0answers
84 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
31 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
90 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
67 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
79 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
220 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 ...
4
votes
1answer
102 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
37 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: ...
20
votes
3answers
625 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
128 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
186 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
169 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
77 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 ...
16
votes
2answers
563 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
122 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
432 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
212 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
58 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
152 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
122 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
109 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 ...
1
vote
0answers
2k views

Undefined Control Sequence \maketitle [closed]

%% ---------------------------------------------------------------- %% Thesis.tex -- MAIN FILE (the one that you compile with LaTeX) %% ---------------------------------------------------------------- ...
0
votes
1answer
148 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 ...
2
votes
0answers
148 views

soul for text highlighting, microtype for letterspacing, and xspace: incompatibility

I am trying to use soul for highlighting text and microtype for letter spacing (and other things). But I cannot get the two to work together nicely when I include xspace (I use this mainly for ...
5
votes
1answer
78 views

Declare non-stretching non-pairing delimiters

How do I define my own delimiters from arbitrary symbols for math which have these properties: They have a fixed size. Unlike the usual delimiters they do not stretch to adapt to the enclosed ...
8
votes
6answers
775 views

A curly brace with an asymmetric cusp

I am trying to write one set of equations implying the next, inline with text. What I would like to do is something like the following: \documentclass{article} \begin{document} And so, \(\left. ...
0
votes
1answer
100 views

\DeclarePairedDelimiter with \left and \right

Why does this not work? \documentclass{article} \usepackage{mathtools} \usepackage{amsmath} \begin{document} ...
4
votes
2answers
107 views

change delimiter (slash) size in math mode

I use the division sign, together with an underscore and smash: $\underline{\smash{X/P}}$ The result is the following: How can I reduce the lower part of the slash, so it does not suppress the ...
4
votes
1answer
189 views

How can I apply two styles using moredelim?

I'm using lstlisting with moredelim to color sections of the listing. Now, I'd like to also underline the same sections. I found that I cannot simply add \underbar. \lstdefinestyle{foo}{ ...
6
votes
1answer
89 views

How can I essentially '\ensuremath' a \DeclarePairedDelimiter (from `mathtools`)?

I am trying to create a paired delimiter command that will work outside of text mode. I was not able to accomplish this simply by defining a new command with \ensuremath, so I've resorted to the use ...
10
votes
6answers
571 views

Adjust the height of the “|” in a mathematical term

I have a mathematical term produced by two different pieces of code: \displaystyle H\left(\frac{1}{2},\frac{1}{2}\left|_{C_{k}=1}\right.\right) \displaystyle ...
4
votes
2answers
190 views

Math-Mode: No-Delimiter

This is a subquestion related to Evaluation Symbol. Is there something of the form \left<?> instead of \left. telling LaTeX to enclose the expression here and not to insert any delimiter at ...
5
votes
2answers
161 views

Evaluation Symbol: Consistent Implementation

This question has been posted several times but... I'm looking for a consistent implementation of the evaluation symbol: Evaluation bar as delimeter: <...>| Auto-size to its enclosing ...