[Tex/LaTex] How to insert a space after pifont symbol

spacingsymbols

I've inserted a "cross" (\ding{55}) from package pifont in a text but I can't insert a space after it, Latex ignores the space from the source code. Does anyone have a suggestion?

Edit:

There was some missing information. I'm using \newcommand. Here is a * not * working example 😉

\documentclass{article}
\usepackage{pifont}
\newcommand{\cross}{\ding{55}}
\begin{document}
\cross a

\cross. a

\cross . a
\end{document}

Best Answer

EDIT

In relation to your edit use xspace

\documentclass{article}
\usepackage{pifont,xspace}
\newcommand{\cross}{\ding{55}\xspace}
\begin{document}
\cross a

\cross. a

\cross . a
\end{document}

Why don't you get any space?

This works well:

\documentclass{article}
\usepackage{pifont}
\begin{document}
\ding{55} a

\ding{55}. a

\ding{55} . a
\end{document}

enter image description here