I use xelatex, with Ubuntu font, and for some reason I can't insert a \textvisiblespace
into my document - all that I get in result is a box: ``. Is there some way to fix that?
Example:
\documentclass[a4paper]{article}
\usepackage{xltxtra}
\setmainfont[Mapping=tex-text]{Ubuntu}
\begin{document}
\textvisiblespace
\end{document}
\textvisiblespace
does not use any fonts. It constructs the "space character" as 3 rules. What kind of warnings do you receive in your output/.log
file?.log
file contains this line:Missing character: There is no ␣ in font Ubuntu/ICU:mapping=tex-text,!
. But I would be more than happy to draw it using three rules. How can I achieve this?