From cf923d5099ef0d5edcec1a6a8f6c35eeed5d0403 Mon Sep 17 00:00:00 2001
From: Aada
Date: Sun, 16 Jun 2024 22:38:16 +0200
Subject: Add more details

---
 heidelberg.tex | 114 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 96 insertions(+), 18 deletions(-)

(limited to 'heidelberg.tex')

diff --git a/heidelberg.tex b/heidelberg.tex
index fe0cc3b..e8f42d2 100644
--- a/heidelberg.tex
+++ b/heidelberg.tex
@@ -38,13 +38,29 @@
 \pgfdeclarelayer{lines}
 \pgfdeclarelayer{stops}
 \pgfdeclarelayer{labels}
-\pgfsetlayers{bg,lines,stops,labels,main}
+\pgfdeclarelayer{legend}
+\pgfsetlayers{bg,lines,stops,labels,main,legend}
 
 \contourlength{.2ex}
 
 \def\offsetanchor#1#2{\pgfmathparse{#2*tan(#1/2)}\pgfmathresult}
 
 \begin{tikzpicture}[
+    river/.style = {
+      line width=0.5cm,
+      cyan!50,
+      rounded corners=0.5cm,
+      -{Triangle Cap},
+    },
+    railway line/.style = {
+      color=gray,
+      line width=0.075cm,
+      rounded corners=0.5cm,
+    },
+    railway/.style = {
+      railway line,
+      {Latex[length=5mm]}-{Latex[length=5mm]},
+    },
     stop/.style = {
       rounded corners=0.1cm, 
       line width=0.05cm,
@@ -77,30 +93,59 @@
     label/.style = {
       font=\scriptsize,
     },
+    line name/.style = {
+      label, 
+      color=white, 
+      minimum width=1em, 
+      minimum height=1em, 
+      inner sep=0pt,
+    },
   ]
+
+  % \begin{pgfonlayer}{legend}
+  %   % \draw[railway line] (-7,-8.5) -- ++(0,0.5);
+  %   \node[stop2] (Legend2) at (-7,-8.5) {};
+  %   \node[stop1, above=0.4cm of Legend2.two half] (Legend1) {};
+  %   \node[stop1, above=0.3cm of Legend1] (Legend0) {};
+  %   \draw[line] (Legend2.south two half) -- (Legend1.north center) -- (Legend0);
+  %   \draw[line] (Legend2.south one half) -- ++(0,0.5) -- ++(-0.3,0);
+  %   \node[stop2] (Legend2) at (-7,-8.5) {};
+  %   \node[stop1, above=0.4cm of Legend2.two half] (Legend1) {};
+  %   \node[stop1, above=0.3cm of Legend1] (Legend0) {};
+  %   \node[line name, fill=black, above=0.2cm of Legend0] {\bf E};
+  %   \node[label, left=0.05cm of Legend1] {Karlsplatz};
+  %   \node[label, left=0.05cm of Legend0] {Museum};
+  %   \node[label, left=0.05cm of Legend2] {Bahnhof};
+  %
+  %   \node[label, anchor=west] at (-6.7,-8.5) {Halt mit Umstieg};
+  %   \node[label, anchor=west] at (-6.7,-8.0) {Halt};
+  %   \node[label, anchor=west] at (-6.7,-7.5) {Endhaltestelle};
+  % \end{pgfonlayer}
+
   \begin{pgfonlayer}{bg}
-    \draw[help lines, color=gray!10] (-10, -15) grid[step=0.1] (10, 10);
-    \draw[help lines, color=gray!50] (-10, -15) grid (10, 10);
+    % \draw[help lines, color=gray!10] (-10, -15) grid[step=0.1] (10, 10);
+    % \draw[help lines, color=gray!50] (-10, -15) grid (10, 10);
+    \draw[river] (10,1.5) -- (-1.5, 1.5) -- ++(-5.5,5.5);
   \end{pgfonlayer}
 
   \begin{pgfonlayer}{stops}
     \node[stop3, rotate=90] (Hauptbahnhof) at (-0.5, -1.4) {};
     \node[stop3, rotate=90] (Betriebshof) at (-0.5, 0.4) {};
-    \node[stop2] (Jahnstr) at (0, 1.4) {};
-    \node[stop2] (Bunsengymnasium) at (0, 2.0) {};
-    \node[stop2] (Technologiepark) at (0, 2.6) {};
-    \node[stop2, rotate=-45] (Heiligenbergschule) at (0.5, 3.3) {};
-    \node[stop4] (Hans Thoma Platz) at (1.3, 4.1) {};
-    \node[stop3, above=0.6cm of Hans Thoma Platz.two quarter, anchor=one half] (Biethsstr)  {};
-    \node[stop3, above=0.6cm of Biethsstr.center, anchor=center] (Burgstr) {};
+    \node[stop2] (Jahnstr) at (0, 2.1) {};
+    \node[stop2, above=0.3cm of Jahnstr] (Bunsengymnasium) {};
+    \node[stop2, above=0.3cm of Bunsengymnasium] (Technologiepark) {};
+    \node[stop2, rotate=-45] (Heiligenbergschule) at ($(Technologiepark)+(0.5,0.7)$) {};
     \node[stop2, rotate=90] (Volkshochschule) at (0.5,0.5) {};
     \node[stop2, rotate=90] (Campus Bergheim) at (1.1,0.5) {};
     \node[stop2, rotate=90] (Altes Hallenbad) at (1.7,0.5) {};
     \node[stop4] (Bismarckplatz) at (3.0,0.9) {};
-    \node[stop2] (Brückenstr) at (2.8,1.4) {};
-    \node[stop2] (Kußmaulstr) at (2.8,2.0) {};
-    \node[stop2] (Blumenthalstr) at (2.8,2.6) {};
-    \node[stop2, rotate=45] (Kapellenweg) at (2.2, 3.3) {};
+    \node[stop2] (Brückenstr) at (2.8,2.1) {};
+    \node[stop2, above=0.3cm of Brückenstr] (Kußmaulstr) {};
+    \node[stop2, above=0.3cm of Kußmaulstr] (Blumenthalstr) {};
+    \node[stop2, rotate=45] (Kapellenweg) at ($(Blumenthalstr)+(-0.5,0.7)$) {};
+    \node[stop4] (Hans Thoma Platz) at ($(Heiligenbergschule)!0.5!(Kapellenweg)+(0,0.9)$) {};
+    \node[stop3, above=0.6cm of Hans Thoma Platz.two quarter, anchor=one half] (Biethsstr)  {};
+    \node[stop3, above=0.6cm of Biethsstr.center, anchor=center] (Burgstr) {};
     \node[stop4, rotate=90] (Seegarten) at (2.3,-1.5) {};
     \node[stop4, rotate=90] (Stadtbücherei) at (1.8,-1.5) {};
     \node[stop3, rotate=90] (Stadtwerke) at (0.7,-1.4) {};
@@ -153,6 +198,19 @@
     \pgfmathparse{0.1*tan(45/2)}
     \let\offset\pgfmathresult
 
+    \draw[railway] ($(0.1,-3.5)-(7.2,-7.2)$) 
+      node[label, above, anchor=south west] {Mannheim}
+      -- (0.1,-3.5) 
+      -- ++(3,0) 
+      -- ++(4.5,4.5) 
+      -- ++(1,0) 
+      node[label, below, anchor=north] {Neckargemünd};
+    \draw[railway] ($(0.1,-3.5)-(7.2,-7.2)$) 
+      -- (0.1,-3.5) 
+      -- ++(0,-3) 
+      -- ++(0,-4.7)
+      node[label, right, anchor=south west] {Karlsruhe};
+
     \draw[line, twentysix]
       (Burgstr.center)
       -- (Biethsstr.center)
@@ -235,7 +293,7 @@
       -- (Hauptbahnhof Süd.two half)
       -- (Gadamerplatz.two half)
       -- (Eppelheimer Terrasse)
-      -- ($(Eppelheimer Terrasse)+(-0.5,0.5)-(0.3,0.0)$)
+      -- ($(Eppelheimer Terrasse)+(-0.5,0.5)$)
       -- (Henkel Teroson Str)
       -- (Marktstr)
       -- (Kranichweg Stotz)
@@ -303,9 +361,18 @@
 
 
     \draw[line, five, -{Latex[length=5mm]}]
-      (Burgstr.two half) -- ($(Burgstr.two half)+(0,1.0)$);
+      (Burgstr.two half) 
+      -- ($(Burgstr.two half)+(0,1.0)$) 
+      node[right, anchor=west, label] {Weinheim}
+      node[below right=0.3cm, line name, fill=five, rounded corners=0pt] {\bf 5}
+      ;
     \draw[line, five, -{Latex[length=5mm]}]
-      (Taubenfeld) -- ($(Taubenfeld)+(0,0.8)$);
+      (Taubenfeld) 
+      -- ++(0,0.3)
+      -- ++(-0.5,0.5)
+      node[above left=-0.2cm, label, anchor=south east] {Mannheim}
+      node[below left, line name, fill=five, rounded corners=0pt, anchor=north east] {\bf 5}
+      ;
     \draw[line, five]
       (Burgstr.two half)
       -- (Biethsstr.two half)
@@ -337,6 +404,8 @@
   \end{pgfonlayer}
 
   \begin{pgfonlayer}{labels}
+    \node[font=\scriptsize, color=white] at (4.0,1.5){Neckar};
+    \node[font=\scriptsize, color=white, rotate=-45] at (-3.5,3.5) {Neckar};
     \foreach\stop/\placement/\anchor/\rotate in {
       Hauptbahnhof/left/north/0,
       Betriebshof/above left/north west/0,
@@ -345,7 +414,7 @@
       Kußmaulstr/right/west/0,
       Blumenthalstr/right/west/0,
       Kapellenweg/right/west/0,
-      Bismarckplatz/right/west/0,
+      Bismarckplatz/below right/north west/0,
       Jahnstr/left/east/0,
       Bunsengymnasium/left/east/0,
       Technologiepark/left/east/0,
@@ -405,6 +474,15 @@
     } \node[label, \placement=0.05cm of \stop, rotate=\rotate, anchor=\anchor] {\contour{white}{\stop}};
     % \node[label, right=0.05cm of Altes Hallenbad, rotate=60, anchor=south west, align=left] {Altes Hallenbad};
     % \node[label, right=0.05cm of Campus Bergheim, rotate=60, anchor=south west, align=left] {Campu Bergheim};
+    \node[line name, fill=twentytwo, left=0.2cm of Eppelheim Kirchheimer Str] {\bf 22};
+    \node[line name, fill=twentysix, right=0.2cm of Kirchheim Friedhof] {\bf 26};
+    \node[line name, fill=twentythree, left=0.2cm of Leimen Friedhof] {\bf 23};
+    \node[line name, fill=twentyfour, left=0.2cm of Rohrbach Süd] {\bf 24};
+    \node[line name, fill=twentyone, left=0.2cm of Hans Thoma Platz] {\bf 21};
+    \node[line name, fill=twentysix, left=0.2cm of Burgstr] {\bf 26};
+    \node[line name, fill=twentyfour, left=0.6cm of Burgstr] {\bf 24};
+    \node[line name, fill=twentytwo, right=0.2cm of Bismarckplatz] {\bf 22};
+    \node[line name, fill=twentythree, right=0.6cm of Bismarckplatz] {\bf 23};
   \end{pgfonlayer}
 
 
-- 
cgit v1.2.3

