![](https://secure.gravatar.com/avatar/cde1dc8e3c1a66e7c6342a763d371696.jpg?s=120&d=mm&r=g)
Hello, I'm using the following encoding commands \usetypescript[modern-base][texnansi] \setupbodyfont[12pt,modern] and was wondering whether someone knows an elegant way to get the pound sign 'lb bar' (unicode #2114, html ℔). My current hack looks like this: \def\lbbar% {% \raise.28em\hbox{--}% \kern-.535eml% \kern-.1emb% } but I'm underwhelmed by the thinness of the bar ... Thanks for any insights, Joh
![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
Johannes Graumann wrote:
Hello,
I'm using the following encoding commands
\usetypescript[modern-base][texnansi] \setupbodyfont[12pt,modern]
and was wondering whether someone knows an elegant way to get the pound sign 'lb bar' (unicode #2114, html ℔).
My current hack looks like this:
\def\lbbar% {% \raise.28em\hbox{--}% \kern-.535eml% \kern-.1emb% }
but I'm underwhelmed by the thinness of the bar ...
\hbox{\smash[w]{\raise.545em\hbox{\blackrule[width=.45em,height=.6pt]}}% \kern-.035eml% \kern-.075emb}% still needs some fiddling ;) Greets, Peter
Thanks for any insights,
Joh
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
![](https://secure.gravatar.com/avatar/cde1dc8e3c1a66e7c6342a763d371696.jpg?s=120&d=mm&r=g)
Peter Rolf wrote:
\def\lbbar% {% \raise.28em\hbox{--}% \kern-.535eml% \kern-.1emb% }
but I'm underwhelmed by the thinness of the bar ...
\hbox{\smash[w {\raise.545em\hbox{\blackrule[width=.45em,height=.6pt]}}% \kern-.035eml% \kern-.075emb}%
still needs some fiddling ;)
Thanks. Fiddled some more and am using this now (all type-specific measures): \def\lbbar% {% \hbox{% \smash[w]{% \raise.535em% \hbox{\blackrule[width=.45em,height=.04em]}% }% \kern-.035eml% \kern-.075emb% }% } Thank you for your help. Joh
participants (2)
-
Johannes Graumann
-
Peter Rolf