# Ascii package NBSP and NUL symbols

The following does not work:

\documentclass{standalone}
\usepackage{ascii}

\begin{document}
$\NBSP$
$\NUL$
\end{document}


The error under pdflatex and xelatex is

Undefined control sequence \NBSP
Undefined control sequence \NUL


The symbols \NBSP and \NUL are listed by the Latex Comprehensive Symbol List (LCSL), but there seem to be no trace of these symbols in either the ascii package documentation, or in the ascii.sty style file (MikTeX 2.9).

Which symbols is LCSL showing?

• What makes you think they are math mode symbols? Just remove the $ characters. – egreg May 16 '16 at 22:44 • Problem persists without$'s. – kaba May 16 '16 at 22:47
• Works fine here, what happens for you? Do you get an error, do you get no output ... – Torbjørn T. May 16 '16 at 22:49

The definition of \NBSP is

% ascii.sty, line 90:
\def\NBSP{{\asciifamily\char"A0}\xspace}


and this implies that \NBSP will definitely not work in math mode. Indeed, if you try it, you'll see, in the .log file

Missing character: There is no <A0> in font cmr10!


Without \$'s it works:

\documentclass{standalone}
\usepackage{ascii}

\begin{document}
\NBSP
\NUL
\end{document}


• The ascii.sty file which comes with my MikTeX 2.9 does not contain a definition for \NSBP or \NUL at all. But it contains other commands, and is dated 10 July 1993 (version 1.0). Perhaps you have a newer version? – kaba May 16 '16 at 22:55
• @Kaba 2006/05/30 v2.0 Package ascii.sty'` – egreg May 16 '16 at 22:56
• @Kaba The version on CTAN (ctan.org/tex-archive/fonts/ascii/?lang=en) is apparently not in MikTeX. – Torbjørn T. May 16 '16 at 22:58
• @Kaba Complain with MiKTeX – egreg May 16 '16 at 23:00
• Reported the issue. – kaba May 16 '16 at 23:04