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
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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 -----------------------------------------------------------------
participants (3)
-
Adam Lindsay
-
Hans Hagen
-
Janko Hauser