aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rnv/heidelberg.tex64
-rw-r--r--shape.tex10
-rw-r--r--shapes.tex47
3 files changed, 84 insertions, 37 deletions
diff --git a/rnv/heidelberg.tex b/rnv/heidelberg.tex
index 7a292b4..348ef74 100644
--- a/rnv/heidelberg.tex
+++ b/rnv/heidelberg.tex
@@ -135,56 +135,57 @@
\node[stop2] (Brückenstr) at (3.2,2.1) {};
\node[stop2, above=0.3cm of Brückenstr] (Kußmaulstr) {};
\node[stop2, above=0.3cm of Kußmaulstr] (Blumenthalstr) {};
+ % Handschuhsheim
\node[stop2, rotate=45] (Kapellenweg) at ($(Blumenthalstr)+(-0.7,0.9)$) {};
\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) {};
+ % Bergheim
\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) {};
\node[stop1,rotate=45] (Gneisenaustr Süd) at ($(Hauptbahnhof.center)-(2.4,-1.5)$) {};
+ % Wieblingen
\node[stop1, rotate=45, above left=0.5cm of Gneisenaustr Süd.center, anchor=center] (Berufsschule) {};
\node[stop1, rotate=45, above left=0.5cm of Berufsschule.center, anchor=center] (Ochsenkopf) {};
\node[stop1] (SRH Campus) at ($(Ochsenkopf.center)-(0.3,-0.6)$){};
\node[stop1, above=0.3cm of SRH Campus] (Wieblingen Mitte) {};
\node[stop1, above=0.3cm of Wieblingen Mitte] (Taubenfeld) {};
+ % Weststadt
\node[stop2] (Römerkreis Süd) at (1.3,-2.1) {};
\node[stop2, rotate=45] (Christuskirche) at ($(Römerkreis Süd)-(-0.5,0.7)$) {};
- \node[stop2] (S-Bahnhof Weststadt-Südstadt) at ($(Christuskirche)-(-0.5,0.7)$) {};
- \node[stop2, below=0.3cm of S-Bahnhof Weststadt-Südstadt] (Bergfriedhof) {};
- \node[stop2, below=0.3cm of Bergfriedhof] (Bethanienkrankenhaus) {};
- \node[stop2, below=0.3cm of Bethanienkrankenhaus] (Rheinstr) {};
- \node[stop2, below=0.3cm of Rheinstr] (Markscheide) {};
- \node[stop2, below=0.3cm of Markscheide] (Eichendorffplatz) {};
- \node[stop2, below=0.3cm of Eichendorffplatz] (Rohrbach Markt) {};
- \node[stop2, below=0.3cm of Rohrbach Markt] (Ortenauer Str) {};
- \node[stop2, below=0.3cm of Ortenauer Str] (Freiburger Str) {};
- \node[stop2, below=0.3cm of Freiburger Str] (Rohrbach Süd) {};
- \node[stop1, below=0.4cm of Rohrbach Süd.two half] (Zementwerk) {};
- \node[stop1, below=0.3cm of Zementwerk] (Johannes-Reidel-Str) {};
- \node[stop1, below=0.3cm of Johannes-Reidel-Str] (Georgi-Marktplatz) {};
- \node[stop1, below=0.3cm of Georgi-Marktplatz] (Kurpfalzcentrum) {};
- \node[stop1, below=0.3cm of Kurpfalzcentrum] (Moltkestr) {};
- \node[stop1, below=0.3cm of Moltkestr] (Leimen Friedhof) {};
\node[stop1] (Ringstr) at ($(Stadtwerke.one half)-(-0.1,0.2)-(0.6,0.6)$) {};
\node[stop1, below left=0.3cm of Ringstr] (Montpellierbrücke) {};
+ % Südstadt-Rohrbach
+ \node[stop2] (S-Bahnhof Weststadt-Südstadt) at ($(Christuskirche)-(-0.5,0.7)$) {};
+ \def\laststop{S-Bahnhof Weststadt-Südstadt}
+ \foreach\stop in {Bergfriedhof,Bethanienkrankenhaus,Rheinstr,Markscheide,Eichendorffplatz,Rohrbach Markt,Ortenauer Str,Freiburger Str,Rohrbach Süd}{
+ \expandafter\node[stop2, below=0.3cm of \laststop] (\stop) {};
+ \xdef\laststop{\stop}
+ }
+ % Leimen
+ \node[stop1, below=0.4cm of Rohrbach Süd.two half] (Zementwerk) {};
+ \def\laststop{Zementwerk}
+ \foreach\stop in {Johannes-Reidel-Str,Georgi-Marktplatz,Kurpfalzcentrum,Moltkestr,Leimen Friedhof}{
+ \expandafter\node[stop1, below=0.3cm of \laststop] (\stop) {};
+ \xdef\laststop{\stop}
+ }
\node[stop2, rotate=45, anchor=two half] (Hauptbahnhof Süd) at (-1.5, -2.5) {};
\node[stop1] (Czernybrücke) at (-1.6, 0.2) {};
\node[stop2, rotate=45, anchor=two half] (Gadamerplatz) at (-2.7,-1.3) {};
\node[stop1, rotate=45, above left=0.7cm of Gadamerplatz.two half, anchor=center] (Eppelheimer Terrasse) {};
\node[stop1, anchor=center] (Henkel Teroson Str) at ($(Eppelheimer Terrasse)+(-0.5,0.5)-(0.3,0.0)$){};
- \node[stop1, left=0.3cm of Henkel Teroson Str] (Marktstr) {};
- \node[stop1, left=0.3cm of Marktstr] (Kranichweg Stotz) {};
- \node[stop1, left=0.3cm of Kranichweg Stotz] (Jakobsgasse) {};
- \node[stop1, left=0.3cm of Jakobsgasse] (Eppelheimer Rathaus) {};
- \node[stop1, left=0.3cm of Eppelheimer Rathaus] (Eppelheim Kirchheimer Str) {};
+ \def\laststop{Henkel Teroson Str}
+ \foreach\stop in {Marktstr,Kranichweg Stotz,Jakobsgasse,Eppelheimer Rathaus,Eppelheim Kirchheimer Str}{
+ \expandafter\node[stop1, left=0.3cm of \laststop] (\stop) {};
+ \xdef\laststop{\stop}
+ }
\node[stop1] (Rudolf-Diesel-Str) at ($(Hauptbahnhof Süd.one half)-(-0.8,0.8)-(0,0.3)$) {};
- \node[stop1, below=0.3cm of Rudolf-Diesel-Str] (Messplatz) {};
- \node[stop1, below=0.3cm of Messplatz] (Ilse-Krall-Str) {};
- \node[stop1, below=0.3cm of Ilse-Krall-Str] (Albert-Fritz-Str) {};
- \node[stop1, below=0.3cm of Albert-Fritz-Str] (Odenwaldstr) {};
- \node[stop1, below=0.3cm of Odenwaldstr] (Kirchheim Rathaus) {};
- \node[stop1, below=0.3cm of Kirchheim Rathaus] (Kirchheim Friedhof) {};
+ \def\laststop{Rudolf-Diesel-Str}
+ \foreach\stop in {Messplatz,Ilse-Krall-Str,Albert-Fritz-Str,Odenwaldstr,Kirchheim Rathaus,Kirchheim Friedhof}{
+ \expandafter\node[stop1, below=0.3cm of \laststop] (\stop) {};
+ \xdef\laststop{\stop}
+ }
\end{pgfonlayer}
\begin{pgfonlayer}{lines}
@@ -215,17 +216,13 @@
-- (Brückenstr.one half)
-- (Bismarckplatz.north one half)
-- (Bismarckplatz.one half)
- % -- ($(Bismarckplatz.one half)-(45:0.10)$)
-- ($(2.7,0.6)+(2*\offset,0)$)
- % -- ($(Altes Hallenbad.south two half)+(0.9,0)$)
{[rounded corners=0.2cm]
- % -- ($(Bismarckplatz.south one half)-(0,0.1)$)
-- (Altes Hallenbad.two half)
}
-- (Campus Bergheim.two half)
-- (Volkshochschule.two half)
-- (Betriebshof.two half)
- % -- ($(Betriebshof.two half)-(1.0,0)$);
-- ($(Czernybrücke)+(0.4,0.4)$)
-- (Czernybrücke)
-- ($(Gadamerplatz.one half)+(-0.2,0.2)$)
@@ -241,9 +238,6 @@
-- (Kirchheim Friedhof)
;
- % \draw (Technologiepark.north center) --
- % node[rotate=-45,stop2,name=Heiligenbergschule] {} (Hans-Thoma-Platz.south center);
-
\draw[line, twentyone]
(Hauptbahnhof.two half)
-- ($(Hauptbahnhof.north two half)-(0.1,0)$)
@@ -270,7 +264,6 @@
-- (Campus Bergheim.one half)
{[rounded corners=0.2cm]
-- (Altes Hallenbad.one half)
- % -- ($(Altes Hallenbad.south one half)+(1.3,0.0)$)
}
{[rounded corners=0.2cm]
-| ($(Seegarten.south two half)+(0.2,0)$)
@@ -352,7 +345,6 @@
{[rounded corners=0.15cm]
-- ($(Römerkreis Süd.south one half)-(0,\offset)$)
}
- % (Römerkreis Süd.one half)
|- (Stadtwerke.one half)
{[rounded corners=0.3cm]
-- ($(Hauptbahnhof.south one half)+(0.1,0)$)
diff --git a/shape.tex b/shape.tex
index def5008..bcd3b0c 100644
--- a/shape.tex
+++ b/shape.tex
@@ -23,12 +23,14 @@
\node[stop2, name=two, below=4.5cm of one.west, anchor=west] {};
\node[stop3, name=three, below=4.5cm of two.west, anchor=west] {};
\node[stop4, name=four, below=4.5cm of three.west, anchor=west] {};
+ \node[stop5, name=five, below=4.5cm of four.west, anchor=west] {};
+ \node[stop6, name=six, below=4.5cm of five.west, anchor=west] {};
\draw[gray, thin]
(one.center) -- (two.one half) -- (three.one half) -- (four.one half)
(two.two half) -- (three.center) -- (four.two quarter)
(three.two half) -- (four.three quarter)
;
- \foreach\shape in {one,two,three,four} {
+ \foreach\shape in {one,two,three,four,five,six} {
\foreach\anchor/\placement in {%
% Custom anchors
one half/below,
@@ -43,6 +45,12 @@
north two half/right,
north two quarter/above left,
north three quarter/above right,
+ three sixth/above,
+ north three sixth/above,
+ south three sixth/below,
+ four sixth/above,
+ north four sixth/above,
+ south four sixth/below,
% Standard anchors
south/below,
north/above,
diff --git a/shapes.tex b/shapes.tex
index 1471807..1f57d35 100644
--- a/shapes.tex
+++ b/shapes.tex
@@ -120,6 +120,45 @@
\pgf@y=-\pgf@y
}
+ \savedanchor{\outerthirdsixth}{
+ \setlength{\pgf@xa}{\pgfshapeminwidth}
+ \setlength{\pgf@ya}{\pgfshapeminheight}
+ \pgf@y=\pgf@ya
+ \pgf@x=-.5\pgf@xa % We are at (shape.north west) now
+ % \multiply\pgf@ya by 2
+ \advance\pgf@x by 2.5\pgf@ya % We are at (shape.north one half) now
+ }
+
+ \anchor{three sixth}{
+ \outerthirdsixth
+ \pgf@y=0pt
+ }
+
+ \anchor{four sixth}{
+ \outerthirdsixth
+ \pgf@x=-\pgf@x
+ \pgf@y=0pt
+ }
+
+ \anchor{north three sixth}{
+ \outerthirdsixth
+ }
+
+ \anchor{south three sixth}{
+ \outerthirdsixth
+ \pgf@y=-\pgf@y
+ }
+
+ \anchor{north four sixth}{
+ \outerthirdsixth
+ \pgf@x=-\pgf@x
+ }
+
+ \anchor{south four sixth}{
+ \outerthirdsixth
+ \pgf@x=-\pgf@x
+ \pgf@y=-\pgf@y
+ }
\savedanchor{\outertop}{
\setlength{\pgf@ya}{\pgfshapeminheight}
@@ -168,4 +207,12 @@
stop,
minimum width=8cm,
},
+ stop5/.style={
+ stop,
+ minimum width=10cm,
+ },
+ stop6/.style={
+ stop,
+ minimum width=12cm,
+ },
}