ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lb bar/Unicode 2114 symbol
@ 2006-05-01 21:21 Johannes Graumann
  2006-05-02  9:58 ` Peter Rolf
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Graumann @ 2006-05-01 21:21 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lb bar/Unicode 2114 symbol
  2006-05-01 21:21 lb bar/Unicode 2114 symbol Johannes Graumann
@ 2006-05-02  9:58 ` Peter Rolf
  2006-05-02 18:47   ` Johannes Graumann
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Rolf @ 2006-05-02  9:58 UTC (permalink / raw)


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
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: lb bar/Unicode 2114 symbol
  2006-05-02  9:58 ` Peter Rolf
@ 2006-05-02 18:47   ` Johannes Graumann
  0 siblings, 0 replies; 3+ messages in thread
From: Johannes Graumann @ 2006-05-02 18:47 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-02 18:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-01 21:21 lb bar/Unicode 2114 symbol Johannes Graumann
2006-05-02  9:58 ` Peter Rolf
2006-05-02 18:47   ` Johannes Graumann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).