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 [2018/07/08 10:17] – [TeX] Add link to Czech version of the Doob's guide slukatex [2019/09/29 21:48] (current) akozhenkov
Line 25: Line 25:
 ----- -----
 ----- -----
-===== TeX-Map =====+
  
 ====Changing the look or layout of a map output==== ====Changing the look or layout of a map output====
Line 96: 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: 5 years ago
  • by akozhenkov