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 ...
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
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 ...
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
2answers
77 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\}$ ...
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 ...
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 ...
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 ...
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( ...
3
votes
0answers
168 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
3answers
320 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 ...
4
votes
4answers
219 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
655 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} ...
6
votes
2answers
237 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!
1
vote
1answer
382 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, ...
7
votes
2answers
257 views

Less aggressive automatic paren stretching with \left

\left and \right are convenient but sometimes they're a bit overeager in stretching the parentheses. In that case we can manually use \bigl, \Bigl, etc. I have defined a new command like this ...
19
votes
3answers
740 views

How can I create a new extensible symbol?

Given an arbitrary thin vertical symbol, can I create a new math delimiter from it (and if so, how)? Edit: Ideally, I would like to be able to create an extensible symbol, either built out an ...
7
votes
3answers
225 views

Can \left( … \right) be instructed to ignore nonexistent upper or lower limits of summation? [duplicate]

In a formula such as \[ \left( \sum_{n\in\mathbf{N}} \right) \] the left and right delimiters extend not only downwards to cover the lower limit of the sum, but upwards an equal amount as if to ...
3
votes
1answer
340 views

How to automatically scale `\mid` within delimiters

\mid within \left and \right delimiters is expected to be automatically scaled, but today I noticed such behavior: L = \sup \left\{ \sum_{x \in F} a(x) \mid F \subset X,\, |F| < \infty \right\}, ...
20
votes
1answer
357 views

Sloppy \left and \right?

The \left and \right commands often produce improvidently large delimiters. It almost always looks better to use delimiters that are just slightly too small than delimiters that are too large. With ...
6
votes
2answers
223 views

Space added after \right

I have a problem regarding the space added by \right.. I have read this answer regarding the topic, where @egreg proposes a macro that deletes this space. However, when using this in my own ...
10
votes
1answer
1k views

Easily change behavior of \DeclarePairedDelimiter

After seeing the answer to this question I realized that I preferred the way of working of Juan A. Navarro's answer: I.e., \DeclarePairedDelimiter{\parens}{\lparen}{\rparen} from mathtools is a ...
6
votes
0answers
119 views

Spacing around \left and \right: When is it needed? [closed]

There have been a few questions (such as this and more recently this) regarding the "extra" spacing around \left and \right. And there are various options for fixing it, including the mleftright ...
11
votes
1answer
210 views

Compatibility between amsmath and exscale

Both the amsmath package and the exscale package define the delimiter macros \big, \Big, \bigg and \Bigg based on the internal macro \bBigg@. However, as the following minimal example reveals the ...
8
votes
3answers
372 views

How to make pipe to grow with both sides?

How to make pipe (vertical bar) symbol to grow like in Dirac product notation but without outer angle brackets?
18
votes
2answers
13k views

What do the pieces of LaTeX, \left and \right, respectively mean?

What are their uses and are they even standard?
3
votes
0answers
299 views

Character combination and horizontal spacing [closed]

Thanks for this awesome website that helped me countless times! I need to use double square brackets. I know about those in the stmaryrd and MnSymbol packages, and I heard about unicode-math—but for ...
13
votes
1answer
137 views

\( \) don't work with TOC?

