ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: ntg-context@ntg.nl
Subject: Re: how to insert a imagefile like a letter?
Date: Tue, 14 Dec 2010 14:41:15 +0100	[thread overview]
Message-ID: <4D0773FB.900@gyza.cz> (raw)
In-Reply-To: <8v6kt7-83o.ln1@news.jonasstein.de>

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

___________________________________________________________________________________
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	other threads:[~2010-12-14 13:41 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 [this message]
2010-12-14 14:03     ` Jaroslav Hajtmar
2010-12-14 21:26     ` Wolfgang Schuster
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=4D0773FB.900@gyza.cz \
    --to=hajtmar@gyza.cz \
    --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).