[Therion] Label in North arrow

Carlos "Guâno" Grohmann carlos.grohmann at gmail.com
Tue Oct 10 17:11:58 CEST 2006


I want my north arrow to have a label, like "Magnetic north". So I
went looking in the Therion source code and came out with this code,
which is a mix of the defs for northarrow_SKBB and
northarrow_SKBB_old:


def s_northarrow_SKBB (expr rot) =
  T:=identity scaled 0.7 rotated -rot;
      begingroup
      interim defaultscale:=1;
      label("Norte_Geografico", (0,-1cm));
    endgroup;
  thdraw (-.5cm,-1cm)--(0,1.5cm)--(.5cm,-1cm)--(0,-.5cm)--cycle;
  thfill (-.5cm,-1cm)--(0,1.5cm)--(0,-.5cm)--cycle;
enddef;


My problem here is with the space between the two words. If I use a
space, I get something like a tilde (~), if I use underscore, I get an
', and so on. What should I use in this code to get a plain space
between the words?

Thanks
-- 
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Geologist M.Sc  - Doctorate Student at IGc-USP - Brazil
Linux User #89721  - carlos dot grohmann at gmail dot com
+-----------------------------------------------------------+
_________________
"Good morning, doctors. I have taken the liberty of removing Windows
95 from my hard drive."
--The winning entry in a "What were HAL's first words" contest judged
by 2001: A SPACE ODYSSEY creator Arthur C. Clarke



More information about the Therion mailing list