From 0b7f4ebb9fc73e42da9211dc49f23c9c6a5d805c Mon Sep 17 00:00:00 2001
From: Aada
Date: Fri, 21 Jun 2024 21:56:09 +0200
Subject: Parameterise central radius and decrease radius

---
 rnv/mannheim.tex | 80 +++++++++++++++++++++++++++++---------------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

diff --git a/rnv/mannheim.tex b/rnv/mannheim.tex
index 890418b..3fb0dc1 100644
--- a/rnv/mannheim.tex
+++ b/rnv/mannheim.tex
@@ -122,30 +122,32 @@
       -- (-4,4);
   \end{pgfonlayer}
 
+  \def\rad{2.8}
+
   \begin{pgfonlayer}{stops}
     % Quadrate
     \node[stop5, rotate=-45] (ParadeplatzW) at ($(45:-0.55)+(135:-0.5)$) {};
     \node[stop4, rotate=45] (ParadeplatzE) at (135:-1.15) {};
-    \node[stop4, rotate=45] (Wasserturm) at (135:-3.1) {};
+    \node[stop4, rotate=45] (Wasserturm) at (135:-\rad+0.1) {};
     \node[stop4, rotate=45] (Strohmarkt) at (135:-2) {};
-    \node[stop4, rotate=45] (Rathaus) at (135:1.7) {};
-    \node[stop4, rotate=45] (Rheinstr) at (135:3.0) {};
-    \node[stop6, rotate=-45] (Marktplatz) at ($(45:1.5)+(135:-0.4)$) {};
-    \node[stop6, rotate=-45] (Abendakademie) at ($(45:2.8)+(135:-0.4)$) {};
-    \node[stop5, rotate=-45] (Schloss) at ($(45:-2.2)+(135:-0.5)$) {};
-    \node[stop5, rotate=45] (Universität) at ($(45:-3.1)+(135:-0.9)$) {};
+    \node[stop4, rotate=45] (Rathaus) at (135:\rad/2) {};
+    \node[stop4, rotate=45] (Rheinstr) at (135:\rad-0.2) {};
+    \node[stop6, rotate=-45] (Marktplatz) at ($(45:\rad/2)+(135:-0.4)$) {};
+    \node[stop6, rotate=-45] (Abendakademie) at ($(45:\rad-0.2)+(135:-0.4)$) {};
+    \node[stop5, rotate=-45] (Schloss) at ($(45:-\rad+1)+(135:-0.5)$) {};
+    \node[stop5, rotate=45] (Universität) at ($(45:-\rad)+(135:-0.9)$) {};
     \node[stop3, rotate=90] (Nationaltheater) at (0:4.2) {};
-    \node[stop2, rotate=-25] (Rosengarten) at (-25:3.6) {};
-    \node[stop3, rotate=60] (Kurpfalzbrücke) at (60:3.5) {};
-    \node[stop3, rotate=90] (MVV Hochhaus) at (90:3.5) {};
-    \node[stop3, rotate=120] (Dalbergstr) at (120:3.5) {};
-    \node[stop4, rotate=-45] (Kunsthalle) at ($(135:-3.6)-(45:0.7)$) {};
-    \node[stop7, rotate=-45, below left=2.0cm of Kunsthalle.one half, anchor=one half] (Hauptbahnhof) {};
+    \node[stop2, rotate=-25] (Rosengarten) at (-25:\rad+0.4) {};
+    \node[stop3, rotate=60] (Kurpfalzbrücke) at (60:\rad+0.3) {};
+    \node[stop3, rotate=90] (MVV Hochhaus) at (90:\rad+0.3) {};
+    \node[stop3, rotate=120] (Dalbergstr) at (120:\rad+0.3) {};
+    \node[stop4, rotate=-45] (Kunsthalle) at ($(135:-\rad-0.4)-(45:0.7)$) {};
+    \node[stop7, rotate=-45, anchor=one half] (Hauptbahnhof) at ($(Kunsthalle.one half)-(45:1.7)$) {};
     \node[stop3, rotate=45] (Tattersall) at ($(Hauptbahnhof.center)!0.5!(Kunsthalle.center)+(135:-1.1)$) {};
     \node[stop3, rotate=-45] (Theresienkrankenhaus) at ($(Nationaltheater)+(0:1.6)+(45:0.3)$) {};
     \node[stop1] (Collini-Center) at ($(Abendakademie.three quarter)+(45:1)+(135:-1)$) {};
     \node[stop1] (Lessingstr) at ($(Collini-Center)+(135:-3.0)$) {};
-    \node[stop1] (Gewerkschaftshaus) at (20:3.7) {};
+    \node[stop1] (Gewerkschaftshaus) at (20:\rad+0.5) {};
     %
     \node[stop1] (Fernmeldeturm) at ($(Lessingstr)+(135:-0.5)$) {};
     \node[stop1] (Holbeinstr) at ($(Fernmeldeturm)+(135:-0.4)+(0:0.4)$) {};
@@ -154,7 +156,7 @@
     \node[stop1] (Pforzheimer Str) at ($(Duale Hochschule)+(0:0.5)$) {};
     \node[stop1] (Deutscher Hof) at ($(Pforzheimer Str)+(0:0.5)$) {};
     % Neckarstadt
-    \node[stop5, rotate=-45] (Alte Feuerwache) at ($(45:5)+(135:-0.1)$) {};
+    \node[stop5, rotate=-45] (Alte Feuerwache) at ($(45:\rad+2)+(135:-0.1)$) {};
     \node[stop2, rotate=45] (Schafweide) at ($(Alte Feuerwache)+(45:0.6)+(135:-1.8)$) {};
     \node[stop5, rotate=-45] (Universitätsklinikum) at ($(Schafweide)+(135:-2)+(45:0.4)$) {};
     \node[stop3, rotate=-45, anchor=two half] (Lange Röttgerstr) at ($(Universitätsklinikum.center)+(45:0.8)$) {};
