<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body>
    
<div>Thanks Henry</div><div>On  a slightly related topic, does any one know how to get Staton flag symbols, such as doline, sink, spring, entance, overhang to appear in the legend?</div><div>Or at least the reason why they do not?</div><div><br></div><div id="composer_signature"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><div style="font-size:85%;color:#575757">Bruce</div><div style="font-size:85%;color:#575757"><br></div><div style="font-size:85%;color:#575757">Sent from my Samsung device, hence the typo's</div></div><br><br>-------- Original message --------<br>From: Henry_Bennett@Dell.com <br>Date: 09/01/2016  08:47  (GMT+12:00) <br>To: therion@speleo.sk <br>Subject: Re: [Therion] Change Size of Legensymbols and Text <br><br>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060">You need to add this to your th config.  Tweak the numbers to find what works for you.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">Code metapost
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">   def draw_legend_box =<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">        %make the objects in the legend boxes bigger<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">        currentpicture := currentpicture scaled 7.0;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">        clip currentpicture to unitsquare scaled 20u;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">        drawoptions();<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">        pickup PenB;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">        draw unitsquare scaled 20u ;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">    enddef;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">    %clear the background of the larger legend boxes   
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">    def clean_legend_box =<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">        unfill unitsquare scaled 20u;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">    enddef;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">   
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">    %change the value of inscale to fill the legend boxes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">    def inscale =
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">        %xscaled legend_scale yscaled (0.618*legend_scale)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">        xscaled legend_scale yscaled legend_scale<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">    enddef;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">endcode<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">code tex-map<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">  \def\maplayout{<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">    \legendbox{75}{80}{NW}{<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">      \legendwidth 140 cm<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">      \legendtextsize={\size[54]}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">      \hsize=\legendwidth<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">      \input th_legend<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">      }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">  }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Courier New";color:#002060">endcode #end of TeX code<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060">You may also find this useful, from memory it was how I sorted the altitude legend box too.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"><a href="http://therion.speleo.sk/wiki/doku.php/tips#multilingual_legend_legend_formatting">http://therion.speleo.sk/wiki/doku.php/tips#multilingual_legend_legend_formatting</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060">This works for me for virtually all the symbols except for passage height which needs some additional thought. 
<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#002060;mso-fareast-language:EN-US">Enjoy!<br>
<br>
Henry Bennett</span><br>
<br>
-----Original Message-----<br>
From: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Torsten Schnitter<br>
Sent: 08 January 2016 11:04<br>
To: therion@speleo.sk<br>
Subject: [Therion] Change Size of Legensymbols and Text<br>
<br>
Hi<br>
<br>
I'm wondering if it's possible to change the size of the legendsymbols and it's text in a simple way.<br>
Does anyone have an idea?<br>
<br>
Within the layout passage in the th-config file I use a separate legendbox for just the legendsymbols:<br>
...<br>
\legendbox{10}{10}{SE}{\legendsymbols}<br>
...<br>
\legendsymbols is defined as follows:<br>
code tex-map<br>
\def\legendsymbols{<br>
\hsize=\legendwidth<br>
\formattedlegend<br>
}<br>
<br>
As the map is pretty big the legendsymbols are pretty small in comparision.<br>
And there is a lot free space for much bigger legendsymbols.<br>
<br>
cheers,<br>
Torsten<br>
_______________________________________________<br>
Therion mailing list<br>
Therion@speleo.sk<br>
http://mailman.speleo.sk/mailman/listinfo/therion<o:p></o:p></p>
</div>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><span style="font-family: Times New Roman;"><span style="mso-ansi-language: EN-GB" lang="EN-GB">Dell Corporation Limited </span>is authorised and regulated in the UK by the Financial Conduct Authority for consumer credit brokerage. <!--?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /--><o:p></o:p></span></font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><font size="3"><span style="font-family: Times New Roman;">Registered in <span style="mso-ansi-language: EN-GB" lang="EN-GB">England and Wales. Company Registration Number: 2081369<o:p></o:p></span></span></font></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><font size="3"><span style="font-family: Times New Roman;">Registered address: Dell House, The Boulevard, Cain Road, Bracknell,  Berkshire, RG12 1LF, UK.<o:p></o:p></span></font></span></p>
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal"><span style="mso-ansi-language: EN-GB" lang="EN-GB"><span size="3" style="font-family: Times New Roman;">Company details for other Dell UK entities can be found on  </span><a href="http://www.dell.co.uk/"><span style="COLOR: windowtext"><span size="3" style="font-family: Times New Roman;">www.dell.co.uk</span></span></a><font size="3"><span style="font-family: Times New Roman;">.<o:p></o:p></span></font></span></p></body></html>