In TeX, how is a “computing zero” sign written, with a slanted vertical line through it?
[Tex/LaTex] How to write “computer zero” (with slanted vertical line) in TeX
math-mode
math-mode
In TeX, how is a “computing zero” sign written, with a slanted vertical line through it?
Best Answer
It depends exactly what you mean by "computer zero." I'd guess you mean a slashed zero in a
monospaced font
; you can obtain this by choosing a font that has a slashed zero in its\texttt
series and writing$\texttt 0$
; for example, Anonymous Pro will work by adding this to your preamble:Alternatively, if you want a symbol for the empty set, try
\emptyset
or\varnothing
using theamssymb
package.Here's a comparison of all three:
Here's the code I used, showing the packages you need.