@@ -325,14 +327,14 @@
 
     \draw[maybe line, one] 
       (Alte Feuerwache.three quarter)
-      -- ($(45:3.5)-(135:0.3)$)
-      arc[start angle=41, end angle=60, radius=3.5]
+      -- ($(45:\rad+0.3)-(135:0.3)$)
+      arc[start angle=41, end angle=60, radius=\rad+0.3]
       -- (Kurpfalzbrücke.center)
-      arc[start angle=60, end angle=90, radius=3.5]
+      arc[start angle=60, end angle=90, radius=\rad+0.3]
       -- (MVV Hochhaus.center)
-      arc[start angle=90, end angle=120, radius=3.5]
+      arc[start angle=90, end angle=120, radius=\rad+0.3]
       -- (Dalbergstr.center)
-      arc[start angle=120, end angle=130, radius=3.5]
+      arc[start angle=120, end angle=130, radius=\rad+0.3]
       -- (Rheinstr.two quarter)
       -- (Rathaus.two quarter)
       {[rounded corners=0.4cm]
@@ -351,21 +353,21 @@
       }
       -- ($(Alte Feuerwache.one half)+(45:0.5)$)
       -- (Alte Feuerwache.one half) 
-      -- ($(45:3.3)+(135:0.3)$)
-      arc[start angle=49, end angle=60, radius=3.3]
+      -- ($(45:\rad+0.1)+(135:0.3)$)
+      arc[start angle=49, end angle=60, radius=\rad+0.1]
       -- (Kurpfalzbrücke.one half)
-      arc[start angle=60, end angle=90, radius=3.3]
+      arc[start angle=60, end angle=90, radius=\rad+0.1]
       -- (MVV Hochhaus.one half)
-      arc[start angle=90, end angle=120, radius=3.3]
+      arc[start angle=90, end angle=120, radius=\rad+0.1]
       -- (Dalbergstr.one half)
-      arc[start angle=120, end angle=130, radius=3.3]
+      arc[start angle=120, end angle=130, radius=\rad+0.1]
       -- (Rheinstr.two half) 
       -- (Strohmarkt.two half) 
       -- (Wasserturm.two half)
       {[rounded corners=0.01cm]
-      -- ($(135:-3.7)+(45:0.3)$)
+      -- ($(135:-\rad-0.5)+(45:0.3)$)
       }
-      arc[start angle=-40.5, end angle=-2.5, radius=3.7]
+      arc[start angle=-40.5, end angle=-2.5, radius=\rad+0.5]
       -- (Nationaltheater.one half)
       {[rounded corners=0.3cm]
       -- ($(Nationaltheater.one half)+(0:0.8+2*\offset)$)
@@ -435,14 +437,14 @@
 
     \draw[maybe line, three] 
       (Alte Feuerwache.two quarter)
-      ($(45:3.7)+(135:0.1)$)
-      arc[start angle=47, end angle=60, radius=3.7]
+      ($(45:\rad+0.5)+(135:0.1)$)
+      arc[start angle=47, end angle=60, radius=\rad+0.5]
       -- (Kurpfalzbrücke.two half)
-      arc[start angle=60, end angle=90, radius=3.7]
+      arc[start angle=60, end angle=90, radius=\rad+0.5]
       -- (MVV Hochhaus.two half)
-      arc[start angle=90, end angle=120, radius=3.7]
+      arc[start angle=90, end angle=120, radius=\rad+0.5]
       -- (Dalbergstr.two half)
-      arc[start angle=120, end angle=133.5, radius=3.7]
+      arc[start angle=120, end angle=133.5, radius=\rad+0.5]
       -- (Rheinstr.one half)
       -- (Rathaus.one half)
       -- (ParadeplatzE.one half)
@@ -517,8 +519,8 @@
       -- ($(Hauptbahnhof.one half)-(45:0.2)$)
       -- (Hauptbahnhof.two quarter)
       -- (Kunsthalle.two quarter) 
-      -- (135:-3.5)
-      arc[start angle=-45, end angle=2.5, radius=3.5]
+      -- ($(135:-\rad-0.3)$)
+      arc[start angle=-45, end angle=2.5, radius=\rad+0.3]
       -- (Nationaltheater.two half)
       -- ($(Nationaltheater.two half)+(0:0.8-2*\offset)$)
       -- (Theresienkrankenhaus.one half)
@@ -624,8 +626,8 @@
       -- ($(Nationaltheater)+(0:0.8)$)
       }
       -- (Nationaltheater)
-      -- ($(0:3.7)$)
-      arc[start angle=0, end angle=31, radius=3.7]
+      -- ($(0:\rad+0.5)$)
+      arc[start angle=0, end angle=31, radius=\rad+0.5]
       -- ($(Abendakademie.two half)+(45:0.3)$)
       -- (Abendakademie.two half)
       -- (Marktplatz.two half)
@@ -707,12 +709,12 @@
       Marktplatz/left/east/0,
       Abendakademie/left/east/0,
       Schloss/left/east/0,
-      Universität/right/west/0,
+      Universität/right/north west/0,
       Nationaltheater/left/north west/0,
       Rosengarten/right/west/0,
-      Kunsthalle/left/east/0,
+      Kunsthalle/right/west/0,
       Alte Feuerwache/left/east/0,
-      MVV Hochhaus/left/north/0,
+      MVV Hochhaus/right/south/0,
       Im Rott/left/north/-45,
       Vogelstang West/left/east/0,
       Dalbergstr/right/east/0,
-- 
cgit v1.2.3