{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
143 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
746 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
99 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
89 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
189 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
233 views

How can I typeset those braces?

How can I typeset the following expression?
3
votes
1answer
104 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 ...
6
votes
2answers
156 views

Typesetting a small function with Big parameters

I have a small function that needs to take big parameters. Right now I think that the function part looks too small and implicitly suggests it might be some kind of multiplication instead of an ...
4
votes
1answer
123 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
78 views

Why do the braces in f{\left(x\right)} affect the output? [duplicate]

Why does f\left(x\right) result in more space before the ( than f{\left(x\right)}? i.e. Why does putting extra braces suppress the space?
7
votes
2answers
237 views

Create a resizable symbol?

Some symbols can be resized automatically with \middle when placed between a \left. and a \right. They can usually also be resized using \big or \bigg. Examples of such symbols are |and / and pretty ...
6
votes
1answer
2k 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
161 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
380 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
157 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
85 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
160 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
139 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
191 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
211 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
117 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.
3
votes
0answers
149 views

How to replace parentheses with symbol of other font so that they are expandable? [closed]

I use Bitstream Charter for my document, but I'm not satisfied with the appearance of round parentheses. I'd like to replace them with the parentheses from Palatino, both in text and math mode. In ...
4
votes
1answer
165 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
203 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
102 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\}$ ...
11
votes
2answers
205 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
120 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
101 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 ...
3
votes
2answers
139 views

Anomalous bracket sizes when using the cancel package

I have been happily using the cancel package that allows to cross out parts of mathematical formulas for some time now. However, today I noticed a very strange behaviour in the size of brackets ...
8
votes
1answer
82 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
325 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 ...
2
votes
1answer
75 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
285 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 ...
6
votes
1answer
341 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
266 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
1k 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
3k 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 ...
8
votes
1answer
471 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
451 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
175 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
220 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
202 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
645 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
202 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 ...
11
votes
3answers
313 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: ...
7
votes
1answer
175 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
596 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
246 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}) ...
5
votes
4answers
271 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 ...