{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

11
votes
3answers
163 views

Command delimited by return or blank line

I have this document \documentclass{scrartcl} \long\def\quotenextparagraph#1 {\begin{quote}#1\end{quote}} \begin{document} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod ...
2
votes
2answers
61 views

Automatic matching and scaling delimiters

When I'm writing maths in TeX, I often have to use the scaling delimiters \left( and \right) and so on. I find the heavy use of them very unreadable in the source code. Is there any possibility that ...
7
votes
2answers
108 views

Problem with \left\langle \right\rangle in continued fractions

$$ {\bf A}_3+ \left\langle{\cfrac{\bf I}{{\bf A}_2+ \left\langle\cfrac{\bf I}{{\bf A}_1+ \left\langle\cfrac{\bf I}{{\bf A}_0}\right\rangle_1^{-1}} \right\rangle_2^{-1}}} ...
4
votes
2answers
68 views

Make a character thinner

With the following LaTeX code, the braces look too thick when the array is large. Is it possible to make the brace thinner? By the way, the | delimiters look always good. \[\left\{\begin{array}{l} ...
5
votes
0answers
47 views

Listings package - distinguish between […] and \[…\]

The listings package provides the option moredelim, allowing for custom styles for words enclosed by given delimiters. I would like to give $...$, \[...\] and $$...$$ custom colors. \[...\], however, ...
6
votes
3answers
75 views

bigdelim and text with multiple lines

I have a table with a common label for multiple lines. Using bigdelim I place brackets to give explanations. My explanation has too much text for one line, so I would like it to break over multiple ...
3
votes
1answer
103 views

how do I add delimiters to both sides of a tikz node?

Here is a simple document which does not seem to display properly: \documentclass{article} \usepackage{tikz} \usetikzlibrary{matrix} \begin{document} \tikz \node[matrix of nodes] { |[left ...
3
votes
2answers
97 views

New \left \right delimiters

Can I introduce new delimiter symbols to use with \left and \right? For example I would like to do \begin{equation} \left\harpoonleft something \right\harpoonright \end{equation} I would then like ...
4
votes
1answer
218 views

Why is the Zero Vector so Big?

The esvect package seems to produce a zero vector with height larger than I would have expected. The one shown in red is produced using $\norm*{\Vec{0}}$ and seems to have the delimiters resized ...
5
votes
2answers
62 views

kpfonts vs. fence scaling

Consider this example \documentclass[a4paper]{memoir} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage[T1]{fontenc} \usepackage{kpfonts} \begin{document} \[ (\big(\Big(\bigg(\Bigg( \] ...
3
votes
1answer
52 views

How can I label a matrix's opening delimiter with tikz?

I have few hours experience with tikz. I am trying to highlight the matrix delimiters with arrows, but just can't figure out how to accurately position, for example: \documentclass{article} ...
4
votes
2answers
102 views

Delimiters as math symbols (and not delimiters)

I am currently using delimiters (brackets, [ and ], to be precise) as symbols in math equations. Of course, the compilator considers the brackets as delimiters, and the spacing is thus not very ...
4
votes
2answers
181 views

How can I typeset those braces?

How can I typeset the following expression?
3
votes
1answer
90 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
78 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
172 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} ...
5
votes
2answers
106 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
345 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
150 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
72 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
80 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
100 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
147 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
133 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
113 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
120 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
148 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
78 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
164 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
81 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
94 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
72 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
240 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
57 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
251 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
166 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
158 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
424 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
2k 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
259 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
271 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
95 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
167 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
183 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
345 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
169 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
262 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: ...
5
votes
1answer
109 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
321 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 ...