# [Therion] code tex-map /comment

Andrew Atkinson andrew at wotcc.org.uk
Wed Apr 17 23:46:46 CEST 2013

Solved it with lots of playing

use \the\comment

as in

\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
>
>
> 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 at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>