From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: how to insert a imagefile like a letter?
Date: Tue, 14 Dec 2010 22:26:49 +0100 [thread overview]
Message-ID: <33B970D8-AE77-47C2-8983-C29D90DB1000@gmail.com> (raw)
In-Reply-To: <8v6kt7-83o.ln1@news.jonasstein.de>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-12-14 21:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-14 4:49 Jonas Stein
2010-12-14 8:48 ` Wolfgang Schuster
2010-12-14 13:10 ` Jonas Stein
2010-12-14 13:41 ` Jaroslav Hajtmar
2010-12-14 14:03 ` Jaroslav Hajtmar
2010-12-14 21:26 ` Wolfgang Schuster [this message]
2010-12-17 6:29 ` Jonas Stein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33B970D8-AE77-47C2-8983-C29D90DB1000@gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).