{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
1answer
80 views

How to improve in-text math expressions with multiple delimiters such asl `(`, `|`?

Consider this equation: first $\lceil (cN-n) |S_{n+1}|\rceil$ points which renders to: Is there a way to improve this, from the perspective of readability? The only improvement I could suggest ...
3
votes
1answer
57 views

Large Delimiters

I am stuck with a LaTeX glitch! I am making an exercise on sequences and series. I have to write down an expression for the general form of a sequence for which I need large delimiters. I tried ...
4
votes
1answer
61 views

Using \left( & \right) around amsmath's align delimiter (“&”)

I want to align equations (using the align environment from the amsmath package) inside matching \left( and \right) commands. For example: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} ...
4
votes
2answers
76 views

How to use \left and \right inside text environment

I would like to know how to use the \left and \right options in the text environment. This is what I am trying to do: \left( when factorizing $e^{-2000t}$\right) As you can see, I am trying to make ...
0
votes
0answers
36 views

Writing equations in Miktex [duplicate]

I need some help to ease me understanding this equation. I have tried to write but Miktex is bugging. Can someone tell me how to improve it in order to let it working? \documentclass[10pt]{article} ...
3
votes
2answers
329 views

Write this equation

I want to write this equation in this way down but I have been unsuccessful. How can I improve this codes in order to get the equation below? \[ DeltaC{t} = \left\{ \begin{array}{ll} -1.40- ...
6
votes
2answers
144 views

Allowing first undelimited argument to be empty

Consider the following macro definitions: \def\mymacro#1{\mymacroii#1\nil} \def\mymacroii#1#2\nil{% \ifx\\#1\\% empty% \else #1% \fi }% \mymacro{foo}% -> f \mymacro{} \bye This is ...
5
votes
2answers
66 views

How can I achieve \verb like behavior with an xparse argspec?

How can I use a previously scanned token as an argument to u{} in an xparse argspec? \documentclass{article} \usepackage{xparse} \NewDocumentEnvironment {some-cool-env} {D<>{\stopscan} u{#1}} ...
2
votes
1answer
60 views

delimiter size in cases environment

How can I change delimiter (brace) size in cases environment (for piece-wise function)? \begin{equation} f(x)=\begin{cases} \end{cases} \end{equation}
3
votes
1answer
85 views

Size-dependent \big-, \Big- (etc.) modifiers

What I'm looking for is a way to use \big and its friends such that they adapt to the environment that they're in, e.g. \scriptstyle. To a degree, this was already covered in this question and the ...
4
votes
1answer
112 views

Weird spacing issue using listings delimiters

I'm using moredelim (with prefix il) to typeset one-line "comments" in a very specific way: delimiter %% in red, rest of the line in blue. My approach works mostly as expected, aside from some ...
7
votes
2answers
110 views

Can comment delimiters be typeset in a style different from commentstyle?

Using listings, I'm trying to typeset single-line comments in a very specific way: although whatever follows should be typeset according to the value passed to the commentstyle key, the opening ...
4
votes
1answer
104 views

Why aren't the braces showing

I have this tex: \(\mu_{A}\left(x\right)\in \[0,1 \right\]\) The issue here is that [ and ] are not showing around 0,1, why is that? Thanks.
4
votes
1answer
105 views

How to get all the possible sizes of delimiters with Cambria Math

After this question, Cambria Math \bigg command doesn't work as expected, I discovered that Cambria has so many sizes of delimiters. I think the next logical step is to come up with a way of ...
5
votes
1answer
123 views

Cambria Math \bigg command doesn't work as expected

I get wrong sizes when I use \bigg and family with Cambria. Here is an example (I loaded mathtools before unicode-math and then my actual problem showed up). We can see that the size \bigg exists ...
5
votes
2answers
70 views

Set delimiters with accents

I'm trying to set a set delimiter using some mathematical accents For example: \documentclass{acm_proc_article-sp} \usepackage{amsmath} \begin{document} $\left\{{$\hat{P}$,$\hat{Cl}$}\right\}$ ...
10
votes
2answers
153 views

Maintainable typesetting of placeholders in code snippets

I'm looking for a maintainable way of typesetting placeholders in code snippets. In my listings, I would like that anything contained between the two delimiters @< and >@ be typeset in ...
5
votes
1answer
59 views

How to pass comma in value of a (xkeyval) comma separated list of values at \documentclass level?

At \usepackage level, xkeyval allows us to insert commas in value of a comma separated list of values: it is enough to enclose in braces the values containing commas. For instance, the following MCE ...
3
votes
1answer
93 views

How to make a larger {}?

I have this equation: $$P^{-1}(C) = \{\vec{x} = (x_{1:n},x_{n+1}) \in \mathbf{R}^{n+1} \mid \frac{x_{1:n}}{x_{n+1}} \in C , x_{n+1} > 0\}$$ but the {} brackets and the | sizes aren't auto ...
8
votes
1answer
70 views

Splitting file into lines and lines into parts

I'm working on a song book using LaTeX. It's early in the project, and the songs aren't all picked out yet, but I thought I'd fix the inner workings of it in the meantime. Since many people will ...
15
votes
2answers
211 views

Strange behaviour of binomial coefficient's delimiters

While writing down my Combinatorics exercises I found that the binomial coefficient's delimiters weren't displayed as indicated inside the amsmath documentation. By subsequent trials and errors I was ...
1
vote
0answers
48 views

brace in cases environment being displayed incorrectly because of package yhmath

Could someone please explain why I get this when using a cases environment? The code behind this is $$ \underbrace{\mathrm{u}(\tau )}_{\substack{=1\\ \text{για}\ \tau >0}} ...
6
votes
1answer
239 views

Is there a reason NOT to use \left and \right?

I was reading the mathtools documentation on \DeclarePairedDelimiter, and apparently only the starred version of the command it defines uses \left and \right on the delimiters. This surprised me a ...
5
votes
1answer
114 views

\lstMakeShortInline with @ delimiter

I'm including a fair amount of inline C++ code in a beamer presentation I'm making, and I want to be able to use the short syntax for \lstinline. My code displays fine if I use, for example, the ! ...
4
votes
2answers
126 views

Redefining brackets

In my thesis I'm working with a lot of brackets around fractions and every time I have to use \left( \frac{a}{b} \right). It can get really confusing if i have a long equation and a lot of fractions. ...
4
votes
1answer
283 views

\left\langle bigger then \Biggl\langle

I am putting a graphics inside \left\langle .. \right\rangle, as \left\langle \vcenter{\hbox{\includegraphics[scale=0.05]{images/lhs.pdf}}}\right\rangle_{av} The problem is, as it seems, for ...
3
votes
1answer
1k views

Missing delimiter (. inserted) }

Here is the tex file which I encounter to this error, the result has no problem but the software show this error and I can't understand what is wrong (as the pdf result is ok!). So I will be glad if ...
6
votes
1answer
211 views

Change how to enter a matrix in Latex

In Matlab I can create a matrix by typing A = [1 2 3; 4 5 6; 7 8 9], for this the space is a delimiter between the entries of the matrix. I am wondering if there is a package which makes it possible ...
8
votes
3answers
237 views

creating delimiters and inequality signs

I would like to have a delimiter whose upper half is the upper half of the delimiter [ and whose lower half is the lower half of the delimiter ( -- so that it be one continuous line, and also the ...
3
votes
1answer
76 views

Why the \mleft and \mright commands inhibits the breaking between delimiters inside dmath?

Consider the following code: \documentclass[twocolumn]{article} \usepackage[margin=1in]{geometry} \usepackage{lipsum} \usepackage{amssymb} \usepackage{mathtools} \usepackage{breqn} ...
6
votes
1answer
153 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
172 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
265 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
160 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 ...
9
votes
3answers
251 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: ...
4
votes
1answer
99 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
285 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
196 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
194 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
519 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
433 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
199 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
258 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
98 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
153 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
316 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
143 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} ...
3
votes
1answer
2k 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
250 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
57 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} ... ...