Linked Questions

-1
votes
1answer
5k views

Vertical line in LaTeX [duplicate]

How can I get this vertical line in LaTeX: | I dont see a command for it, and if I type | it becomes horizontal.
2
votes
0answers
11k views

Symbol for “such that” (not in set) [duplicate]

If a is a set a \leftarrow { b| b must satisfies property} but if a is an element a \leftarrow b| b must satisfies property is this a usual notation? Or what other symbol should I use for the "...
1
vote
0answers
103 views

Space between a|b in math mode? [duplicate]

For a context free grammar I need to write: A -> a | b My code for this is $ A \rightarrow a | b $ however this gives me something like A -> a|b // wanted: a | b, note the space before and ...
0
votes
0answers
41 views

Spacing around divide (|) symbol [duplicate]

LaTex by default sets fairly small spaces around "divide" symbol (|). Is there a way to force larger skip (e. g. force LaTex to treat | as binary operator or = symbol)? MWE would be fairly simple: \...
47
votes
2answers
236k views

How to write norm which adjusts its size? [duplicate]

I need to write norm of sum, but the sum symbol is larger than tho norm symbol (||) and it doesn't look good. Is there any symbol for norm which will adjust its size? \documentclass[12pt,a4paper]{...
33
votes
4answers
13k views

variable-sized “such that” pipe

I am looking for a pipe symbol that can be made to vary in height automatically. One of the common ways of writing "such that" in mathematics is with the pipe symbol (|). The pipe can be represented ...
22
votes
4answers
66k views

vertical bar for absolute value and conditional expectation

Now I use "mid" for all vertical bars, but I wonder what's the proper ways. The first scenario is vertical bar for absolute value. Now I just right $x\leq \mid x \mid$. but is this correct? The ...
26
votes
3answers
4k views

Vertically asymmetric size variation for parentheses

One of the difficulties I have with writing formulas in LaTeX is that the standard sizing tools for the variable-size operators (parentheses, etc.) do not account for "high" symbols and "low" symbols ...
28
votes
2answers
22k views

divides, not divides and cardinalities

In group theory it happens very often that you want to say: "The order of $H$ divides / does not divide the order of $G$." But the length of | is then always the same: $ |H| | |G| $ produces |H|||G| ...
15
votes
3answers
768 views

What style/font is this?

Does anyone know how to create numbering for Theorem/lemma/… like this one in the image below, also any idea about the font name?
17
votes
1answer
17k views

a ∣ b and a ∤ b in formulas

What is the correct way, both semantically and typographically, to typeset a ∣ b and a ∤ b (read “a divides b” and ”a does not divide b”)? I guess I could simply type | (vertical bar, U+007C) or \...
8
votes
2answers
2k views

Using \big| and \right| versus \bigr\rvert and \right\rvert

Based on the answers to this question (about \bigl, \bigr, \big, etc.) and this question (about \lvert, \rvert, |, etc.), I would think that anytime one used a vert bar to delimit on the right they ...
6
votes
1answer
1k views

\mid or \vert in a conditional expectation or density function?

Which would you use to write a conditional density function $f(y|x)$ or a conditional expectation $E(y|x)$? There is an old question on this \mid, | (vertical bar), \vert, \lvert, \rvert, \divides, ...
1
vote
1answer
652 views

How can I align this sequence of equalities and inequalities?

Everything I find only deals with = signs and not with \le and <. $|f(x)-f(y)| = |f(x)-f_n(x)+f_n(x)-f_n(y)+f_n(y)-f(y)| \le |f(x)-f_n(x)|+|f_n(x)-f_n(y)|+|f_n(y)-f(y)| ...
3
votes
1answer
169 views

Redefine vertical bar <|>: How to typeset negative sign correctly?

In my document I have to typeset several points with coordinates. Example \(P(-3|-2)\) Output As you can see LaTeX handles the second sign as an minus sign (binary operator) whereas it's an ...

15 30 50 per page