ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* scaling symbols
@ 2005-03-31 19:58 Janko Hauser
  2005-03-31 20:38 ` Adam Lindsay
  0 siblings, 1 reply; 3+ messages in thread
From: Janko Hauser @ 2005-03-31 19:58 UTC (permalink / raw)


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?

TIA,

__Janko Hauser

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: scaling symbols
  2005-03-31 19:58 scaling symbols Janko Hauser
@ 2005-03-31 20:38 ` Adam Lindsay
  2005-04-01  7:06   ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Lindsay @ 2005-03-31 20:38 UTC (permalink / raw)


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)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: scaling symbols
  2005-03-31 20:38 ` Adam Lindsay
@ 2005-04-01  7:06   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2005-04-01  7:06 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-01  7:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-31 19:58 scaling symbols Janko Hauser
2005-03-31 20:38 ` Adam Lindsay
2005-04-01  7:06   ` Hans Hagen

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).