<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
</head><body><p>Hi Bill<br></p><p>I have done that. Somewhat complicated but it works (for me).<br>Following just as an example to get an idea about it.<br>I also seperated scalebar, northarrow, legendcontent and legendsymbols from each other to place them at different positions.<br></p><p>You can input the attached .th files in your config file using:<br>input .\filename.th<br>(I put the code into files to use it with different caves. But you also can put the sourcecode directly into your config file)<br></p><p>within layout command use following:<br>- copy legendcontent (for input of new code for legendcontent into the layout definition)<br>- copy legendsymbols (for input of new code for legendsymbols into the layout definition)<br>- copy scalebar (for input of new code for scalebar into the layout definition)<br>- copy northarrow_new (for input of new code for northarrow into the layout definition)<br>- scale and base-scale (for sizing the map and size of symbols inside map)<br>- legend-width xx cm (to size the width of legendsymbols-table)<br>- legend-columns x (number of rows of legend-symbols)<br></p><p>also within layout:<br>code metapost<br> % scale of legend symbols<br> tmpscale:=2.0;<br> % scale of north arrow<br> tmpscalenarrow:=2.5;<br> % scale of scalebar<br> tmpscalebar:=2.0;<br>endcode<br></p><p>code tex-map<br> % parameter legendcontent<br> \def\thsizexl{60} % size of cave name in map<br> \def\thsizel{48} % size of comment in map<br> \def\thsizem{36} % size of text in map<br> % parameter legend symbols<br> \def\legendsymbolswidth1{60 cm} % width of legendcontent<br> \legendtextsectionsize={\size[60]} % text size of legend symbols header<br> \legendtextsize={\size[48]} % text size of legend symbols<br> % map layout<br> \def\maplayout{<br> \legendbox{x}{y}{NW}{\the\legendcontent} % map header<br> \legendbox{x}{y}{NW}{\legendsymbols} % legend symbols<br> \legendbox{x}{y}{NW}{\northarrow} % north arrow<br> \legendbox{x}{y}{NW}{\hsize=10 cm\centerline\scalebar} % scalebar<br>endcode<br></p><p><br>Some finetuning:<br>within the file legendsymbols.th is a line<br> % personal adjustments<br> \advance\legendsymbolht by -4pt % align legendsymboltext from top of legendsymbolbox<br>with adjusting the number you can adjust the text from each legendsymbol to the symbolbox.<br></p><p>hth,<br>Torsten<br></p><blockquote type="cite"><div id="ox-0e4b475ec6" style="font-family: 'Sans Serif'; font-size: 11pt; font-weight: 400; font-style: normal;">Bill Gee via Therion <therion@speleo.sk> hat am 9. November 2017 um 14:45 geschrieben:<br><br><p style="text-indent: 0px; margin: 0px;">Hello everyone -</p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;">I need to make the legend on a map larger. The cave has grown to nearly 3km of passage, and even when printed on 60cm x 100cm paper the legend is too smal to read. Even a magnifying glass does not help!</p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;">I referred to a thread from about two years ago which discusses this subject. Henry Bennett provided a combination of MetaPost and TeX code that is supposed to make the legend larger. It works ... Sort of! Much is left out.</p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;">Here is the code I have in the layout section of my thconfig file:</p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"># Change the size of the legend</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;">code metapost</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> def draw_legend_box =</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> %make the objects in the legend boxes bigger</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> currentpicture := currentpicture scaled 5.0;</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> clip currentpicture to unitsquare scaled 10u;</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> drawoptions();</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> pickup PenB;</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> draw unitsquare scaled 10u ;</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> enddef;</span></p><p style="text-indent: 0px; margin: 0px;"> <br></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> %clear the background of the larger legend boxes </span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> def clean_legend_box =</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> unfill unitsquare scaled 10u;</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> enddef;</span></p><p style="text-indent: 0px; margin: 0px;"> <br></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> %change the value of inscale to fill the legend boxes</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> def inscale =</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> xscaled legend_scale yscaled (0.6*legend_scale)</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> %xscaled legend_scale yscaled legend_scale</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> enddef;</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;">endcode</span></p><p style="text-indent: 0px; margin: 0px;"> <br></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;">code tex-map</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> \def\maplayout{</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> \legendbox{3}{65}{W}{</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> \legendwidth 80 cm</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> \legendtextsize={\size[74]}</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> \hsize=\legendwidth</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> \northarrow\bigskip</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> \the\cavename</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> \the\comment</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> \input th_legend</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> }</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;"> }</span></p><p style="text-indent: 0px; margin: 0px;"><span style="font-family: 'DejaVu Sans Mono'; color: #0055ff;">endcode </span></p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;">The legend that results from this is about the right size. However, only the symbol table is enlarged. The north arrow is still too small and everything else that is supposed to be in the legend is missing. The attached screen shot shows what I get.</p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;">The Therion Book has a section describing the TeX macros that can be used. It looks like the documentation is not complete. Some of the macros are shown with options and parameters, but not all. There are samples on the Wiki that show additional options. Is there a document that describes ALL of the options and parameters for the TeX macros?</p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;">How are the parameters in the MetaPost section of the code related? Looking at the legend I get, I see that the boxes enclosing each symbol are about the right size but the symbols drawn in them are (in some cases) too small. Look at the symbols for pillar and stalagmite, for example. Others, like the pendant (a user-defined symbol) are too large. Which of the MetaPost lines control that?</p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;">Does anyone have suggestions about what I am missing?</p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;">If anyone wants to see the full map, let me know. It is nearly 3mb as a PDF, so I don't want to send it to the entire group.<br></p><p style="text-indent: 0px; margin: 0px;">Thanks!</p><p style="text-indent: 0px; margin: 0px;"><br>--</p><p style="text-indent: 0px; margin: 0px;">Bill Gee</p><p style="text-indent: 0px; margin: 0px;"> </p><p style="text-indent: 0px; margin: 0px;"> </p></div></blockquote><p><br> </p><blockquote type="cite">_______________________________________________<br>Therion mailing list<br>Therion@speleo.sk<br>https://mailman.speleo.sk/listinfo/therion<br></blockquote></body></html>