tex

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tex [2019/09/29 21:42]
akozhenkov [TeX-Map]
tex [2019/09/29 21:48]
akozhenkov
Line 26: Line 26:
 ----- -----
  
-=== Separating out legend, scale bar and north arrow === 
  
-This Tex code separates out legend, north arrow and scale bar and can place them in specified position. 
-Please note that invoking custom legend will cause map-image to fail. Instead of that \loadpicture command with full path to image can be used as shown below. 
- 
-   code tex-map 
- } 
- \legendbox{85}{95}{NW}{ ​             % set legend position 
- \legendwidth 25 cm           % set width of the legend 
- \legendtextsize={\size[18]} ​ % set font size 
- \hsize=\legendwidth 
- \input th_legend 
- } 
- \legendbox{15}{95}{NW}{\northarrow} ​     % set north arrow position 
- \legendbox{50}{5}{NW}{\scalebar} % set scale bar position 
-        \legendbox{5}{95}{NW} {\loadpicture{/​full/​path/​to/​image.png}} ​ % insert image. default map image command will not work. 
- } 
-   ​endcode ​ 
 ====Changing the look or layout of a map output==== ====Changing the look or layout of a map output====
  
Line 113: Line 96:
 ----- -----
  
 +**To separate out legend, scale bar and north arrow (Andrey Kozhenkov)**
 +
 +This Tex code separates out legend, north arrow and scale bar and can place them in specified position.
 +Please note that invoking custom legend will cause map-image to fail. Instead of that \loadpicture command with full path to image can be used as shown below.
 +
 +   code tex-map
 + }
 + \legendbox{85}{95}{NW}{ ​             % set legend position
 + \legendwidth 25 cm           % set width of the legend
 + \legendtextsize={\size[18]} ​ % set font size
 + \hsize=\legendwidth
 + \input th_legend
 + }
 + \legendbox{15}{95}{NW}{\northarrow} ​     % set north arrow position
 + \legendbox{50}{5}{NW}{\scalebar} % set scale bar position
 +        \legendbox{5}{95}{NW} {\loadpicture{/​full/​path/​to/​image.png}} ​ % insert image. default map image command will not work.
 + }
 +   ​endcode ​
 +
 +-----
 **To change the size of font for name of cave (Martin Budaj)** **To change the size of font for name of cave (Martin Budaj)**
  
  • tex.txt
  • Last modified: 8 months ago
  • by akozhenkov