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 [2015/01/15 12:30] speleolinuxtex [2019/09/29 21:48] (current) akozhenkov
Line 2: Line 2:
  
 ...is all about typesetting for pdf and svg outputs.  It takes metapost symbols and cave data supplied by Therion and puts it all together on the 'page'.\\ ...is all about typesetting for pdf and svg outputs.  It takes metapost symbols and cave data supplied by Therion and puts it all together on the 'page'.\\
 +
 +[[https://en.wikibooks.org/wiki/TeX|WikiBooks TeX]] -- basic -- on the bottom of the page there are several links to documentation of TeX:\\
 +
 +[[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]] 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://webpages.charter.net/davidlha/trm.html|    TeX Primitive Control Sequences]] -- TeX Reference Manual\\
 +[[https://bitbucket.org/VictorEijkhout/tex-by-topic/downloads/TeXbyTopic.pdf|TeX by Topic]] -- Book by Victor Eijkhout that has been made freely available\\
 +
 +[[https://en.wikibooks.org/wiki/LaTeX/Plain_TeX|WikiBooks LaTeX/Plain_TeX]] -- a bit too advanced
 >>>>(include some generic tex links here) >>>>(include some generic tex links here)
 +
  
  
Line 9: Line 20:
  
 >>>>(Can we link directly to the chapter directly in the on-line thbook? >>>>(Can we link directly to the chapter directly in the on-line thbook?
- 
- 
 ====How to get Therions TeX code (and Metapost code) ==== ====How to get Therions TeX code (and Metapost code) ====
  
Line 16: Line 25:
 ----- -----
 ----- -----
-===== TeX-Map =====+
  
 ====Changing the look or layout of a map output==== ====Changing the look or layout of a map output====
Line 87: 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.1421321429.txt.gz
  • Last modified: 9 years ago
  • by speleolinux