[Tex/LaTex] Spacing around \cdot

math-modespacing

I'm trying to use \cdotas a dummy for a function argument in the following expression

C(\cdot\mid\mathcal{F}_{t-1}) 

However, the above produces more space to the right of the dot than to the left. I'd like the spacing to be symmetrical. I've tried using {}on either side but haven't been able to get the desired result.

Best Answer

Since you want to use the blank next either between an opening atom (the open parenthesis) and a relation atom (\mid) or between a relation atom and a closing atom, you can define \blank to be a relation symbol:

\documentclass{article}

\newcommand{\blank}{\mathrel{\;\cdot\;}}

\begin{document}

$C(\blank \mid F_{t-1})$

$C(x \mid \blank)$

\end{document}

The trick is that TeX doesn't add space in cases

Open Rel Rel

or

Rel Rel Close

enter image description here