{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

1
vote
1answer
96 views

Why can't I vertically align these two matrices?

Why won't these matrices become left-aligned? \documentclass[11pt,a4paper,oneside]{report} \usepackage[pdftex]{graphicx} \usepackage[T1]{fontenc} \usepackage{fouriernc} \usepackage{mathtools} ...
2
votes
0answers
33 views

braces marks with \framed & \tikz

I'm trying to mark some paragraphs with boxes, braces, brackets or parentheses coupled with notes in margin… My first test was using \makebox & minipage according to this discussion as you can see ...
6
votes
1answer
54 views

Unlimited size delimiters with TikZ

Compare this two outputs Which one would you prefer to have in your document? I would definetly prefer the one on the right. However, most fonts (MinionPro in this case) only offer four sizes of ...
8
votes
2answers
79 views

Creating bullet-list from string with delimiters

I want to create a bullet list from a string with delimiters in it. The delimiter in my example is | Example string: This is|A bullet|List from|A string I want to get that to become a bulletlist ...
6
votes
1answer
39 views

Uniform delimiter size

In my preamble I have the following \DeclarePairedDelimiter\norm{\lVert}{\rVert}% \makeatletter \let\oldnorm\norm \def\norm{\@ifstar{\oldnorm}{\oldnorm*}} \makeatother without really knowing how it ...
6
votes
1answer
90 views

Can I write a range in [0-1) style with siunitx?

I want to give a range of degree in my document. One end is explicitly inside the range, while the other is outside. Is there a "correct" SI way of writing a range with an inclusive and exclusive end ...
6
votes
2answers
136 views

Delimited arguments and using a macro inside of itself

I wanted to play with delimiter sizing without using the \delimiterfactor, -shortfall, etc. and made the following: \newdimen\bigdim \bigdim = 1.9743ex \newdimen\Bigdim \Bigdim = 2.671ex ...
4
votes
2answers
80 views

Conflict between animate package and math delimiters?

I've encountered an unusual problem with the animate package and the use of math delimiters, like \left\{. When compiling the MWE, I get the error Missing delimiter (. inserted). on the math line. ...
11
votes
3answers
169 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
68 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
118 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
52 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
85 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 ...
4
votes
1answer
120 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
103 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
229 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
65 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
55 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
107 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
184 views

How can I typeset those braces?

How can I typeset the following expression?
3
votes
1answer
92 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
84 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 ...
5
votes
1answer
209 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
117 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
352 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
152 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
73 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
85 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
103 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
153 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
136 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
122 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
155 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
79 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
167 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
83 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
74 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
244 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
58 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
258 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
181 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
164 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
466 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 ...
7
votes
1answer
278 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
278 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 ...