ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: scaling symbols
Date: Fri, 01 Apr 2005 09:06:29 +0200	[thread overview]
Message-ID: <424CF2F5.8020205@wxs.nl> (raw)
In-Reply-To: <20050331213842.22182@mail.comp.lancs.ac.uk>

Adam Lindsay wrote:
> Janko Hauser said this at Thu, 31 Mar 2005 21:58:23 +0200:
> 
> 
>>Hello I followed Adams nice way, to include unicode symbols. Now I want
>>to ask, how these can be scaled, so that they can be used more like
>>small figures. Any hints?
> 
> 
> Hmm, it depends a bit on how you get these (I assume) Unicode symbols and
> fonts.
> Note that symb-uni is part of the main distro now, and you probably
> should set my earlier version of the file aside.
> You could redefine \USymbChar after \usesymbols[uni]:
> \def\USymbChar#1#2{%
>   \scale[sx=0.8,sy=0.8]{\uchar#1#2}}
> \let\USymbCharTwo\USymbChar
> \let\USymbCharZapf\USymbChar
> 
> (untested, inelegant)

\startsymbolset[myscaledsymbols]

\definesymbol[MyUniSymbolA][{\scale[sx=.75em,sy=.5cm]]{\uchar{..}{..}}]

\stopsymbolset

....

\symbol[myscaledsymbols][MyUniSymbolA]

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

      reply	other threads:[~2005-04-01  7:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31 19:58 Janko Hauser
2005-03-31 20:38 ` Adam Lindsay
2005-04-01  7:06   ` Hans Hagen [this message]

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=424CF2F5.8020205@wxs.nl \
    --to=pragma@wxs.nl \
    --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).