Hi all, I was under the (mistaken?) impression that "textbar" (for "|") was predefined somewhere in the distribution, but couldn't find anyhting. So I defined it myself in the preamble of my document: \define\textbar{\getglyph{Roman}{\char124}} and it seems to be working. Is this the proper way to do this? Best Thomas
"Thomas A.Schmitz"
I was under the (mistaken?) impression that "textbar" (for "|") was predefined somewhere in the distribution, but couldn't find anyhting.
It is defined in enco-cyr.tex, but should also be defined in (at least) enco-tbo.tex enco-ans.tex enco-ec.tex
So I defined it myself in the preamble of my document: \define\textbar{\getglyph{Roman}{\char124}}
and it seems to be working. Is this the proper way to do this?
\definecharacter textbar 124 Patrick
At 10:57 17/01/2004, you wrote:
Hi all, I was under the (mistaken?) impression that "textbar" (for "|") was predefined somewhere in the distribution, but couldn't find anyhting. So I defined it myself in the preamble of my document: \define\textbar{\getglyph{Roman}{\char124}}
ok as long as you keep the font encoding in mind more font independent alternative: \define\textbar{\blackrule[width=1pt,height=1.5ex,depth=.5ex]}
and it seems to be working. Is this the proper way to do this?
or \definesymbol ... or use: \vl \textbrokenbar i'm not sure if \textbar is/should be in the encoding vectors ... Hans
Hi,
i'm not sure if \textbar is/should be in the encoding vectors ...
since | is made active, we have to have some way to work around it. Or we should be able to use \| to get char 124. It does not have to be \textbar. \chardef\|=124 would be ok, wouldn't it? Patrick -- Morgen gibts kein ABC mehr...
That's right, I think \| would be the most natural way, the same being true for \{ and \} (which I happen to need from time to time). Any chance of seeing this soon?
participants (3)
-
Hans Hagen
-
Patrick Gundlach
-
Thomas A.Schmitz