1
vote
3answers
108 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} ...
7
votes
2answers
266 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 ...
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 ...
8
votes
3answers
388 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?
4
votes
1answer
486 views

How to make expanding middle delimitors like in the braket package

The braket package has convenient commands like \Braket and \Set, where | are automatically expanded vertically. This allows to easily typeset expressions like \documentclass{minimal} ...
6
votes
1answer
241 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 ...
11
votes
1answer
340 views

bracket with doubled delimiters

I want to typeset Hilbert-Schmidt-Products as the Liouville-Equivalent of the Hilbert Space Braket, with doubled delimiters, like this: \Lbraket{\rho|\rho} results in <<rho|rho>>. I was ...
15
votes
3answers
5k views

Align large vertical delimiters (brackets) to rows of a table?

I’m trying to typeset a table of data, with brackets (i.e. }) at the right-hand side to show a classification of the rows.  Something like: ----------------------- | Aardvark | Armenia | \ ...
21
votes
2answers
6k views

Escaping square braces

I want to use some text as the optional parameter to some command. The text includes square braces ([ and ]), but since the optional parameter goes within square brackets, unexpected things happen. ...
66
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 ...