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

\colon vs : in class terms

Resuming Using \colon or : in formulas? and Set notation: \colon vs :, let us take a look into Knuth's TeXbook on p. 174: $\{\,x\mid x>5\,\}$ { x | x > 5 } $\{\,x:x>5\,\}$ { x : x &...
62 views

Spacing in \colon

Following this question the consistent way to write a function is f\colon A\to B, but if I want to write a cospan like the following \documentclass[border=1mm]{standalone} \usepackage{mathtools} \...
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.
88 views

How do I change the way the colon is typeset?

In math, I exclusively use the colon : for punctuation, i.e. in the sense of \colon (compare this question). Hence I would like to change the way : is being typeset, so that it resembles \colon. Is ...
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 ...
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]{...
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 ...
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 ...
85 views

Modify \funcdef macro to use pgfkeys instead of keyval

I attempted to modify the \funcdef macro from egreg's solution from A macro adding or removing parenthesis automatically to use pgfkeys, but am running into some difficulty (probably related to some ...
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 ...
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 ...
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 ...
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 ...