[Therion] code tex-map /comment
On Wed, Apr 17, 2013 at 11:46 PM, Andrew Atkinson 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
[Therion] code tex-map /comment
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 at speleo.sk > http://mailman.speleo.sk/mailman/listinfo/therion >
[Therion] code tex-map /comment
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