| 1 |
% !TeX root = mercatormap.tex |
| 2 |
% !TeX encoding=UTF-8 |
| 3 |
% !TeX spellcheck=en_US |
| 4 |
% include file of mercatormap.tex (manual of the LaTeX package mercatormap) |
| 5 |
|
| 6 |
\thispagestyle{empty} |
| 7 |
\begin{tcboutputlisting} |
| 8 |
\begin{tcolorbox}[spread,blankest] |
| 9 |
\mermapset{flex tile size=40mm} |
| 10 |
\begin{tikzpicture} |
| 11 |
\mrcmap[type=areafit,west=5,east=15,south=46,north=54, |
| 12 |
source = opentopomap, |
| 13 |
flex area scale=4 000 000, |
| 14 |
tex width=\tcbtextwidth, |
| 15 |
tex height=\tcbtextheight, |
| 16 |
]{title} |
| 17 |
\mrcclipmap |
| 18 |
\ExplSyntaxOn |
| 19 |
\sys_gset_rand_seed:n {15} |
| 20 |
\int_set:Nn \l_tmpa_int {1} |
| 21 |
\int_until_do:nNnn \l_tmpa_int > {77} |
| 22 |
{ |
| 23 |
\fp_set:Nn \l_tmpa_fp {\tcbtextwidth/2 |
| 24 |
+ \l_tmpa_int*2.5mm*cosd(18*\l_tmpa_int)} |
| 25 |
\fp_set:Nn \l_tmpb_fp {\tcbtextheight/2 |
| 26 |
+ \l_tmpa_int*2.5mm*sind(18*\l_tmpa_int)} |
| 27 |
\node[inner~sep=0pt,draw=blue!50!gray,line~width=1mm, |
| 28 |
at={(\fp_to_dim:N\l_tmpa_fp,\fp_to_dim:N\l_tmpb_fp)}, |
| 29 |
rotate=\fp_eval:n{18*\l_tmpa_int+10*rand()} ] |
| 30 |
{\includegraphics[width=55mm,height=55mm] |
| 31 |
{tiles/opentopomap_ |
| 32 |
\int_use:N \l__mermap_tile_zoom_int _ |
| 33 |
\fp_eval:n { randint(\l__mermap_tile_xmin_int,\l__mermap_tile_xmax_int) }_ |
| 34 |
\fp_eval:n { randint(\l__mermap_tile_ymin_int,\l__mermap_tile_ymax_int) }.png |
| 35 |
} |
| 36 |
}; |
| 37 |
\int_incr:N\l_tmpa_int |
| 38 |
} |
| 39 |
\ExplSyntaxOff |
| 40 |
\node[font=\small\footnotesize,fill=white,opacity=0.75,text opacity=1] |
| 41 |
at (\tcbtextwidth/2,1cm) {\mrcmapattribution}; |
| 42 |
\node at (\tcbtextwidth/2,\tcbtextheight*0.667) |
| 43 |
{\begin{tcolorbox}[ |
| 44 |
center upper, fontupper=\bfseries,boxsep=15mm, boxrule=4mm, |
| 45 |
sharp corners, oversize=5mm, |
| 46 |
colback=white, colframe=blue!50!gray, |
| 47 |
enhanced jigsaw, opacityback=0.8, opacityframe=0.9 ] |
| 48 |
{\Huge The mercatormap package\par} |
| 49 |
\vspace{1cm} |
| 50 |
Manual for version \version\ (\datum)\par |
| 51 |
\vspace{5mm} |
| 52 |
Thomas F.~Sturm |
| 53 |
\end{tcolorbox}}; |
| 54 |
\end{tikzpicture} |
| 55 |
\end{tcolorbox} |
| 56 |
\end{tcboutputlisting} |
| 57 |
\tcbuselistingtext |
| 58 |
\tcbinputlisting{docexample, |
| 59 |
listing options={style=mydocumentation,basicstyle=\ttfamily\scriptsize}, |
| 60 |
listing only, |
| 61 |
title=Cover code} |
| 62 |
|
| 63 |
|
| 64 |
\clearpage |
| 65 |
\begin{center} |
| 66 |
\begin{tcolorbox}[enhanced,hbox,tikznode,left=8mm,right=8mm,boxrule=0.4pt, |
| 67 |
colback=white,colframe=Blue_Gray, |
| 68 |
drop lifted shadow=Blue_Gray!50,arc is angular, |
| 69 |
before=\par\vspace*{5mm},after=\par\bigskip] |
| 70 |
{\bfseries\LARGE The mercatormap package}\\[3mm] |
| 71 |
{\large Manual for version \version\ (\datum)} |
| 72 |
\end{tcolorbox} |
| 73 |
{\large Thomas F.~Sturm% |
| 74 |
\footnote{Prof.~Dr.~Dr.~Thomas F.~Sturm, Institut f\"{u}r Mathematik und Informatik, |
| 75 |
Universit\"{a}t der Bundeswehr M\"{u}nchen, D-85577 Neubiberg, Germany; |
| 76 |
email: \href{mailto:[email protected]}{[email protected]}}\par\medskip |
| 77 |
\normalsize% |
| 78 |
\url{https://www.ctan.org/pkg/mercatormap}\par |
| 79 |
\url{https://github.com/T-F-S/mercatormap} |
| 80 |
} |
| 81 |
\end{center} |
| 82 |
\bigskip |
| 83 |
\begin{absquote} |
| 84 |
\begin{center}\bfseries Abstract\end{center} |
| 85 |
The \texttt{mercatormap} package extends \tikzname\ with tools to |
| 86 |
create map graphics. The provided coordinate system relies on the |
| 87 |
Web Mercator projection used on the Web by OpenStreetMap and others. |
| 88 |
The package supports the seamless integration of graphics |
| 89 |
from public map tile servers by a Python script. Also, common map |
| 90 |
elements like markers, geodetic networks, bar scales, routes, orthodrome |
| 91 |
pieces, and more are part of the package. |
| 92 |
\end{absquote} |
| 93 |
|
| 94 |
\begin{tcolorbox}[breakable,enhanced jigsaw,before=\par\bigskip\noindent, |
| 95 |
title={Contents},fonttitle=\bfseries\Large,center title, |
| 96 |
colback=Blue_Gray!2!white, |
| 97 |
colframe=Blue_Gray, |
| 98 |
colbacktitle=Blue_Gray!5!white, |
| 99 |
coltitle=black, |
| 100 |
boxrule=0.4pt,arc is angular, |
| 101 |
enlargepage flexible=\baselineskip,pad at break*=3mm, |
| 102 |
%drop fuzzy shadow |
| 103 |
] |
| 104 |
\makeatletter |
| 105 |
\@starttoc{toc} |
| 106 |
\makeatother |
| 107 |
\end{tcolorbox} |