[Therion] Legendsymbols - vertical distance between boxes

Torsten Schnitter torsten.schnitter at netcologne.de
Sat Feb 24 18:14:57 CET 2018


Hi

Can anyone describe how to change the vertical distance between the symbol boxes inside the legend symbols?
I asume it should be done somehow within this code (or not?):

  code tex-map
    \def\legendsymbolswidth1{18 cm}
    \def\legendsymbolbox#1#2{
      \setbox\tmpboxa=\hbox{\pdfrefxform#1}
      \setbox\tmpboxb=\hbox{\the\legendtextsize(}
      \legendsymbolwd=\wd\tmpboxa
      \legendsymbolht=\ht\tmpboxa
      \advance\legendsymbolht by -\ht\tmpboxb
 
      \advance\legendsymbolht by -1dd
      \tmpdimen=\hsize
        \advance\tmpdimen by 10pt
        \divide\tmpdimen by\legendcolumns
        \advance\tmpdimen by-10pt
      \hbox to \tmpdimen{
        \box\tmpboxa\kern10pt\raise\legendsymbolht\vtop{
          \advance\tmpdimen by -\legendsymbolwd
          \advance\tmpdimen by -10pt
          \hsize=\tmpdimen\rightskip=0pt plus \tmpdimen minus 0pt\relax\the\legendtextsize #2\vskip1dd}\hss}
    }
 
    \def\legendsymbols{
      \hsize=\legendsymbolswidth1
      \formattedlegend
    }
  endcode

Thanks,
Torsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20180224/9212cde9/attachment.htm>


More information about the Therion mailing list