how to insert a imagefile like a letter?
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
\define[]\bell{\externalfigure[bell][width=1em]\ }
.
.
\starttext
\bell
.
.
fails.
How can i get a small bell?
Kind regards,
--
Jonas Stein
Am 14.12.2010 um 05:49 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
\define[]\bell{\externalfigure[bell][width=1em]\ } . . \starttext \bell . .
fails.
How can i get a small bell?
\definefiguresymbol[bell][bell] \starttext … \symbol{bell} … \stoptext Wolfgang
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]
\define[]\bell{\symbol{bell}}
\starttext
… \bell …
\stoptext
fails. Why?
--
Jonas Stein
Hello Jonas, I did not know about \definefiguresymbol - it's a great idea. I would not tackled through framed. For example: \def\bell{\framed[offset=none, frame=off, width=1em]{\externalfigure[bell.pdf][width=1em]}} It does not solve your problem? Jaroslav Dne 14.12.2010 14:10, Jonas Stein napsal(a):
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] \define[]\bell{\symbol{bell}} \starttext … \bell … \stoptext
fails. Why?
Hello Jonas, here is dimensional correction according to the dimensions in the parameter: \def\bell#1{\setbox0=\hbox{#1}\framed[offset=none, frame=off, width=\the\wd0, height=\the\ht0]{\externalfigure[bell.pdf][width=\the\wd0,height=\the\ht0]}} Jaroslav Dne 14.12.2010 14:10, Jonas Stein napsal(a):
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] \define[]\bell{\symbol{bell}} \starttext … \bell … \stoptext
fails. Why?
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
Why do you need a command, symbols are the perfect tool for this and with a symbol you can even do this:
i'd like to renew this document:
http://jonasstein.de/lib/exe/fetch.php?id=download&cache=cache&media=signaltabelle.pdf
the tex-code would be more readable if i could write \bell\ \bell\
kind regards,
--
Jonas Stein
participants (3)
-
Jaroslav Hajtmar
-
Jonas Stein
-
Wolfgang Schuster