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
Last revisionBoth sides next revision
tex [2018/07/04 19:09] – [TeX] typos slukatex [2019/09/29 21:46] akozhenkov
Line 6: Line 6:
  
 [[http://www.tug.org www.tug.org|    TeX Users Group]]\\ [[http://www.tug.org www.tug.org|    TeX Users Group]]\\
-[[http://ctan.tug.org/tex-archive/info/gentle/gentle.pdf|    Michael Doob's guide to TeX]]\\+[[http://ctan.tug.org/tex-archive/info/gentle/gentle.pdf|    Michael Doob's guide to TeX]] and [[https://ksp.mff.cuni.cz/encyklopedie/jemny-uvod-do-TeXu.pdf|    Czech version]]\\
 [[http://mirrors.ctan.org/info/impatient/book.pdf|    TeX for the Impatient]]\\ [[http://mirrors.ctan.org/info/impatient/book.pdf|    TeX for the Impatient]]\\
 [[http://webpages.charter.net/davidlha/trm.html|    TeX Primitive Control Sequences]] -- TeX Reference Manual\\ [[http://webpages.charter.net/davidlha/trm.html|    TeX Primitive Control Sequences]] -- TeX Reference Manual\\
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 94: Line 94:
          
 \hsize default is the width of map without margins. \hsize default is the width of map without margins.
 +-----
 +
 +**To separate 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 
 ----- -----
  
  • tex.txt
  • Last modified: 5 years ago
  • by akozhenkov