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.
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 "...
104 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 ...
48 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: \...
263k 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]{...
14k 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 ...
74k 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 ...
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 ...
26k 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| ...
20k 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 \...
779 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?
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 ...
2k 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, ...
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 ...