Martin S Perhaps you can share the code for the modified legend with separate North, scalebar and logo on this map?
http://schv.sk/wp-content/uploads/2016/07/1_o3_dlayout_en.pdf Bruce From: Therion [mailto:[email protected]] On Behalf Of Bruce Mutton via Therion Sent: Thursday, 17 August 2017 8:17 AM To: 'List for Therion users' <[email protected]> Cc: Bruce Mutton <[email protected]> Subject: Re: [Therion] Doubled legend Torsten So if I understand correctly in each of your thconfig files you have code tex-map that defines position and some parameters of … \legendbox … \northarrow \legendbox … \legendcontent % a standard header that is defined elsewhere \legendbox … \thlegend \legendbox … {some other headings hard coded text} \legendbox … {some other function to hold a self justifying box full of hard coded text} % can we do this? And then in a common or standard file elsewhere where you define… code tex-map \ legendcontent={…} And therefore you could have a selection of files or layouts that could be referenced to the give the option of selecting different \legendcontent variants. Is that how it works? Bruce From: Therion [mailto:[email protected]] On Behalf Of Torsten Schnitter via Therion Sent: Wednesday, 16 August 2017 9:55 PM To: List for Therion users <[email protected] <mailto:[email protected]> > Cc: Torsten Schnitter <[email protected] <mailto:[email protected]> > Subject: Re: [Therion] Doubled legend Hi Bruce Concerning the text I'm doing it like this: I have a extern file "text-file.th": layout textpart code tex-map ... text formatted with tex code parts... ... e.g. "\size[20]\si{This is text}\vss ... endcode endlayout Inside the thconfig I use input to load this file and then add following to the layout definition: code tex-map .... \legendbox{x}{y}{z}{\textpart} ... endcode It's not like inserting a plain text file and therefore it's not the easiest way but it works... cheers, Torsten Bruce Mutton via Therion <[email protected] <mailto:[email protected]> > hat am 16. August 2017 um 11:42 geschrieben: Ah ha! That looks easy. Thanks for sorting that out for me. Now the only question I have is how to do something like; input a-standard-tex-module.txt inside of the code tex-map block? I have come up with a long and more complicated (but more useful) custom the\legendcontent, and furthermore, it is always undergoing incremental improvement. To replicate this in every independent map layout is not really a workable solution, but at the moment it is the only way I can think of. Bruce
_______________________________________________ Therion mailing list [email protected] https://mailman.speleo.sk/listinfo/therion
