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
On 10/10/06, Carlos Guâno Grohmann <carlos.grohmann@gmail.com> wrote:
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:
This will be solved systemically after introduction of map datums and projections in the next release. 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?
Just use btex Norte Geografico etex instead of "Norte_Geografico" in the label. Cheers Martin
Thanks. That did it. Carlos On 10/10/06, Martin Budaj <m.budaj@gmail.com> wrote:
On 10/10/06, Carlos Guâno Grohmann <carlos.grohmann@gmail.com> wrote:
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:
This will be solved systemically after introduction of map datums and projections in the next release.
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?
Just use
btex Norte Geografico etex
instead of "Norte_Geografico" in the label.
Cheers Martin
_______________________________________________ Therion mailing list Therion@speleo.cz http://www.speleo.cz/mailman/listinfo/therion
-- +-----------------------------------------------------------+ 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
participants (2)
-
Carlos \"Guâno\" Grohmann -
Martin Budaj