ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Smileys
Date: Wed, 17 Aug 2011 14:27:13 +0200	[thread overview]
Message-ID: <CALBOmsbj4UE1NqZkuXQG4W4OGM_BQ8BH_i30Q=+nd7V_3k0+ug@mail.gmail.com> (raw)
In-Reply-To: <CAG-LmmAfoq=V2bQGBh16zpt5m2Vrdtonkw5tiWd0S0c5UKXy6g@mail.gmail.com>

On Wed, Aug 17, 2011 at 13:26, Cecil Westerhof wrote:
> 2011/8/17 Mojca Miklavec wrote:
>>
>>  \def\smiley{\externalfigure[img/smilies/smiley.png][height=\lineheight]}
>>
>> Of course you can also use fonts (even marvosym), but they will only
>> show ugly black-and-white strokes which is probably not what you want.
>
> At least originally was it what I wanted. Because when you use fonts they
> scale to the fontsize you are using. So I would think that looks the best.
> But you make a good point.

If you need help with setting up some particular font, feel free to ask.

But you should be able to get automatic scaling of png images based on
line height. If images come in different sizes, you need a bit more
trickery, but it is doable. Just ask again once you find the suitable
images.

Mojca
___________________________________________________________________________________
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:[~2011-08-17 12:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 19:46 Smileys Cecil Westerhof
2011-08-16 20:23 ` Smileys Henning Hraban Ramm
2011-08-16 20:55   ` Smileys Cecil Westerhof
2011-08-16 21:21     ` Smileys Wolfgang Schuster
2011-08-17  7:12       ` Smileys Patrick Gundlach
2011-08-17  7:49       ` Smileys Cecil Westerhof
2011-08-17  8:09         ` Smileys luigi scarso
2011-08-17  6:21     ` Smileys Henning Hraban Ramm
2011-08-17 11:14     ` Smileys Mojca Miklavec
2011-08-17 11:25       ` Smileys Wolfgang Schuster
2011-08-17 11:26       ` Smileys Cecil Westerhof
2011-08-17 12:27         ` Mojca Miklavec [this message]
2011-08-17 14:02           ` Smileys Jaroslav Hajtmar
2011-08-17 14:20             ` Smileys Cecil Westerhof
2011-08-17 21:57               ` Smileys Wolfgang Schuster
2011-08-18  7:40                 ` Smileys Cecil Westerhof
2011-08-18  8:01                   ` Smileys Wolfgang Schuster
2011-08-18  8:53                     ` Smileys Cecil Westerhof
2011-08-18 20:19                 ` Smileys Jaroslav Hajtmar
2011-08-18 20:53                   ` Smileys Wolfgang Schuster

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='CALBOmsbj4UE1NqZkuXQG4W4OGM_BQ8BH_i30Q=+nd7V_3k0+ug@mail.gmail.com' \
    --to=mojca.miklavec.lists@gmail.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).