Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

blank sign

1,665 views
Skip to first unread message

Sem K.

unread,
Jan 1, 2004, 4:23:26 PM1/1/04
to
Hi,
is there a blank (b with a bar, turing machine blanks) character,
in tex or latex?

Thanks in advance,
Sem.

Scott Pakin

unread,
Jan 1, 2004, 5:37:12 PM1/1/04
to
Sem K. wrote:
> is there a blank (b with a bar, turing machine blanks) character,
> in tex or latex?

Here are a couple of options:

This\textvisiblespace has\textvisiblespace spaces.

This\rlap{/}{b}has\rlap{/}{b}spaces,\rlap{/}{b}too.

Note that the \verb* command and the verbatim* environment automatically
show spaces (as \textvisiblespace).

-- Scott

Walter Schmidt

unread,
Jan 1, 2004, 9:02:52 PM1/1/04
to
"Sem K." schrieb:

>
> Hi,
> is there a blank (b with a bar,

\usepackage{textcomp}
...
\textblank

Notice that only few fonts, e.g. Computer Modern,
actually provide this symbol. Most of the popular
fonts from the non-TeX-world have no \textblank.

Walter

Sem K.

unread,
Jan 2, 2004, 2:22:36 AM1/2/04
to
Thanks, it indeed resembles the turing machine blank, and I will use
it if there is no other command. I was hoping more for a bar over the
vertical line of "b".
I am new to tex/latex, so rlap command is not familiar to me. I guess
it overlaps two characters.
So now I need to create a box, that will make a raised line, and \rlap
it over the bchar.

Sem.

Scott Pakin

unread,
Jan 2, 2004, 3:49:22 AM1/2/04
to

The Comprehensive LaTeX Symbol List contains a section that shows how to
put a bar over a letter and also provides some explanation of the \rlap
and \llap TeX primitives. The list is available from CTAN
(http://www.ctan.org).

-- Scott

Herbert Voss

unread,
Jan 2, 2004, 4:07:56 AM1/2/04
to

\documentclass[12pt]{article}

\def\tblank{\makebox[0pt][l]{%
\raisebox{1.1\height}{%
\vphantom{b}\rule{.2em}{0.75pt}}}b%
}

\begin{document}

\tblank{}lank \Huge\tblank{}lank

\end{document}


Herbert

Julian V. Noble

unread,
Jan 2, 2004, 4:19:07 PM1/2/04
to Sem K.

\newcommand{\myblank}{\hbox{$\bar {\rm{\bf{b}}}$}}

A\myblank B

If you want you could make it a different color.

--
Julian V. Noble
Professor Emeritus of Physics
j...@lessspamformother.virginia.edu
^^^^^^^^^^^^^^^^^^
http://galileo.phys.virginia.edu/~jvn/

"God is not willing to do everything, and thereby take away our free wiil
and that share of glory that rightfully belongs to ourselves."


-- N. Machiavelli, "The Prince".

0 new messages