Differences
This shows you the differences between two versions of the page.
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 sluka | tex [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}{ | ||
+ | \legendwidth 25 cm % set width of the legend | ||
+ | \legendtextsize={\size[18]} | ||
+ | \hsize=\legendwidth | ||
+ | \input th_legend | ||
+ | } | ||
+ | \legendbox{15}{95}{NW}{\northarrow} | ||
+ | \legendbox{50}{5}{NW}{\scalebar} % set scale bar position | ||
+ | \legendbox{5}{95}{NW} {\loadpicture{/ | ||
+ | } | ||
+ | | ||
+ | |||
+ | ----- | ||
**To change the size of font for name of cave (Martin Budaj)** | **To change the size of font for name of cave (Martin Budaj)** | ||