Hi all I am having a little difficulty with this. What I am aiming at is the scale bar and north arrow in the top right and comment legend and comment in bottom left(ish) so I have got to this code tex-map \def\maplayout{ \legendbox{0}{80}{nw}{ \scalebar \bigskip \northarrow } \legendbox{80}{0}{sw}{ \formattedlegend } } endcode Which works fine however as soon as I try to add /comment it either does not compile with a 256 error, or the comment does not appear. If I only have map-header 0 80 nw code tex-map \comment={Some words}{} endcode that works fine (although second set of brackets took a while to get), but not sure what use when I could use map-comment. but I cannot find a way to use it in \legendbox. any hints appreciated thanks Andrew
Solved it with lots of playing use \the\comment as in \comment={\\copyright The google copyright statement!!!!}{} \def\maplayout{ \legendbox{60}{10}{nw}{ \northarrow \bigskip \scalebar \bigskip \the\comment No idea why, but..... On 17/04/13 14:33, Andrew Atkinson wrote:
Hi all
I am having a little difficulty with this.
What I am aiming at is the scale bar and north arrow in the top right and comment legend and comment in bottom left(ish)
so I have got to this
code tex-map \def\maplayout{ \legendbox{0}{80}{nw}{ \scalebar \bigskip \northarrow } \legendbox{80}{0}{sw}{ \formattedlegend } } endcode
Which works fine
however as soon as I try to add /comment it either does not compile with a 256 error, or the comment does not appear.
If I only have
map-header 0 80 nw code tex-map \comment={Some words}{} endcode
that works fine (although second set of brackets took a while to get), but not sure what use when I could use map-comment.
but I cannot find a way to use it in \legendbox.
any hints appreciated
thanks
Andrew _______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
On Wed, Apr 17, 2013 at 11:46 PM, Andrew Atkinson <andrew@wotcc.org.uk> wrote:
Solved it with lots of playing
use \the\comment
No idea why, but.....
This is just a syntax of the TeX language, "\the" preceding a token register (variable) copies its content to the output. Martin
participants (2)
-
Andrew Atkinson -
Martin Budaj