17 questions linked to/from Using \colon or : in formulas?
1k views

### What spacing around colon in function notation? [duplicate]

Is there some standard for which spacing is to be preferred in the f: X -> Y notation for a function? Three possibilities: $f \colon X \to Y$ \\ $f: X \to Y$ \\ $f \mathpunct{:} X \to Y$ The ...
3k views

### Why are \colon and \mathpunct{:} not equivalent? [duplicate]

According to this answer, \colon is of type \mathpunct. But in the MWE below, the outputs of the two lines are not identical. Why not? \documentclass{article} \usepackage{amsmath} \begin{document} ...
315 views

### Set notation: \colon vs : [duplicate]

Does the definitive way to write the colon, when writing sets in the form \{x\in A : P(x) \} exist and if there is one, which is it? (Two approaches exist. Either writing it as I just did (this is ...
139 views

### How to typeset a math function from and to a domain [duplicate]

Possible Duplicate: Using \colon or : in formulas? Currently I use f\colon A \to B to define a function map. I do not know whether this is better than f:A \to B What's the best way? ...
13k views

### How to change default for spacing around binary relations?

In TeX and LaTeX, the math binary relations (like =, \parallel, <, \le ...) have a default (rubber-length) spacing to either side, which is too large for my liking. How can reduce it?
5k views

### How to write notation of "set of real numbers" in LaTex? [duplicate]

How to write this maths symbol below: I search in enter link description here, but it said \R and $\R$ but is not working.
7k views

### function definition: $\to$ plus $\mapsto$ [closed]

I know that one should use $f\colon A\to B$ instead of $f: A\to B$ Now I am wondering how one should write the declaration of domain and codomain of a function (i.e. f: A --> B) together with the ...
660 views

### \typecolon is a \mathbin; it should be \mathrel

In unimath-symbols.pdf, the open colon ⦂ (U+02982), called the Z notation type colon, is declared as \mathbin. As far as I know, you use this type colon as demonstrated in the following example. The ...
287 views

### Equation alignment creating unwanted space

I am defining some text in a align, but no matter how i place the & symbol to create the alignment i get a space between the first chars. \begin{align*} H_0:& \text{Something.}\\ H_1:& \...
459 views

### Customize counter using tcolorbox?

By now I've spend a lot of hours to find a way to customize the "Counter" inside tcolorbox package. I wanted to put a definition in a tcolorbox as below. In order to get this formation for ...
557 views

### Forcing LaTeX to adjust ':' spacing to match \colon

As discussed here, mathematical functions should be defined using \colon, while set definitions should be done using :. My problem is that I define functions about twenty times more often that I ...
465 views

### Customising enumerate lists - Problem with adding colon

I am trying to add a colon after item number in enumerated list but this produces an error. Here is my normal MWE: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc}% \usepackage[T1]{...
283 views

### Where does not TeX make correct spacing and formatting in math formulas automatically?

I am writing book with a lot of math formulas. I am interested to print them correctly according to typography rules, Knuth's recommendations or AMS-society's recommendations. I saw in this question ...