[Therion] Doubled legend

Martin Sluka martinsluka at mac.com
Sun Sep 17 08:47:36 CEST 2017


Bruce, 
logo is inputed as any other picture file (another map). Separate north arrow and scale is made by modification of TeX code. 
I'll ask Juraj for his code. 

m.s.

Odesláno z iPhonu

16. 9. 2017 v 22:06, Bruce Mutton via Therion <therion at speleo.sk>:

> 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:therion-bounces at speleo.sk] On Behalf Of Bruce Mutton via Therion
> Sent: Thursday, 17 August 2017 8:17 AM
> To: 'List for Therion users' <therion at speleo.sk>
> Cc: Bruce Mutton <bruce at tomo.co.nz>
> 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:therion-bounces at speleo.sk] On Behalf Of Torsten Schnitter via Therion
> Sent: Wednesday, 16 August 2017 9:55 PM
> To: List for Therion users <therion at speleo.sk>
> Cc: Torsten Schnitter <torsten.schnitter at netcologne.de>
> 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 <therion at speleo.sk> 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
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20170917/07e1583e/attachment.htm>


More information about the Therion mailing list