# Stylized punctuation marks for mathematical formulas

I'm looking for a a set of stylized punctuation marks for use in mathematical formulas. Package stix has a symbol \typecolon that looks like this This is just the kind of thing I am looking for, but is there a matching set of punctuation marks? I'm especially interested in a matching comma.

EDIT: Just to make it absolutely clear: this is a colon, this is a semicolon, and this is a comma. I'm especially interested in a comma that has the same look as the stix colon shown above. Alternatively, I'll be satisfied to find a comma and a colon (as two separate symbols, specifically not a semicolon) that have a different look, as long as their looks match each other, and as long as they stand out and don't look "normal".

Maybe you like the comma (and other punctuation marks) from the blackboard bold font:

\documentclass{article}
\usepackage{bbold}
\usepackage{amsmath}

\newcommand{\typecomma}{\text{\textbb{,}}}
\newcommand{\typesemi}{\text{\textbb{;}}}
\newcommand{\typeperiod}{\text{\textbb{.}}}

\begin{document}

$$1=1 \typecomma$$

$$2=2 \typesemi$$

$$3=3 \typeperiod$$

\end{document}


• My sincere compliments. Bravissimo. – Sebastiano Jul 16 '19 at 20:12

In addition to the other answer, you can also set up the characters, such that when you type ,;. in math mode, the stylized versions of the glyphs appear in the output.

\documentclass{article}
\usepackage{amsmath}
\usepackage{bbold}

% Macros to access the old glyphs
\mathchardef\normalcomma=\mathcode,
\mathchardef\normalsemicolon=\mathcode;
\mathchardef\normalperiod=\mathcode.

% Map bbold glyphs to characters
\DeclareSymbolFont{bboldletters}{U}{bbold}{m}{n}
\DeclareMathSymbol{,}{\mathpunct}{bboldletters}{"2C}
\DeclareMathSymbol{;}{\mathpunct}{bboldletters}{"3B}
\DeclareMathSymbol{.}{\mathord  }{bboldletters}{"2E}

\begin{document}

\begin{align*}
\normalcomma     &\to , \\
\normalsemicolon &\to ; \\
\normalperiod    &\to .
\end{align*}

\end{document}


Of course you can also map the bbold glyphs to commands.

\documentclass{article}
\usepackage{amsmath}
\usepackage{bbold}

% Map bbold glyphs to commands
\DeclareSymbolFont{bboldletters}{U}{bbold}{m}{n}
\DeclareMathSymbol{\bboldcomma    }{\mathpunct}{bboldletters}{"2C}
\DeclareMathSymbol{\bboldsemicolon}{\mathpunct}{bboldletters}{"3B}
\DeclareMathSymbol{\bboldperiod   }{\mathord  }{bboldletters}{"2E}

\begin{document}

\begin{align*}
\bboldcomma     &\to , \\
\bboldsemicolon &\to ; \\
\bboldperiod    &\to .
\end{align*}

\end{document}
`

• Thanks. This could be very convenient in some circumstance. However, in my particular case, the reason why I need the stylized versions is precisely because I need to distinguish them from their ordinary counterparts which are used in the same formula. – Evan Aad Jul 20 '19 at 5:46