Am 14.12.2010 um 14:10 schrieb Jonas Stein:

>>> bell.pdf provides a small bell in black and white as 
>>> vectordrawing
>>> i'd like to get that bell in height of the current letter "f"
>>> on the position where i type \bell
>>> 
>>> my first test with
>>> \externalfigure[bell][width=1em]
>>> creates a bell with lentgh of 1em... but
>>> 
>>> How can i get a small bell? 
>> 
>> \definefiguresymbol[bell][bell]
>> 
>> \starttext
>> … \symbol{bell} …
>> \stoptext
> 
> that works fine. Thank you.
> 
> the bell has the size of a small 'n' how can i scale it to the
> size of an 'f'?
> 
> \definefiguresymbol[bell][bell] 

\definefiguresymbol[bell][bell][height=2ex]

> \define[]\bell{\symbol{bell}}

\define\bell{\externalfigure[bell][height=2ex]}

Why do you need a command, symbols are the perfect tool for this
and with a symbol you can even do this:

\startitemize[bell]
\item One
\item Two
\item Three
\stopitemize

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to