If i write this line of code \subsection{Ranger \( n \) boules distinguables dans \( M \) boîtes} I obtain an error over the second \) (./Probabilité.toc ./Probabilité.toc:8: LaTeX Error: Bad ...
5
votes
2answers
101 views

Fence/delimiter stored inside in a macro

I'm wondering, say I have this definition \newcommand\restrictedTo{\vert\sb} to be used as $f \restrictedTo A$. This works fine, but $f \big \restrictedTo A$ fails, whereas $\left. f \right ...
7
votes
2answers
182 views

delimiters with exact size

I'm looking to get a delimiter at an exact and user specified (point) size, rather than the default "a discrete size big enough to hold the contents" of \left( etc. Is this possible? I've tried ...
4
votes
1answer
540 views

Algorithmicx — How to use latex maths delimiters

Today, I decided to migrate from using TeX [$..$] to LaTeX [\(..\)] delimiters for inline maths, and, as usual, fell off the cliff of my somewhat precarious understanding of TeXian gastroenterology, ...
36
votes
4answers
9k views

Latex: Nice abs

I have this expression: |x-|x-|x-4||| Now, every | sign has the same size, but I'd like to make the outward pairs bigger. Is it possible to do it automatically, or do I have to define the size of ...
6
votes
1answer
2k views

Extend double vertical bar

I'm trying to write an expression in math mode similar to this formula: My LaTeX expression looks like this: \min \| \begin{array}{c} ... \end{array} \| but it happens that the double lines are ...
5
votes
1answer
297 views

What's wrong with my braket macro?

Based on egreg's alternate solution to my previous question from which I learned the idea of making characters into macros, I've now defined a different syntax for bra-kets which I actually like even ...
47
votes
2answers
5k views

automatic size adjustment for nested parentheses

As I prefer outer parentheses to grow larger in nested expressions, I happen to insert \bigl and \bigr and its larger cousins a lot. I have always wondered whether there is a way to do this ...
6
votes
1answer
238 views

Using “found” code to typeset augmented matrices, want [] instead of ()

Here's a minimal example of what I'm doing presently: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{arydshln} \makeatletter \renewcommand*\env@matrix[1][*\c@MaxMatrixCols ...
4
votes
2answers
214 views

Is there a way to detect `\left` in front of macros?

Is there a way to have a macro optionally prefixed with \left or \right and have it expand differently depending on that? For example, have \bra{x} expand to \langle x |, but \left\bra{x} to ...
9
votes
1answer
157 views

Is there a package to differently color nested expressions in the output?

Say I have an expressions like $(\sin(x-3(z^{(x-2)^2}))+1)^2$ with many nested expressions. To better visualize this in the output (and to help finding missing delimiters when proof-reading) I'd like ...
4
votes
1answer
880 views

XeTeX \left and \right problem

I have a problem with the 〈 and 〉 symbols (Unicode encoding: 27E8 and 27E9) which replace the \langle and \rangle, when I try to combine them with \left and \right commands. The following examples ...
10
votes
3answers
2k views

Using ] and [ as math symbols, not delimiters

I'm writing some topology up, and I prefer to use the notation ]a,b[ to denote an open interval as opposed to (a,b), since the ( and ) symbols tend to be over used in this subject. Is there a ...
1
vote
2answers
846 views

Splitting a long equation with a curly brace for the equations in two lines

The equation that I have pasted below is very long. I want the first equation (e34a) after dw^2/dx^2 to be split in two lines with a common curly brace for the equation in two lines. My code is ...
4
votes
3answers
4k views

Resize integral evaluation limits

When I want to show evaluation of limits of an integral, I would type \int_1^2 x\; dx=\frac{x^2}{2}|_1^2=4-\frac{1}{2}=\frac{7}{2} How do I get the vertical bar showing the limits big enough? I ...
12
votes
3answers
3k views

Why use the control sequences \bigl, \biggl, \bigr or \biggr, as I can always use \big or \bigg?

If my manuscript file has $$\biggl({\partial^2\over \partial x^2}+ {\partial^2 \over \partial y^2}\biggr)\bigl|\varphi(x+iy)\bigr|^2 = 0$$ or $$\bigg({\partial^2\over \partial x^2}+ ...
9
votes
3answers
2k views

Cases with square brackets

How can I subdivide in cases with square brackets? I mean I want to write: ⌈ 2_i if ... rank (q, l) = | 2_i + 1 if ... ⌊ .... with square brackets, not ...
65
votes
4answers
4k views

Spacing around \left and \right

Why does the addition of a \left and \right introduces an extra space around the formula? Specifically, why do $\cos(\theta)$ and $\cos\left(\theta\right)$ render differently? Is there a way to use ...
13
votes
1answer
6k views

How can I have a bigger integral (\int) delimiter?

I'm writing some integrals and I don't like the way the \int symbol is displayed when it is followed by a big delimiter. Here's the code: \[ \int_S\biggl(\nabla\times\bar B - \mu_0\bar J - ...