5
votes
1answer
68 views

Redefine \middle| to insert space before and after itself

I want to use \middle| inside of brackets like this. \documentclass{article} \begin{document} \begin{equation} \left\{\frac{1}{n} \middle| n>0\right\} \end{equation} \end{document} ...
4
votes
1answer
81 views

Spacing around brackets in slanted or italics

From time to time I use brackets as an equivalent of respectively, like in the following sentence: A semigroup [monoid, group] $S$ is commutative if, for all $x, y \in S$, $xy = yx$. Now, I would ...
0
votes
1answer
94 views

When to use `\left(` and when plain `(`? [duplicate]

This is basically a follow-up to the comments on this answer which I couldn't find to be settled anywhere. I learned that you can write ordinary bracket simply using f(x) but that you can also use ...
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 ...
7
votes
3answers
373 views

Space before right bracket

I have created this formula using mathptmx as font \begin{equation} BER = Q\left(\sqrt{\dfrac{2E_{b}^{\text{RX}}}{N_{0}}}\right) \end{equation} getting the above result: I'm not totally ...
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 ...
5
votes
3answers
339 views

Parenthesis size and white space in equation with long subscripts

I'm writing an equation which contains a relatively long subscritps under a summation, which is just next to a bracket. The code is the following $$\mu_j=\E(X_j)=\E\left( \sum_{i\in ...
7
votes
1answer
190 views

How can I force pairs of brackets [][] to be closer to each other in \texttt?

\documentclass{article} \begin{document} Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Normal margin here. Abcdefgh ...
6
votes
3answers
394 views

A way to mark things in math mode

I want to mark the weight function in an equation, using something similar to \underbrace. Using this piece of code: (x^2y')' + \lambda \underbrace{x^2}_{\text{Weight function}}y = 0 I get . I ...
3
votes
2answers
2k views

Equation: Using \left brackets inserts unwanted space [duplicate]

Possible Duplicate: Spacing around \left and \right I'm having some problems with writing down an equation in LaTeX. It's only a minor issue regarding appearance, but I'm kind of a ...
11
votes
1answer
338 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 ...
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 ...