diff --git a/LICENSE b/LICENSE index 0826334..0982b14 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ ISC License -Copyright (c) 2018 - 2020, Martin Scheidt \ +Copyright (c) 2018 - 2021, Martin Scheidt \ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. diff --git a/README.md b/README.md index 9cc86f1..1134a3a 100644 --- a/README.md +++ b/README.md @@ -5,21 +5,29 @@ # Installation The tikz library is contained in the files: +* tikz-trackschematic.sty * tikzlibrarytrackschematic.code.tex, * tikzlibrarytrackschematic.topology.code.tex, * tikzlibrarytrackschematic.trafficcontrol.code.tex, * tikzlibrarytrackschematic.vehicles.code.tex, -* tikzlibrarytrackschematic.constructions.code.tex, and -* tikzlibrarytrackschematic.messures.code.tex. -These files should be copied wherever TeX can find it, for example in your TEXMF folder. The library can then be loaded through the command \usetikzlibrary{trackschematic} in any tex file. +* tikzlibrarytrackschematic.constructions.code.tex, +* tikzlibrarytrackschematic.electrics.code.tex, and +* tikzlibrarytrackschematic.measures.code.tex. + +These files should be copied wherever TeX can find it, for example in your $TEXMF folder. +The library can then be loaded through the command +```TeX +\usepackage{tikz-trackschematic} +``` +in any TeX file. ------------ -# Usage +# Minimal working example ```TeX -\documentclass[tikz]{standalone} -\usetikzlibrary{trackschematic} +\documentclass{standalone} +\usepackage{tikz-trackschematic} \begin{document} \begin{tikzpicture} @@ -35,11 +43,26 @@ These files should be copied wherever TeX can find it, for example in your TEXMF \end{document} ``` +results in: +* ![train on a track](https://glossary.ivev.bau.tu-bs.de/tiki-download_file.php?fileId=28&display&scale=.4 "train on a track") + +------------ + +# Symbology and meaning + +A transnational symbol library with common traits of railway operation. +A [glossary](https://glossary.ivev.bau.tu-bs.de/tiki-index.php?page=_Symbology) for further information regarding meaning of the symbols. ------------ # History +## Version 0.6 + + * added symbols for direction control, track marking, pylons and electric wiring + * change symbol for friction bufferstop; + * created an encapsulating package for future flexibilty + ## Version 0.5.1 * modified symbol "end of movement authority" @@ -81,6 +104,7 @@ These files should be copied wherever TeX can find it, for example in your TEXMF * rethink syntax * provide option for internationalziation (i18n) + * replace "\gettikzxy" with "\path let" syntax * rewrite library with better coding skills ------------ @@ -93,9 +117,9 @@ These files should be copied wherever TeX can find it, for example in your TEXMF # License - ISC License + [![Open Source Initiative Approved License logo](https://opensource.org/files/OSIApproved_100X125.png)](https://opensource.org) - Copyright (c) 2018 - 2020, Martin Scheidt \ + Copyright (c) 2018 - 2021, Martin Scheidt \ (ISC License) Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. diff --git a/create_ctan-package.sh b/create_ctan-package.sh index b1ebdcc..c9bdac7 100755 --- a/create_ctan-package.sh +++ b/create_ctan-package.sh @@ -1,6 +1,9 @@ #!/usr/bin/env sh -echo "specify version ( e.g. v0.5 ):" +# Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +# Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +echo "specify version ( e.g. v0.6 ):" read VERSION # create temporary folder @@ -21,9 +24,11 @@ cp -R doc/examples/* tikz-trackschematic-$VERSION/tikz-trackschematic-examples cp -R doc/snippets/* tikz-trackschematic-$VERSION/tikz-trackschematic-snippets # copy src +cp src/tikz-trackschematic.sty tikz-trackschematic-$VERSION/tikz-trackschematic.sty cp src/tikzlibrarytrackschematic.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.code.tex cp src/tikzlibrarytrackschematic.constructions.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.constructions.code.tex -cp src/tikzlibrarytrackschematic.messures.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.messures.code.tex +cp src/tikzlibrarytrackschematic.electrics.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.electrics.code.tex +cp src/tikzlibrarytrackschematic.measures.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.measures.code.tex cp src/tikzlibrarytrackschematic.topology.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.topology.code.tex cp src/tikzlibrarytrackschematic.trafficcontrol.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.trafficcontrol.code.tex cp src/tikzlibrarytrackschematic.vehicles.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.vehicles.code.tex diff --git a/dev-install.sh b/dev-install.sh index 7416cc8..b3df45f 100755 --- a/dev-install.sh +++ b/dev-install.sh @@ -1,18 +1,114 @@ #!/usr/bin/env sh -echo "specify path for installation!" -echo "( e.g. /usr/local/texlive/2019/texmf-dist/tex/latex ):" -read INSTALLPATH +# Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +# Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. -DIR=$(pwd -P) +## -- log functions + +# Halt on error +set -e + +ECHO=`which echo` + +error_occured=0 + +exec 3>&2 # logging stream (file descriptor 3) defaults to STDERR +verbosity=2 # default to show warnings +silent_lvl=0 +err_lvl=1 +wrn_lvl=2 +inf_lvl=3 +dbg_lvl=4 + +log_n() { log $silent_lvl "NOTE: $1"; } # Always prints +log_e() { log $err_lvl "ERROR: $1"; } +log_w() { log $wrn_lvl "WARNING: $1"; } +log_i() { log $inf_lvl "INFO: $1"; } # "info" is already a command +log_d() { log $dbg_lvl "DEBUG: $1"; } +log() { + if [ $verbosity -ge $1 ]; then + # Expand escaped characters, wrap at 70 chars, indent wrapped lines + $ECHO "$2" | fold -w80 -s >&3 || true + fi + $ECHO "$2" | fold -w80 -s >> $logfile || true +} + +## -- commands +TEXlsr=`which mktexlsr` + +check_texlive() { + # check for kpsewhich + status=0 + command -v kpsewhich >/dev/null 2>&1 || status=1 + if [ $status = 0 ]; then + log_d "kpsewhich found" + return 0 + fi + + log_e "Program 'kpsewhich' not found." + log_e "Be sure to use texlive or mactex!" + exit 1 +} + +# checks if sudo is available +check_sudo() { + rootrun="" + # If we are root, we do note require sudo + if [ "$EUID" = 0 ]; then + log_d "you are root" + return 0 + fi + + if sudo -v >/dev/null 2>&1; then + log_d "sudo ok" + rootrun="sudo" + else + log_d "sudo failed" + # Check if user is root (might be unnecessary) + if ! [ $(id -u) = 0 ]; then + log_e "This script must be run as root" 1>&2 + exit 1 + fi + fi +} + +#------------------------------------------------------------------------------- + +check_texlive +check_sudo + +TEXMFLOCAL=$(kpsewhich --var-value TEXMFLOCAL) DEVDIR="tikz-trackschematic-dev" -mkdir $INSTALLPATH/$DEVDIR +PROJECTDIR=$(pwd -P) -ln -s $DIR/src/tikzlibrarytrackschematic.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.code.tex -ln -s $DIR/src/tikzlibrarytrackschematic.constructions.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.constructions.code.tex -ln -s $DIR/src/tikzlibrarytrackschematic.messures.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.messures.code.tex -ln -s $DIR/src/tikzlibrarytrackschematic.topology.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.topology.code.tex -ln -s $DIR/src/tikzlibrarytrackschematic.trafficcontrol.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.trafficcontrol.code.tex -ln -s $DIR/src/tikzlibrarytrackschematic.vehicles.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.vehicles.code.tex +echo "" +echo "Do you wish to link this package from" +echo "$PROJECTDIR/src to" +echo "$TEXMFLOCAL/tex/latex/$DEVDIR?" +echo "(y/n)" +while true; do + read -p "" answer + case $answer in + [Yy]* ) break;; + [Nn]* ) exit 1;; + * ) echo "Please answer yes or no.";; + esac +done + +if [ ! -d "$TEXMFLOCAL/tex/latex/$DEVDIR" ]; then + $rootrun mkdir -p $TEXMFLOCAL/tex/latex/$DEVDIR +fi + + +$rootrun ln -sfn $PROJECTDIR/src/tikz-trackschematic.sty $TEXMFLOCAL/tex/latex/$DEVDIR/tikz-trackschematic-dev.sty +$rootrun ln -sfn $PROJECTDIR/src/tikzlibrarytrackschematic.code.tex $TEXMFLOCAL/tex/latex/$DEVDIR/tikzlibrarytrackschematic-dev.code.tex +$rootrun ln -sfn $PROJECTDIR/src/tikzlibrarytrackschematic.constructions.code.tex $TEXMFLOCAL/tex/latex/$DEVDIR/tikzlibrarytrackschematic-dev.constructions.code.tex +$rootrun ln -sfn $PROJECTDIR/src/tikzlibrarytrackschematic.electrics.code.tex $TEXMFLOCAL/tex/latex/$DEVDIR/tikzlibrarytrackschematic-dev.electrics.code.tex +$rootrun ln -sfn $PROJECTDIR/src/tikzlibrarytrackschematic.measures.code.tex $TEXMFLOCAL/tex/latex/$DEVDIR/tikzlibrarytrackschematic-dev.measures.code.tex +$rootrun ln -sfn $PROJECTDIR/src/tikzlibrarytrackschematic.topology.code.tex $TEXMFLOCAL/tex/latex/$DEVDIR/tikzlibrarytrackschematic-dev.topology.code.tex +$rootrun ln -sfn $PROJECTDIR/src/tikzlibrarytrackschematic.trafficcontrol.code.tex $TEXMFLOCAL/tex/latex/$DEVDIR/tikzlibrarytrackschematic-dev.trafficcontrol.code.tex +$rootrun ln -sfn $PROJECTDIR/src/tikzlibrarytrackschematic.vehicles.code.tex $TEXMFLOCAL/tex/latex/$DEVDIR/tikzlibrarytrackschematic-dev.vehicles.code.tex + +$rootrun $TEXlsr --quiet diff --git a/doc/examples/station_berg.tex b/doc/examples/station_berg.tex index 485baca..435c194 100644 --- a/doc/examples/station_berg.tex +++ b/doc/examples/station_berg.tex @@ -1,6 +1,6 @@ %!TEX TS-program = pdflatexmk -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \documentclass[tikz,border=2]{standalone} @@ -134,7 +134,7 @@ \platform[side=right] at (P2); \platform[side=left ] at (P1); } - { %% messures + { %% measures % hectometer posts \tikzset{hectometer base={(HM)},orientation=right}; \hectometer[] at (S1) label ( 7.200); diff --git a/doc/examples/station_chamstadt.tex b/doc/examples/station_chamstadt.tex index e1ec3aa..7ae5557 100644 --- a/doc/examples/station_chamstadt.tex +++ b/doc/examples/station_chamstadt.tex @@ -1,6 +1,6 @@ %!TEX TS-program = pdflatexmk -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \documentclass[tikz,border=2]{standalone} @@ -145,7 +145,7 @@ \platform[side=right] at (P2); \platform[side=left ] at (P1); } - { %% messures + { %% measures % hectometer posts \tikzset{hectometer base={(HM1)},orientation=right}; \hectometer[] at (S01) label ( 7.200); @@ -161,8 +161,8 @@ \hectometer[] at (S09) label ( 9.900); \hectometer[] at (S11) label (10.900); - \messureline (S09) -- ++(0,1.7) -- (S10); - \messureline (S11) -- ++(0,2.2) -- (S12); + \measureline (S09) -- ++(0,1.7) -- (S10); + \measureline (S11) -- ++(0,2.2) -- (S12); \tikzset{hectometer base={(HM2)},orientation=left}; \hectometer[] at (14 ,1) label ( 8.500); diff --git a/doc/manual.pdf b/doc/manual.pdf index 16260b1..06ead06 100644 Binary files a/doc/manual.pdf and b/doc/manual.pdf differ diff --git a/doc/manual.tex b/doc/manual.tex index d0a4936..fccbfeb 100644 --- a/doc/manual.tex +++ b/doc/manual.tex @@ -1,6 +1,6 @@ %% symbol library for TikZ track schematics % -% Copyright 2018,2019,2020 Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021 Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. @@ -25,10 +25,10 @@ % -------[ PDF Informations ]--------- \hypersetup{% - pdftitle={tikz/trackschematic}, + pdftitle={tikz-trackschematic}, pdfsubject={A tikz toolbox for track schematics}, pdfauthor={Martin Scheidt}, - pdfkeywords={latex, tikz, library, railway, track, layout} + pdfkeywords={latex, tikz, library, railway, track layout, schematic} } \begin{document} @@ -56,8 +56,9 @@ \item \texttt{topology}, \item \texttt{trafficcontrol}, \item \texttt{vehicles}, - \item \texttt{constructions}, and - \item \texttt{messures}. + \item \texttt{constructions}, + \item \texttt{electrics}, and + \item \texttt{measures}. \end{itemize*} \subsection{Acknowledgement} @@ -84,7 +85,7 @@ \subsection{License} - Copyright (c) 2018 - 2020, \MS. + Copyright (c) 2018 - 2021, \MS. Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies (\href{https://www.tldrlegal.com/l/isc}{ISC license}). \subsection{Alternatives} @@ -96,15 +97,15 @@ \section{Usage}\label{sec:use} \subsection{A complete minimal example} - The command \texttt{\textbackslash usetikzlibrary\{trackschematic\}} will load the library; place it somewhere in your preamble. + The command \texttt{\textbackslash usepackage\{tikz-trackschematic\}} will load the library; place it somewhere in your preamble. Here is a complete working minimal example which will produce a single PDF file with the figure on the right:\\ \begin{minipage}[c]{0.51\textwidth} \centering \begin{lstlisting}[gobble=8] - \documentclass[tikz]{standalone} + \documentclass{standalone} % loading the library - \usetikzlibrary{trackschematic} + \usepackage{tikz-trackschematic} \begin{document} \begin{tikzpicture} @@ -242,10 +243,10 @@ There is also the alias \texttt{position} for single local entries. \begin{minipage}[c]{0.65\textwidth} \begin{lstlisting}[gobble=8] - \documentclass[tikz]{standalone} + \documentclass{standalone} % load the library - \usetikzlibrary{trackschematic} + \usepackage{tikz-trackschematic} \begin{document} \begin{tikzpicture} @@ -285,10 +286,10 @@ For example like this:\\ \begin{minipage}[c]{0.65\textwidth} \begin{lstlisting}[gobble=8] - \documentclass[tikz]{standalone} + \documentclass{standalone} % load the library - \usetikzlibrary{trackschematic} + \usepackage{tikz-trackschematic} \begin{document} \begin{tikzpicture} @@ -315,10 +316,25 @@ \end{minipage} -\section{Provided Symbols and their commands} +\section{Provided Symbols and their commands}\label{sec:symbols} + + \subsection{overview} + To get a table with all symbols the command \textbackslash tsFullSymbology is provided. + It can be used in a normal \TeX~ environment and will list all symbols of all sublibraries. + \begin{lstlisting}[gobble=6] + \tsFullSymbology + \end{lstlisting} - Each sublibrary provides different symbols. The following section will go through each symbol their command and options. - % for aperance see the snippet document + Each symbol provides a reference name fo a symbology entry if there is the need to create an own table with the symbols. + It can be used in a normal \TeX~ environment and will show the named symbol with a length of \SI{6.2}{\cm} and a width of \SI{1}{\cm}. + \begin{lstlisting}[gobble=6] + \tsSymbol[width]{main_track} + \end{lstlisting} + + There is also a table with snippets for various situations. + Each snippet and each symbol must be used inside a Ti\emph{k}Z environment. + Each sublibrary provides different symbols. + The following section will go through each symbol their command and options. \subsection{Topology} @@ -331,8 +347,8 @@ \item \texttt{secondary tracks}. \end{itemize*} - \symboldescription{Main track} - \symbol{main_track.tikz} + \symboldescription{Main track}\label{sym:maintrack} + \tsSymbol{main_track} \begin{lstlisting}[gobble=10] \maintrack (coord1) -- (coord2); \maintrack (coord1) -- (coord2) -- (coord3) -- etc.; @@ -344,9 +360,15 @@ \end{lstlisting} Beware of the placement assumption by the library (see Section \ref{sec:placement}). + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{main_track}% TeX environment + \end{lstlisting} - \symboldescription{Secondary track} - \symbol{secondary_track.tikz} + + \symboldescription{Secondary track}\label{sym:secondarytrack} + \tsSymbol{secondary_track} \begin{lstlisting}[gobble=10] \secondarytrack (coord1) -- (coord2); \secondarytrack (coord1) -- (coord2) -- (coord3) -- etc.; @@ -361,9 +383,16 @@ \path[draw=foreground,line width=0.7pt] (coord1) -- (coord2); \end{lstlisting} Beware of the placement assumption by the library (see Section \ref{sec:placement}). + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{secondary_track}% TeX environment + \end{lstlisting} - \symboldescription{Track number or track label} - \symbol{track_number.tikz} + + \symboldescription{Track number or track label}\label{sym:tracklabel} + \tsSymbol{track_label} \begin{lstlisting}[gobble=10] \tracklabel at (coord) label (number); \end{lstlisting} @@ -372,10 +401,17 @@ \begin{lstlisting}[gobble=10] \node[fill=background,text=foreground] at (coord) {number}; \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{track_label}% TeX environment + \end{lstlisting} + - \symboldescription{Buffer stops} - \symbol{bufferstop_forward.tikz} - \symbol{friction_bufferstop_forward.tikz} + \symboldescription{Buffer stops}\label{sym:bufferstop} + \tsSymbol{bufferstop} + \tsSymbol{friction_bufferstop} \begin{lstlisting}[gobble=10] \bufferstop[options] at (coord); \end{lstlisting} @@ -385,19 +421,34 @@ \item \texttt{friction=\textit{length unit}} (optional) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{bufferstop}% TeX environment + \tsSymbol{friction_bufferstop}% TeX environment + \end{lstlisting} + - \symboldescription{Track closures} - \symbol{track_closure.tikz} + \symboldescription{Track closures}\label{sym:trackclosure} + \tsSymbol{track_closure} \begin{lstlisting}[gobble=10] \trackclosure at (coord); \end{lstlisting} - No \texttt{options} available.\\ + No \texttt{options} available. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{track_closure}% TeX environment + \end{lstlisting} + \subsubsection{Turnouts and similar}\label{sec:turnout} - \symboldescription{Turnouts} - \symbol{turnout_with_fouling_left_forward.tikz} - \symbol{turnout_left_forward_manually.tikz} - % \symbol{turnout_left_forward_right_position.tikz} + \symboldescription{Turnouts}\label{sym:turnouts} + \tsSymbol{turnout_fouling} + \tsSymbol{turnout_manually} + % \tsSymbol{turnout_left_forward_right_position} \begin{lstlisting}[gobble=10] \turnout[options] at (coord) label (name); \end{lstlisting} @@ -411,9 +462,17 @@ \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{turnout_fouling}% TeX environment + \tsSymbol{turnout_manually}% TeX environment + \end{lstlisting} + - \symboldescription{Diamond crossings} - \symbol{diamond_crossing_left.tikz} + \symboldescription{Diamond crossings}\label{sym:diamondcrossing} + \tsSymbol{diamond_crossing} \begin{lstlisting}[gobble=10] \crossing[options] at (coord) label (name); \end{lstlisting} @@ -421,12 +480,19 @@ \begin{itemize}[label={}] \item \texttt{branch=left} or \texttt{branch=right} (mandatory) \item \texttt{fouling point} (optional) - \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) + \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{diamond_crossing}% TeX environment + \end{lstlisting} + - \symboldescription{Slip switchs or slip turnouts} - \symbol{double-slip_turnout_left.tikz} + \symboldescription{Slip switchs or slip turnouts}\label{sym:slipturnout} + \tsSymbol{slip_turnout} \begin{lstlisting}[gobble=10] \slipturnout[options] at (coord) label (name1)(name2); \end{lstlisting} @@ -441,9 +507,16 @@ \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{slip_turnout}% TeX environment + \end{lstlisting} + - \symboldescription{Derailers} - \symbol{derailer_left_forward.tikz} + \symboldescription{Derailers}\label{sym:derailer} + \tsSymbol{derailer} \begin{lstlisting}[gobble=10] \derailer[options] at (coord) label (name); \end{lstlisting} @@ -454,11 +527,19 @@ \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{derailer}% TeX environment + \end{lstlisting} + + \subsection{Vehicles}\label{sec:vehicles} - \symboldescription{Parked vehicles}\label{sec:parked} - \symbol{parked_vehicles.tikz} + \symboldescription{Parked vehicles}\label{sym:parkedvehicles} + \tsSymbol{parked_vehicles} \begin{lstlisting}[gobble=8] \parkedvehicles[options] at (coord) label (name); \end{lstlisting} @@ -472,10 +553,16 @@ \end{itemize} The value for \textit{(label-coord)} is relative to \textit{(coord)}. An absolute \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol{parked_vehicles}% TeX environment + \end{lstlisting} - \symboldescription{Shunting movements}\label{sec:shunting} - % \symbol{train_shunt_mode_forward.tikz} - \symbol{train_shunting_forward.tikz} + + \symboldescription{Shunting movements}\label{sym:trainshunting} + \tsSymbol{train_shunting} \begin{lstlisting}[gobble=8] \shunting[options] at (coord) label (name); \end{lstlisting} @@ -494,10 +581,17 @@ \end{itemize} The value for \textit{(label-coord)} and \textit{(bend-coord)} is relative to \textit{(coord)}. An absolute \textit{(label-coord)} or \textit{(bend-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol{train_shunting}% TeX environment + \end{lstlisting} - \symboldescription{Train runs}\label{sec:train} - \symbol{train_moving_fast_forward.tikz} - \symbol{train_ghost_direction_forward.tikz} + + \symboldescription{Train runs}\label{sym:trains} + \tsSymbol{train_moving_fast} + \tsSymbol{train_ghost} \begin{lstlisting}[gobble=8] \train[options] at (coord) label (name); \end{lstlisting} @@ -517,9 +611,17 @@ \end{itemize} The value for \textit{(label-coord)} and \textit{(bend-coord)} is relative to \textit{(coord)}. An absolute \textit{(label-coord)} or \textit{(bend-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol{train_moving_fast}% TeX environment + \tsSymbol{train_ghost}% TeX environment + \end{lstlisting} + \subsection{Traffic control} - \subsubsection{Stationary signals}\label{sec:signals} + \subsubsection{Stationary signals}\label{sym:signals} \symboldescription{Generic signal command} \begin{lstlisting}[gobble=10] @@ -546,8 +648,9 @@ \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} - \symboldescription{Distant signal} - \symbol{distant_signal_forward.tikz} + + \symboldescription{Distant signal}\label{sym:distantsignal} + \tsSymbol[1.4]{distant_signal} \begin{lstlisting}[gobble=10] \distantsignal[options] at (coord) label (name); \end{lstlisting} @@ -563,9 +666,16 @@ \begin{lstlisting}[gobble=10] \signal[distant,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{distant_signal}% TeX environment + \end{lstlisting} - \symboldescription{Speed signal/sign} - \symbol{speed_signal_forward.tikz} + + \symboldescription{Speed signal/sign}\label{sym:speedsignal} + \tsSymbol[1.4]{speed_signal} \begin{lstlisting}[gobble=10] \speedsignal[options] at (coord) label (name); \end{lstlisting} @@ -585,9 +695,16 @@ \begin{lstlisting}[gobble=10] \signal[speed type,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{speed_signal}% TeX environment + \end{lstlisting} - \symboldescription{Block signal} - \symbol{block_signal_forward.tikz} + + \symboldescription{Block signal}\label{sym:blocksignal} + \tsSymbol[1.4]{block_signal} \begin{lstlisting}[gobble=10] \blocksignal[options] at (coord) label (name); \end{lstlisting} @@ -603,9 +720,16 @@ \begin{lstlisting}[gobble=10] \signal[block,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{block_signal}% TeX environment + \end{lstlisting} - \symboldescription{Route signal} - \symbol{route_signal_forward.tikz} + + \symboldescription{Route signal}\label{sym:routesignal} + \tsSymbol[1.4]{route_signal} \begin{lstlisting}[gobble=10] \routesignal[options] at (coord) label (name); \end{lstlisting} @@ -622,9 +746,16 @@ \begin{lstlisting}[gobble=10] \signal[route,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{route_signal}% TeX environment + \end{lstlisting} - \symboldescription{Shunting signal} - \symbol{shunt_signal_forward.tikz} + + \symboldescription{Shunting signal}\label{sym:shuntsignal} + \tsSymbol[1.4]{shunt_signal} \begin{lstlisting}[gobble=10] \shuntsignal[options] at (coord) label (name); \end{lstlisting} @@ -640,9 +771,16 @@ \begin{lstlisting}[gobble=10] \signal[shunting,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{shunt_signal}% TeX environment + \end{lstlisting} - \symboldescription{Shunt limit} - \symbol{shunt_limit_forward.tikz} + + \symboldescription{Shunt limit}\label{sym:shuntlimit} + \tsSymbol[1.4]{shunt_limit} \begin{lstlisting}[gobble=10] \shuntlimit[options] at (coord) label (name); \end{lstlisting} @@ -657,9 +795,16 @@ \begin{lstlisting}[gobble=10] \signal[shunt limit,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{shunt_limit}% TeX environment + \end{lstlisting} - \symboldescription{Berth signal/sign} - \symbol{train_berth_sign_forward.tikz} + + \symboldescription{Berth signal/sign}\label{sym:berthsign} + \tsSymbol[1.4]{train_berth_sign} \begin{lstlisting}[gobble=10] \berthsignal[options] at (coord) label (name); \end{lstlisting} @@ -678,11 +823,18 @@ \begin{lstlisting}[gobble=10] \signal[berth,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{train_berth_sign}% TeX environment + \end{lstlisting} - \subsubsection{Non-stationary points}\label{sec:points} - \symboldescription{View point} - \symbol{view_point_forward.tikz} + \subsubsection{Non-stationary locations}\label{sec:locations} + + \symboldescription{View point}\label{sym:viewpoint} + \tsSymbol[1.4]{view_point} \begin{lstlisting}[gobble=10] \viewpoint[options] at (coord); \end{lstlisting} @@ -692,9 +844,16 @@ \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{view_point}% TeX environment + \end{lstlisting} - \symboldescription{Braking point} - \symbol{braking_point_forward.tikz} + + \symboldescription{Braking point}\label{sym:brakingpoint} + \tsSymbol[1.4]{braking_point} \begin{lstlisting}[gobble=10] \brakingpoint[options] at (coord) label (name); \end{lstlisting} @@ -705,9 +864,16 @@ \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{braking_point}% TeX environment + \end{lstlisting} - \symboldescription{End of movement authority} - \symbol{end_of_movement_authority_forward.tikz} + + \symboldescription{End of movement authority}\label{sym:endofauthority} + \tsSymbol[1.4]{end_of_authority} \begin{lstlisting}[gobble=10] \movementauthority[options] at (coord) label (name); \end{lstlisting} @@ -718,9 +884,16 @@ \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{end_of_authority}% TeX environment + \end{lstlisting} - \symboldescription{Danger point} - \symbol{danger_point_forward.tikz} + + \symboldescription{Danger point}\label{sym:dangerpoint} + \tsSymbol[1.4]{danger_point} \begin{lstlisting}[gobble=10] \dangerpoint[options] at (coord) label (name); \end{lstlisting} @@ -731,10 +904,17 @@ \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{danger_point}% TeX environment + \end{lstlisting} + \subsubsection{Clearing points}\label{sec:clearingpoints} - \symboldescription{Generic clearing point} + \symboldescription{Generic clearing point}\label{sym:genericclearingpoint} \begin{lstlisting}[gobble=10] \clearingpoint[options] at (coord) label (name); \end{lstlisting} @@ -752,8 +932,9 @@ \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} - \symboldescription{Standard clearing point} - \symbol{clearing_point.tikz} + + \symboldescription{Standard clearing point}\label{sym:clearingpoint} + \tsSymbol{clearing_point} \begin{lstlisting}[gobble=10] \standardclearing[options] at (coord) label (name); \end{lstlisting} @@ -768,9 +949,16 @@ \begin{lstlisting}[gobble=10] \clearingpoint[standard,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{clearing_point}% TeX environment + \end{lstlisting} - \symboldescription{Block clearing point} - \symbol{block_clearing_point_forward.tikz} + + \symboldescription{Block clearing point}\label{sym:blockclearingpoint} + \tsSymbol{block_clearing_point} \begin{lstlisting}[gobble=10] \blockclearing[options] at (coord) label (name); \end{lstlisting} @@ -785,9 +973,16 @@ \begin{lstlisting}[gobble=10] \clearingpoint[block,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{block_clearing_point}% TeX environment + \end{lstlisting} - \symboldescription{Route clearing point} - \symbol{route_clearing_point_forward.tikz} + + \symboldescription{Route clearing point}\label{sym:routeclearingpoint} + \tsSymbol{route_clearing_point} \begin{lstlisting}[gobble=10] \routeclearing[options] at (coord) label (name); \end{lstlisting} @@ -802,10 +997,55 @@ \begin{lstlisting}[gobble=10] \clearingpoint[route,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{route_clearing_point}% TeX environment + \end{lstlisting} + + + \subsubsection{Routes}\label{sec:routes} + + \symboldescription{Route}\label{sym:route} + \tsSymbol{route} + \begin{lstlisting}[gobble=10] + \route[options] at (coord); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward} or \texttt{backward} (mandatory) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{route}% TeX environment + \end{lstlisting} + + + \symboldescription{Direction control}\label{sym:directioncontrol} + \tsSymbol[1.4]{direction_control} + \begin{lstlisting}[gobble=10] + \directioncontrol[options] at (coord); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol[1.4]{direction_control}% TeX environment + \end{lstlisting} + \subsubsection{Transmitters}\label{sec:transmitters} - \symboldescription{Generic transmitter command} + \symboldescription{Generic transmitter command}\label{sym:generictransmitter} \begin{lstlisting}[gobble=10] \transmitter[options] at (coord) label (name); \end{lstlisting} @@ -818,8 +1058,9 @@ \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} - \symboldescription{Balise} - \symbol{transmitter_right_bidirectional.tikz} + + \symboldescription{Balise}\label{sym:balise} + \tsSymbol{transmitter_forward} \begin{lstlisting}[gobble=10] \balise[options] at (coord) label (name); \end{lstlisting} @@ -834,9 +1075,16 @@ \begin{lstlisting}[gobble=10] \transmitter[type=balise,options] at (coord) label (name); \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=10] + \tsSymbol{transmitter_forward}% TeX environment + \end{lstlisting} - \symboldescription{Loop} - \symbol{loop_transmitter.tikz} + + \symboldescription{Loop}\label{sym:loop} + \tsSymbol{loop_transmitter} \begin{lstlisting}[gobble=10] \trackloop[options] at (coord) label (name); \end{lstlisting} @@ -850,24 +1098,18 @@ \begin{lstlisting}[gobble=10] \transmitter[type=loop,options] at (coord) label (name); \end{lstlisting} - - \subsubsection{Miscellaneous}\label{sec:misc} - - \symboldescription{Route} - \symbol{route.tikz} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: \begin{lstlisting}[gobble=10] - \route[options] at (coord); + \tsSymbol{loop_transmitter}% TeX environment \end{lstlisting} - values for \texttt{options} (comma seperated): - \begin{itemize}[label={}] - \item \texttt{forward} or \texttt{backward} (mandatory) - \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) - \end{itemize} + \subsection{Constructions}\label{sec:constructions} - \symboldescription{Platform} - \symbol{platform_left.tikz} + \symboldescription{Platform}\label{sym:platform} + \tsSymbol[1.4]{platform} \begin{lstlisting}[gobble=8] \platform[options] at (coord); \end{lstlisting} @@ -878,9 +1120,16 @@ \item \texttt{width=\textit{length unit}} (optional, default 0.5cm) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[1.4]{platform}% TeX environment + \end{lstlisting} - \symboldescription{Level crossings} - \symbol{level_crossing_single.tikz} + + \symboldescription{Level crossings}\label{sym:levelcrossing} + \tsSymbol[2.0]{level_crossing} \begin{lstlisting}[gobble=8] \levelcrossing[options] at (coord); \end{lstlisting} @@ -893,9 +1142,16 @@ \item \texttt{no road} (optional) \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[2.0]{level_crossing}% TeX environment + \end{lstlisting} - \symboldescription{Bridge} - \symbol{bridge.tikz} + + \symboldescription{Bridge}\label{sym:bridge} + \tsSymbol[2.0]{bridge} \begin{lstlisting}[gobble=8] \bridge[options] at (coord); \end{lstlisting} @@ -910,71 +1166,345 @@ \item \texttt{background=\textit{color}} (optional, default: \texttt{white}) \item \texttt{no background} (optional) \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[2.0]{bridge}% TeX environment + \end{lstlisting} - \symboldescription{Interlocking} - \symbol{interlocking.tikz} + + \symboldescription{Interlocking}\label{sym:interlocking} + \tsSymbol{interlocking} \begin{lstlisting}[gobble=8] \interlocking at (coord); \end{lstlisting} - No \texttt{options} available.\\ + No \texttt{options} available. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol{interlocking}% TeX environment + \end{lstlisting} - \symboldescription{Hump} - \symbol{hump.tikz} + + \symboldescription{Hump}\label{sym:hump} + \tsSymbol[1.4]{hump} \begin{lstlisting}[gobble=8] \hump at (coord); \end{lstlisting} + No \texttt{options} available. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[1.4]{hump}% TeX environment + \end{lstlisting} + + + \symboldescription{Pylon}\label{sym:pylon} + \tsSymbol[1.4]{pylon} + \begin{lstlisting}[gobble=8] + \pylon[options] at (coord); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{side=right} (default), \texttt{side=left} or \texttt{side=both} (optional) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \item \texttt{background=\textit{color}} (optional, default: \texttt{white}) + \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol{pylon}% TeX environment + \end{lstlisting} + + + \subsection{Electrics}\label{sec:electrics} + + \symboldescription{Distant power off}\label{sym:distantpoweroff} + \tsSymbol[1.4]{distant_power_off} + \begin{lstlisting}[gobble=8] + \distantpoweroff[options] at (coord) label (name); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) + \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) + \item \texttt{signal color=\textit{color}} (optional, default: \texttt{ts-signal-blue}) + \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \item \texttt{background=\textit{color}} (optional, default: \texttt{white}) + \end{itemize} + The color \textit{ts-signal-blue} is defined as \textit{HTML: 013ADF}. + The value for \textit{(label-coord)} is relative to \textit{(coord)}. + An absolute \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[1.4]{distant_power_off}% TeX environment + \end{lstlisting} + + + \symboldescription{Power off}\label{sym:poweroff} + \tsSymbol[1.4]{power_off} + \begin{lstlisting}[gobble=8] + \poweroff[options] at (coord) label (name); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) + \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) + \item \texttt{signal color=\textit{color}} (optional, default: \texttt{ts-signal-blue}) + \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \item \texttt{background=\textit{color}} (optional, default: \texttt{white}) + \end{itemize} + The color \textit{ts-signal-blue} is defined as \textit{HTML: 013ADF}. + The value for \textit{(label-coord)} is relative to \textit{(coord)}. + An absolute \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[1.4]{power_off}% TeX environment + \end{lstlisting} + + + \symboldescription{Power on}\label{sym:poweron} + \tsSymbol[1.4]{power_on} + \begin{lstlisting}[gobble=8] + \poweron[options] at (coord) label (name); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) + \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) + \item \texttt{signal color=\textit{color}} (optional, default: \texttt{ts-signal-blue}) + \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \item \texttt{background=\textit{color}} (optional, default: \texttt{white}) + \end{itemize} + The color \textit{ts-signal-blue} is defined as \textit{HTML: 013ADF}. + The value for \textit{(label-coord)} is relative to \textit{(coord)}. + An absolute \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[1.4]{power_on}% TeX environment + \end{lstlisting} + + + \symboldescription{Distant pantograph down}\label{sym:distantpantographdown} + \tsSymbol[1.4]{distant_pantograph_down} + \begin{lstlisting}[gobble=8] + \distantpantographdown[options] at (coord) label (name); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) + \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) + \item \texttt{signal color=\textit{color}} (optional, default: \texttt{ts-signal-blue}) + \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \item \texttt{background=\textit{color}} (optional, default: \texttt{white}) + \end{itemize} + The color \textit{ts-signal-blue} is defined as \textit{HTML: 013ADF}. + The value for \textit{(label-coord)} is relative to \textit{(coord)}. + An absolute \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[1.4]{distant_pantograph_down}% TeX environment + \end{lstlisting} + + + \symboldescription{Pantograph down}\label{sym:pantographdown} + \tsSymbol[1.4]{pantograph_down} + \begin{lstlisting}[gobble=8] + \pantographdown[options] at (coord) label (name); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) + \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) + \item \texttt{signal color=\textit{color}} (optional, default: \texttt{ts-signal-blue}) + \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \item \texttt{background=\textit{color}} (optional, default: \texttt{white}) + \end{itemize} + The color \textit{ts-signal-blue} is defined as \textit{HTML: 013ADF}. + The value for \textit{(label-coord)} is relative to \textit{(coord)}. + An absolute \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[1.4]{pantograph_down}% TeX environment + \end{lstlisting} + + + \symboldescription{Pantograph up}\label{sym:pantographup} + \tsSymbol[1.4]{pantograph_up} + \begin{lstlisting}[gobble=8] + \pantographup[options] at (coord) label (name); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) + \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) + \item \texttt{signal color=\textit{color}} (optional, default: \texttt{ts-signal-blue}) + \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \item \texttt{background=\textit{color}} (optional, default: \texttt{white}) + \end{itemize} + The color \textit{ts-signal-blue} is defined as \textit{HTML: 013ADF}. + The value for \textit{(label-coord)} is relative to \textit{(coord)}. + An absolute \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[1.4]{pantograph_up}% TeX environment + \end{lstlisting} + + + \symboldescription{Wire limit}\label{sym:wirelimit} + \tsSymbol[1.4]{wire_limit} + \begin{lstlisting}[gobble=8] + \wirelimit[options] at (coord) label (name); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) + \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) + \item \texttt{signal color=\textit{color}} (optional, default: \texttt{ts-signal-blue}) + \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \item \texttt{background=\textit{color}} (optional, default: \texttt{white}) + \end{itemize} + The color \textit{ts-signal-blue} is defined as \textit{HTML: 013ADF}. + The value for \textit{(label-coord)} is relative to \textit{(coord)}. + An absolute \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[1.4]{wire_limit}% TeX environment + \end{lstlisting} + + + \subsection{Messures}\label{sec:measures} + + \symboldescription{Track distance}\label{sym:trackdistance} + \tsSymbol[2.0]{track_distance} + \begin{lstlisting}[gobble=8] + \trackdistance between (coord1) and (coord2) distance (value); + \end{lstlisting} + No \texttt{options} available. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol[2.0]{track_distance}% TeX environment + \end{lstlisting} + + + \symboldescription{Train berth}\label{sym:trainberth} + \tsSymbol{train_berth} + \begin{lstlisting}[gobble=8] + \berth[options] at (coord) length (value); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) + \item \texttt{length=\textit{length unit}} (optional, default 4cm) + \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) + \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) + \end{itemize} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol{train_berth}% TeX environment + \end{lstlisting} + + + \symboldescription{Messure line}\label{sym:measureline} + \tsSymbol{measure_line} + \begin{lstlisting}[gobble=8] + \measureline (coord1) -- (coord2); + \measureline (coord1) -- (coord2) -- (coord3) -- etc.; + \end{lstlisting} No \texttt{options} available.\\ + This command is equivalent to: + \begin{lstlisting}[gobble=10] + \path[draw=foreground!50!background,dashed,shorten <=0.75cm,shorten >=0.75cm] (coord1) -- (coord2); + \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol{measure_line}% TeX environment + \end{lstlisting} - \subsection{Messures}\label{sec:messures} - \symboldescription{Track distance} - \symbol{track_distance.tikz} - \begin{lstlisting}[gobble=10] - \trackdistance between (coord1) and (coord2) distance (value); - \end{lstlisting} - No \texttt{options} available. + \symboldescription{Hectometer}\label{sym:hectometer} + \tsSymbol{hectometer} + \begin{lstlisting}[gobble=8] + \hectometer[options] at (coord) mileage (name); + \end{lstlisting} + values for \texttt{options} (comma seperated): + \begin{itemize}[label={}] + \item \texttt{hectometer base=\{\textit{(base-coord)}\}} (mandatory) + \item \texttt{orientation=left} or \texttt{orientation=right} (mandatory) + \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) + \item \texttt{hectometer color=\textit{color}} (optional, default: \texttt{foreground!50!background}) + \end{itemize} + The value for \textit{(base-coord)} and \textit{(label-coord)} is relative to \textit{(coord)}. + An absolute \textit{(base-coord)} or \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. + Specify a commen hectometer base and orientation if you have to place multipile hectometers, i.e. with: + \texttt{\textbackslash tikzset\{hectometer base=\{(base-coord)\},orientation=right\};}. + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol{hectometer}% TeX environment + \end{lstlisting} - \symboldescription{Train berth} - \symbol{train_berth_shape.tikz} - \begin{lstlisting}[gobble=10] - \berth[options] at (coord) length (value); - \end{lstlisting} - values for \texttt{options} (comma seperated): - \begin{itemize}[label={}] - \item \texttt{forward}, \texttt{backward} or \texttt{bidirectional} (mandatory) - \item \texttt{length=\textit{length unit}} (optional, default 4cm) - \item \texttt{position=left} or \texttt{position=right} (optional, default: \textit{traffic practice}) - \item \texttt{foreground=\textit{color}} (optional, default: \texttt{black}) - \end{itemize} - \symboldescription{Hectometer} - \symbol{hectometer.tikz} - \begin{lstlisting}[gobble=10] - \hectometer[options] at (coord) mileage (name); - \end{lstlisting} - values for \texttt{options} (comma seperated): - \begin{itemize}[label={}] - \item \texttt{hectometer base=\{\textit{(base-coord)}\}} (mandatory) - \item \texttt{orientation=left} or \texttt{orientation=right} (mandatory) - \item \texttt{shift label=\{\textit{(label-coord)}\}} (optional, default: (0,0)) - \item \texttt{hectometer color=\textit{color}} (optional, default: \texttt{foreground!50!background}) - \end{itemize} - The value for \textit{(base-coord)} and \textit{(label-coord)} is relative to \textit{(coord)}. - An absolute \textit{(base-coord)} or \textit{(label-coord)} can be specified with the Ti\emph{k}Z \textbackslash coordinate command. - Specify a commen hectometer base and orientation if you have to place multipile hectometers, i.e. with: - \texttt{\textbackslash tikzset\{hectometer base=\{(base-coord)\},orientation=right\};}. + \symboldescription{Track Marking}\label{sym:trackmarking} + \tsSymbol{track_marking} + \begin{lstlisting}[gobble=10] + \trackmarking[color] (coord1) -- (coord2); + \end{lstlisting} + \begin{itemize}[label={}] + \item \texttt{\textit{color}} (optional, default: \texttt{foreground with opacity 40\%}) + \end{itemize}\mbox{}\\ + This command is equivalent to: + \begin{lstlisting}[gobble=8] + \path[ + draw, + line width=8pt, + opacity=0.4, + arrows={ + Bar[line cap=round,line width=1pt,width=12pt]- + Bar[line cap=round,line width=1pt,width=12pt] + }, + shorten >=1pt,shorten <=1pt + ] (coord1) -- (coord2); + \end{lstlisting} + + \mbox{}\\[0.2cm] + Symbology entry as seen at top: + \begin{lstlisting}[gobble=8] + \tsSymbol{track_marking}% TeX environment + \end{lstlisting} - \symboldescription{Messure line} - \symbol{messure_line.tikz} - \begin{lstlisting}[gobble=10] - \messureline (coord1) -- (coord2); - \messureline (coord1) -- (coord2) -- (coord3) -- etc.; - \end{lstlisting} - No \texttt{options} available.\\ - This command is equivalent to: - \begin{lstlisting}[gobble=10] - \path[draw=foreground!50!background,dashed,shorten <=0.75cm,shorten >=0.75cm] (coord1) -- (coord2); - \end{lstlisting} \clearpage \appendix @@ -982,130 +1512,151 @@ \begin{longtable}{|r|l|c|c|} \hline - No. & Name & Symbol & See section \\ + No. & Name & Symbol & See section \\ \endhead \hline - \No & main track & \symbol{main_track.tikz} & \ref{sec:track} \\ + \No & main track & \tsSymbol{main_track} & \ref{sec:track} \\ \hline - \No & secondary track & \symbol{secondary_track.tikz} & \ref{sec:track} \\ + \No & secondary track & \tsSymbol{secondary_track} & \ref{sec:track} \\ \hline - \No & track number & \symbol{track_number.tikz} & \ref{sec:track} \\ + \No & track label & \tsSymbol{track_label} & \ref{sec:track} \\ \hline - \No & bufferstop & \symbol{bufferstop_forward.tikz} & \ref{sec:track} \\ + \No & bufferstop & \tsSymbol{bufferstop} & \ref{sec:track} \\ \hline - \No & friction bufferstop & \symbol{friction_bufferstop_forward.tikz} & \ref{sec:track} \\ + \No & friction bufferstop & \tsSymbol{friction_bufferstop} & \ref{sec:track} \\ \hline - \No & track closure & \symbol{track_closure.tikz} & \ref{sec:track} \\ + \No & track closure & \tsSymbol{track_closure} & \ref{sec:track} \\ \hline - \No & turnout & \symbol{turnout_left_forward.tikz} & \ref{sec:turnout} \\ + \No & turnout & \tsSymbol{turnout} & \ref{sym:turnouts} \\ \hline \No & \parbox[c]{5cm}{turnout\\with fouling point indicator} - & \symbol{turnout_with_fouling_left_forward.tikz} & \ref{sec:turnout} \\ + & \tsSymbol{turnout_fouling} & \ref{sym:turnouts} \\ \hline \No & \parbox[c]{5cm}{turnout\\operated manually} - & \symbol{turnout_left_forward_manually.tikz} & \ref{sec:turnout} \\ - \hline - \No & double-slip turnout & \symbol{double-slip_turnout_left.tikz} & \ref{sec:turnout} \\ - \hline - \No & diamond crossing & \symbol{diamond_crossing_left.tikz} & \ref{sec:turnout} \\ + & \tsSymbol{turnout_manually} & \ref{sym:turnouts} \\ \hline \No & \parbox[c]{5cm}{turnout\\with points in right position} - & \symbol{turnout_left_forward_right_position.tikz} & \ref{sec:turnout} \\ + & \tsSymbol{turnout_points_right} & \ref{sym:turnouts} \\ \hline \No & \parbox[c]{5cm}{turnout\\with points in left position} - & \symbol{turnout_left_forward_left_position.tikz} & \ref{sec:turnout} \\ + & \tsSymbol{turnout_points_left} & \ref{sym:turnouts} \\ \hline \No & \parbox[c]{5cm}{turnout\\with moving points} - & \symbol{turnout_left_forward_moving_points.tikz} & \ref{sec:turnout} \\ + & \tsSymbol{turnout_points_moving} & \ref{sym:turnouts} \\ \hline - \No & derailer & \symbol{derailer_left_forward.tikz} & \ref{sec:turnout} \\ + \No & diamond crossing & \tsSymbol{diamond_crossing} & \ref{sym:diamondcrossing}\\ \hline - \No & parked vehicles & \symbol{parked_vehicles.tikz} & \ref{sec:parked} \\ + \No & double-slip turnout & \tsSymbol{slip_turnout} & \ref{sym:slipturnout} \\ \hline - \No & train in shunting mode & \symbol{train_shunt_mode_forward.tikz} & \ref{sec:shunting} \\ + \No & derailer & \tsSymbol{derailer} & \ref{sym:derailer} \\ \hline - \No & train shunting & \symbol{train_shunting_forward.tikz} & \ref{sec:shunting} \\ + \No & parked vehicles & \tsSymbol{parked_vehicles} & \ref{sym:parkedvehicles} \\ \hline - \No & train & \symbol{train_direction_forward.tikz} & \ref{sec:train} \\ + \No & train in shunting mode & \tsSymbol{train_shunt_mode} & \ref{sym:trainshunting} \\ \hline - \No & train moving slow & \symbol{train_moving_slow_forward.tikz} & \ref{sec:train} \\ + \No & train shunting & \tsSymbol{train_shunting} & \ref{sym:trainshunting} \\ \hline - \No & train moving & \symbol{train_moving_forward.tikz} & \ref{sec:train} \\ + \No & train & \tsSymbol{train} & \ref{sym:trains} \\ \hline - \No & train moving fast & \symbol{train_moving_fast_forward.tikz} & \ref{sec:train} \\ + \No & train moving slow & \tsSymbol{train_moving_slow} & \ref{sym:trains} \\ \hline - \No & train ghost & \symbol{train_ghost_direction_forward.tikz} & \ref{sec:train} \\ + \No & train moving & \tsSymbol{train_moving} & \ref{sym:trains} \\ \hline - \No & train operated automatic & \symbol{train_drive_automatic.tikz} & \ref{sec:train} \\ + \No & train moving fast & \tsSymbol{train_moving_fast} & \ref{sym:trains} \\ \hline - \No & train operated by human & \symbol{train_drive_human.tikz} & \ref{sec:train} \\ + \No & train ghost & \tsSymbol{train_ghost} & \ref{sym:trains} \\ \hline - \No & distant signal & \symbol{distant_signal_forward.tikz} & \ref{sec:signals} \\ + \No & train operated automatic & \tsSymbol{train_drive_automatic} & \ref{sym:trains} \\ + \hline + \No & train operated by human & \tsSymbol{train_drive_human} & \ref{sym:trains} \\ + \hline + \No & distant signal & \tsSymbol[1.4]{distant_signal} & \ref{sym:signals} \\ \hline \No & \parbox[c]{4cm}{distant signal\\with speed indicator} - & \symbol{distant_speed_signal_forward.tikz} & \ref{sec:signals} \\ + & \tsSymbol[1.4]{distant_speed_signal} & \ref{sym:signals} \\ \hline - \No & speed signal & \symbol{speed_signal_forward.tikz} & \ref{sec:signals} \\ + \No & speed signal & \tsSymbol[1.4]{speed_signal} & \ref{sym:signals} \\ \hline - \No & block signal & \symbol{block_signal_forward.tikz} & \ref{sec:signals} \\ + \No & block signal & \tsSymbol[1.4]{block_signal} & \ref{sym:signals} \\ \hline - \No & route signal & \symbol{route_signal_forward.tikz} & \ref{sec:signals} \\ + \No & route signal & \tsSymbol[1.4]{route_signal} & \ref{sym:signals} \\ \hline - \No & \parbox[c]{4cm}{combined signal\\(distant, block and route signal)} - & \symbol{combined_signal_forward.tikz} & \ref{sec:signals} \\ + \No & \parbox[c]{5cm}{combined signal (distant, block and route signal)} + & \tsSymbol[1.4]{combined_signal} & \ref{sym:signals} \\ \hline - \No & shunt signal & \symbol{shunt_signal_forward.tikz} & \ref{sec:signals} \\ + \No & shunt signal & \tsSymbol[1.4]{shunt_signal} & \ref{sym:signals} \\ \hline - \No & shunt signal locked & \symbol{shunt_signal_forward_locked.tikz} & \ref{sec:signals} \\ + \No & shunt signal locked & \tsSymbol[1.4]{locked_shunt_signal} & \ref{sym:signals} \\ \hline - \No & shunt limit & \symbol{shunt_limit_forward.tikz} & \ref{sec:signals} \\ + \No & shunt limit & \tsSymbol[1.4]{shunt_limit} & \ref{sym:signals} \\ \hline - \No & train berth sign & \symbol{train_berth_sign_forward.tikz} & \ref{sec:signals} \\ + \No & train berth sign & \tsSymbol[1.4]{train_berth_sign} & \ref{sym:signals} \\ \hline - \No & view point & \symbol{view_point_forward.tikz} & \ref{sec:points} \\ + \No & view point & \tsSymbol[1.4]{view_point} & \ref{sec:locations} \\ \hline - \No & braking point & \symbol{braking_point_forward.tikz} & \ref{sec:points} \\ + \No & braking point & \tsSymbol[1.4]{braking_point} & \ref{sec:locations} \\ \hline - \No & end of movement authority & \symbol{end_of_movement_authority_forward.tikz} & \ref{sec:points} \\ + \No & end of movement authority & \tsSymbol[1.4]{end_of_authority} & \ref{sec:locations} \\ \hline - \No & danger point & \symbol{danger_point_forward.tikz} & \ref{sec:points} \\ + \No & danger point & \tsSymbol[1.4]{danger_point} & \ref{sec:locations} \\ \hline - \No & clearing point & \symbol{clearing_point.tikz} & \ref{sec:clearingpoints} \\ + \No & clearing point & \tsSymbol{clearing_point} & \ref{sec:clearingpoints} \\ \hline - \No & block clearing point & \symbol{block_clearing_point_forward.tikz} & \ref{sec:clearingpoints} \\ + \No & block clearing point & \tsSymbol{block_clearing_point} & \ref{sec:clearingpoints} \\ \hline - \No & route clearing point & \symbol{route_clearing_point_forward.tikz} & \ref{sec:clearingpoints} \\ + \No & route clearing point & \tsSymbol{route_clearing_point} & \ref{sec:clearingpoints} \\ \hline - \No & transmitter & \symbol{transmitter_right.tikz} & \ref{sec:transmitters} \\ + \No & route & \tsSymbol{route} & \ref{sec:routes} \\ \hline - \No & transmitter effective forward & \symbol{transmitter_right_forward.tikz} & \ref{sec:transmitters} \\ + \No & direction control & \tsSymbol{direction_control} & \ref{sec:routes} \\ \hline - \No & transmitter bidirectional & \symbol{transmitter_right_bidirectional.tikz} & \ref{sec:transmitters} \\ + \No & transmitter & \tsSymbol{transmitter} & \ref{sec:transmitters} \\ \hline - \No & loop transmitter & \symbol{loop_transmitter.tikz} & \ref{sec:transmitters} \\ + \No & transmitter effective forward & \tsSymbol{transmitter_forward} & \ref{sec:transmitters} \\ \hline - \No & route & \symbol{route.tikz} & \ref{sec:misc} \\ + \No & transmitter bidirectional & \tsSymbol{transmitter_bidirectional} & \ref{sec:transmitters} \\ \hline - \No & platform & \symbol{platform_left.tikz} & \ref{sec:constructions} \\ + \No & loop transmitter & \tsSymbol{loop_transmitter} & \ref{sec:transmitters} \\ \hline - \No & level crossing & \symbol{level_crossing_single.tikz} & \ref{sec:constructions} \\ + \No & platform & \tsSymbol[1.4]{platform} & \ref{sec:constructions} \\ \hline - \No & bridge & \symbol{bridge.tikz} & \ref{sec:constructions} \\ + \No & level crossing & \tsSymbol[2.0]{level_crossing} & \ref{sec:constructions} \\ \hline - \No & hump & \symbol{hump.tikz} & \ref{sec:constructions} \\ + \No & bridge & \tsSymbol[2.0]{bridge} & \ref{sec:constructions} \\ \hline - \No & interlocking & \symbol{interlocking.tikz} & \ref{sec:constructions} \\ + \No & hump & \tsSymbol[1.4]{hump} & \ref{sec:constructions} \\ \hline - \No & track distance (in \si{\metre}) & \symbol{track_distance.tikz} & \ref{sec:messures} \\ + \No & interlocking & \tsSymbol{interlocking} & \ref{sec:constructions} \\ \hline - \No & train berth shape & \symbol{train_berth_shape.tikz} & \ref{sec:messures} \\ + \No & pylons & \tsSymbol[1.4]{pylon} & \ref{sec:constructions} \\ \hline - \No & hectometer & \symbol{hectometer.tikz} & \ref{sec:messures} \\ + \No & distant power off & \tsSymbol[1.4]{distant_power_off} & \ref{sec:electrics} \\ \hline - \No & Messure line & \symbol{messure_line.tikz} & \ref{sec:messures} \\ + \No & power off & \tsSymbol[1.4]{power_off} & \ref{sec:electrics} \\ + \hline + \No & power on & \tsSymbol[1.4]{power_on} & \ref{sec:electrics} \\ + \hline + \No & distant pantograph down & \tsSymbol[1.4]{distant_pantograph_down} & \ref{sec:electrics} \\ + \hline + \No & pantograph down & \tsSymbol[1.4]{pantograph_down} & \ref{sec:electrics} \\ + \hline + \No & pantograph up & \tsSymbol[1.4]{pantograph_up} & \ref{sec:electrics} \\ + \hline + \No & wire limit & \tsSymbol[1.4]{wire_limit} & \ref{sec:electrics} \\ + \hline + \No & track distance (in \si{\metre}) & \tsSymbol[2.0]{track_distance} & \ref{sec:measures} \\ + \hline + \No & train berth shape & \tsSymbol{train_berth} & \ref{sec:measures} \\ + \hline + \No & Messure line & \tsSymbol{measure_line} & \ref{sec:measures} \\ + \hline + \No & hectometer & \tsSymbol{hectometer} & \ref{sec:measures} \\ + \hline + \No & track marking & \tsSymbol{track_marking} & \ref{sec:measures} \\ \hline \end{longtable} +\clearpage \input{versionhistory.tex} \vhListAllAuthorsLongWithAbbrev diff --git a/doc/snippets.pdf b/doc/snippets.pdf index 1ad9134..a34c3af 100644 Binary files a/doc/snippets.pdf and b/doc/snippets.pdf differ diff --git a/doc/snippets.tex b/doc/snippets.tex index 7deb9f0..05ebe34 100644 --- a/doc/snippets.tex +++ b/doc/snippets.tex @@ -1,6 +1,6 @@ %!TEX TS-program = pdflatexmk -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \documentclass[a4paper,landscape]{article} @@ -9,6 +9,7 @@ \pagestyle{empty} \usepackage{tikz-trackschematic-documentation} +\externaldocument{.tex/manual} \lstset{% language = TeX,% @@ -24,282 +25,782 @@ \begin{document} - \title{Snippets}\author{}\date{} + \title{Snippets}\author{} + \date{Version \vhCurrentVersion~ from \vhCurrentDate} \maketitle \centering - \begin{longtable}{|r|l|c|l|c|} - \hline - No. & Name & Symbol & Code & Sublibrary \\ - \endhead - \hline - \No & main track & \symbol{main_track.tikz} & \code{main_track.tikz} & \texttt{topology} \\ - \hline - \No & main line (double track) & \symbol{main_line.tikz} & \code{main_line.tikz} & \texttt{topology} \\ - \hline - \No & secondary track & \symbol{secondary_track.tikz} & \code{secondary_track.tikz} & \texttt{topology} \\ - \hline - \No & track number & \symbol{track_number.tikz} & \code{track_number.tikz} & \texttt{topology} \\ - \hline - \No & bufferstop (forward) & \symbol{bufferstop_forward.tikz} & \code{bufferstop_forward.tikz} & \texttt{topology} \\ - \hline - \No & bufferstop (backward) & \symbol{bufferstop_backward.tikz} & \code{bufferstop_backward.tikz} & \texttt{topology} \\ - \hline - \No & friction bufferstop (forward) & \symbol{friction_bufferstop_forward.tikz} & \code{friction_bufferstop_forward.tikz} & \texttt{topology} \\ - \hline - \No & friction bufferstop (backward) & \symbol{friction_bufferstop_backward.tikz} & \code{friction_bufferstop_backward.tikz} & \texttt{topology} \\ - \hline - \No & track closure & \symbol{track_closure.tikz} & \code{track_closure.tikz} & \texttt{topology} \\ - \hline - \No & turnout left (forward) & \symbol{turnout_left_forward.tikz} & \code{turnout_left_forward.tikz} & \texttt{topology} \\ - \hline - \No & turnout left (backward) & \symbol{turnout_left_backward.tikz} & \code{turnout_left_backward.tikz} & \texttt{topology} \\ - \hline - \No & turnout right (forward) & \symbol{turnout_right_forward.tikz} & \code{turnout_right_forward.tikz} & \texttt{topology} \\ - \hline - \No & turnout right (backward) & \symbol{turnout_right_backward.tikz} & \code{turnout_right_backward.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (forward)\\with fouling point indicator} - & \symbol{turnout_with_fouling_left_forward.tikz} & \code{turnout_with_fouling_left_forward.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (backward)\\with fouling point indicator} - & \symbol{turnout_with_fouling_left_backward.tikz} & \code{turnout_with_fouling_left_backward.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (forward)\\with fouling point indicator} - & \symbol{turnout_with_fouling_right_forward.tikz} & \code{turnout_with_fouling_right_forward.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (backward)\\with fouling point indicator} - & \symbol{turnout_with_fouling_right_backward.tikz} & \code{turnout_with_fouling_right_backward.tikz} & \texttt{topology} \\ - \hline - \No & double-slip turnout left & \symbol{double-slip_turnout_left.tikz} & \code{double-slip_turnout_left.tikz} & \texttt{topology} \\ - \hline - \No & double-slip turnout right & \symbol{double-slip_turnout_right.tikz} & \code{double-slip_turnout_right.tikz} & \texttt{topology} \\ - \hline - \No & diamond crossing left & \symbol{diamond_crossing_left.tikz} & \code{diamond_crossing_left.tikz} & \texttt{topology} \\ - \hline - \No & diamond crossing right & \symbol{diamond_crossing_right.tikz} & \code{diamond_crossing_right.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (forward)\\with points in right position} - & \symbol{turnout_left_forward_right_position.tikz} & \code{turnout_left_forward_right_position.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (forward)\\with points in left position} - & \symbol{turnout_left_forward_left_position.tikz} & \code{turnout_left_forward_left_position.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (forward)\\with moving points} - & \symbol{turnout_left_forward_moving_points.tikz} & \code{turnout_left_forward_moving_points.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (backward)\\with points in right position} - & \symbol{turnout_left_backward_right_position.tikz} & \code{turnout_left_backward_right_position.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (backward)\\with points in left position} - & \symbol{turnout_left_backward_left_position.tikz} & \code{turnout_left_backward_left_position.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (backward)\\with moving points} - & \symbol{turnout_left_backward_moving_points.tikz} & \code{turnout_left_backward_moving_points.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (forward)\\with points in right position} - & \symbol{turnout_right_forward_right_position.tikz} & \code{turnout_right_forward_right_position.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (forward)\\with points in left position} - & \symbol{turnout_right_forward_left_position.tikz} & \code{turnout_right_forward_left_position.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (forward)\\with moving points} - & \symbol{turnout_right_forward_moving_points.tikz} & \code{turnout_right_forward_moving_points.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (backward)\\with points in right position} - & \symbol{turnout_right_backward_right_position.tikz} & \code{turnout_right_backward_right_position.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (backward)\\with points in left position} - & \symbol{turnout_right_backward_left_position.tikz} & \code{turnout_right_backward_left_position.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (backward)\\with moving points} - & \symbol{turnout_right_backward_moving_points.tikz} & \code{turnout_right_backward_moving_points.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (forward)\\operated manually} - & \symbol{turnout_left_forward_manually.tikz} & \code{turnout_left_forward_manually.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (forward)\\operated manually} - & \symbol{turnout_right_forward_manually.tikz} & \code{turnout_right_forward_manually.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout left (backward)\\operated manually} - & \symbol{turnout_left_backward_manually.tikz} & \code{turnout_left_backward_manually.tikz} & \texttt{topology} \\ - \hline - \No & \parbox[c]{5cm}{turnout right (backward)\\operated manually} - & \symbol{turnout_right_backward_manually.tikz} & \code{turnout_right_backward_manually.tikz} & \texttt{topology} \\ - \hline - \No & derailer left (forward) & \symbol{derailer_left_forward.tikz} & \code{derailer_left_forward.tikz} & \texttt{topology} \\ - \hline - \No & derailer left (backward) & \symbol{derailer_left_backward.tikz} & \code{derailer_left_backward.tikz} & \texttt{topology} \\ - \hline - \No & derailer right (forward) & \symbol{derailer_right_forward.tikz} & \code{derailer_right_forward.tikz} & \texttt{topology} \\ - \hline - \No & derailer right (backward) & \symbol{derailer_right_backward.tikz} & \code{derailer_right_backward.tikz} & \texttt{topology} \\ - \hline - \No & vehicles (parked) & \symbol{parked_vehicles.tikz} & \code{parked_vehicles.tikz} & \texttt{vehicles} \\ - \hline - \No & vehicles with label (parked) & \symbol{parked_vehicles_with_label.tikz} & \code{parked_vehicles_with_label.tikz} & \texttt{vehicles} \\ - \hline - \No & vehicle (parked) & \symbol{parked_vehicle.tikz} & \code{parked_vehicle.tikz} & \texttt{vehicles} \\ - \hline - \No & \parbox[c]{4cm}{train in shunting mode\\(direction forward)} - & \symbol{train_shunt_mode_forward.tikz} & \code{train_shunt_mode_forward.tikz} & \texttt{vehicles} \\ - \hline - \No & \parbox[c]{4cm}{train in shunting mode\\(direction backward)} - & \symbol{train_shunt_mode_backward.tikz} & \code{train_shunt_mode_backward.tikz} & \texttt{vehicles} \\ - \hline - \No & train shunting (forward) & \symbol{train_shunting_forward.tikz} & \code{train_shunting_forward.tikz} & \texttt{vehicles} \\ - \hline - \No & train shunting (backward) & \symbol{train_shunting_backward.tikz} & \code{train_shunting_backward.tikz} & \texttt{vehicles} \\ - \hline - \No & train (direction forward) & \symbol{train_direction_forward.tikz} & \code{train_direction_forward.tikz} & \texttt{vehicles} \\ - \hline - \No & train (direction backward) & \symbol{train_direction_backward.tikz} & \code{train_direction_backward.tikz} & \texttt{vehicles} \\ - \hline - \No & train moving (forward) & \symbol{train_moving_forward.tikz} & \code{train_moving_forward.tikz} & \texttt{vehicles} \\ - \hline - \No & train moving (backward) & \symbol{train_moving_backward.tikz} & \code{train_moving_backward.tikz} & \texttt{vehicles} \\ - \hline - \No & train moving slow (forward) & \symbol{train_moving_slow_forward.tikz} & \code{train_moving_slow_forward.tikz} & \texttt{vehicles} \\ - \hline - \No & train moving slow (backward) & \symbol{train_moving_slow_backward.tikz} & \code{train_moving_slow_backward.tikz} & \texttt{vehicles} \\ - \hline - \No & train moving fast (forward) & \symbol{train_moving_fast_forward.tikz} & \code{train_moving_fast_forward.tikz} & \texttt{vehicles} \\ - \hline - \No & train moving fast (backward) & \symbol{train_moving_fast_backward.tikz} & \code{train_moving_fast_backward.tikz} & \texttt{vehicles} \\ - \hline - \No & train ghost (direction forward) & \symbol{train_ghost_direction_forward.tikz} & \code{train_ghost_direction_forward.tikz} & \texttt{vehicles} \\ - \hline - \No & train ghost (direction backward)& \symbol{train_ghost_direction_backward.tikz} & \code{train_ghost_direction_backward.tikz} & \texttt{vehicles} \\ - \hline - \No & \parbox[c]{4cm}{train operated automatic\\(direction forward)} - & \symbol{train_drive_automatic.tikz} & \code{train_drive_automatic.tikz} & \texttt{vehicles} \\ - \hline - \No & \parbox[c]{4cm}{train operated by human\\(direction forward)} - & \symbol{train_drive_human.tikz} & \code{train_drive_human.tikz} & \texttt{vehicles} \\ - \hline - \No & train running over a junction & \symbol{bend_train.tikz} & \code{bend_train.tikz} & \texttt{vehicles} \\ - \hline - \No & distant signal (forward) & \symbol{distant_signal_forward.tikz} & \code{distant_signal_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & \parbox[c]{4cm}{distant signal\\with speed indicator} - & \symbol{distant_speed_signal_forward.tikz} & \code{distant_speed_signal_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & distant signal (backward) & \symbol{distant_signal_backward.tikz} & \code{distant_signal_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & \parbox[c]{4cm}{distant signal\\with speed indicator} - & \symbol{distant_speed_signal_backward.tikz} & \code{distant_speed_signal_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & speed signal (forward) & \symbol{speed_signal_forward.tikz} & \code{speed_signal_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & speed signal (backward) & \symbol{speed_signal_backward.tikz} & \code{speed_signal_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & block signal (forward) & \symbol{block_signal_forward.tikz} & \code{block_signal_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & block signal (backward) & \symbol{block_signal_backward.tikz} & \code{block_signal_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & route signal (forward) & \symbol{route_signal_forward.tikz} & \code{route_signal_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & route signal (backward) & \symbol{route_signal_backward.tikz} & \code{route_signal_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & \parbox[c]{4cm}{combined signal\\(distant, block and route signal)} - & \symbol{combined_signal_forward.tikz} & \code{combined_signal_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & shunt signal (forward) & \symbol{shunt_signal_forward.tikz} & \code{shunt_signal_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & shunt signal (backward) & \symbol{shunt_signal_backward.tikz} & \code{shunt_signal_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & shunt signal locked (forward) & \symbol{shunt_signal_forward_locked.tikz} & \code{shunt_signal_forward_locked.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & shunt signal locked (backward) & \symbol{shunt_signal_backward_locked.tikz} & \code{shunt_signal_backward_locked.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & shunt limit (forward) & \symbol{shunt_limit_forward.tikz} & \code{shunt_limit_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & shunt limit (backward) & \symbol{shunt_limit_backward.tikz} & \code{shunt_limit_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & view point (forward) & \symbol{view_point_forward.tikz} & \code{view_point_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & view point (backward) & \symbol{view_point_backward.tikz} & \code{view_point_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & braking point (forward) & \symbol{braking_point_forward.tikz} & \code{braking_point_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & braking point (backward) & \symbol{braking_point_backward.tikz} & \code{braking_point_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & end of movement authority (forward) - & \symbol{end_of_movement_authority_forward.tikz} & \code{end_of_movement_authority_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & end of movement authority (backward) - & \symbol{end_of_movement_authority_backward.tikz} & \code{end_of_movement_authority_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & danger point (forward) & \symbol{danger_point_forward.tikz} & \code{danger_point_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & danger point (backward) & \symbol{danger_point_backward.tikz} & \code{danger_point_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & route (forward \& backward) & \symbol{route.tikz} & \code{route.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & block clearing point (forward) & \symbol{block_clearing_point_forward.tikz} & \code{block_clearing_point_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & block clearing point (backward) & \symbol{block_clearing_point_backward.tikz} & \code{block_clearing_point_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & route clearing point (forward) & \symbol{route_clearing_point_forward.tikz} & \code{route_clearing_point_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & route clearing point (backward) & \symbol{route_clearing_point_backward.tikz} & \code{route_clearing_point_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & clearing point & \symbol{clearing_point.tikz} & \code{clearing_point.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & train berth sign (forward) & \symbol{train_berth_sign_forward.tikz} & \code{train_berth_sign_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & train berth sign (backward) & \symbol{train_berth_sign_backward.tikz} & \code{train_berth_sign_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & train berth & \symbol{train_berth.tikz} & \code{train_berth.tikz} & \parbox[c]{3cm}{\centering\texttt{trafficcontrol} \\ \& \\ \texttt{messures}} \\ - \hline - \No & transmitter (right \& left) & \symbol{transmitter.tikz} & \code{transmitter.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & \parbox[c]{4.5cm}{transmitter (right)\\with signal} - & \symbol{transmitter_right_with_signal.tikz} & \code{transmitter_right_with_signal.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & \parbox[c]{4.5cm}{transmitter (right \& left)\\ effective forward} - & \symbol{transmitter_forward.tikz} & \code{transmitter_forward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & \parbox[c]{4.5cm}{transmitter (right \& left)\\ effective backward} - & \symbol{transmitter_backward.tikz} & \code{transmitter_backward.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & \parbox[c]{4.5cm}{transmitter (right \& left)\\ effective bidirectional} - & \symbol{transmitter_bidirectional.tikz} & \code{transmitter_bidirectional.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & loop transmitter & \symbol{loop_transmitter.tikz} & \code{loop_transmitter.tikz} & \texttt{trafficcontrol} \\ - \hline - \No & platform (left) & \symbol{platform_left.tikz} & \code{platform_left.tikz} & \texttt{constructions} \\ - \hline - \No & platform (right) & \symbol{platform_right.tikz} & \code{platform_right.tikz} & \texttt{constructions} \\ - \hline - \No & platform (middle) & \symbol{platform_middle.tikz} & \code{platform_middle.tikz} & \texttt{constructions} \\ - \hline - \No & level crossing (single track) & \symbol{level_crossing_single.tikz} & \code{level_crossing_single.tikz} & \texttt{constructions} \\ - \hline - \No & level crossing (double track) & \symbol{level_crossing_double.tikz} & \code{level_crossing_double.tikz} & \texttt{constructions} \\ - \hline - \No & \parbox[c]{5cm}{level crossing (double track)\\with full closure} - & \symbol{level_crossing_double_full_closure.tikz} & \code{level_crossing_double_full_closure.tikz} & \texttt{constructions} \\ - \hline - \No & bridge & \symbol{bridge.tikz} & \code{bridge.tikz} & \texttt{constructions} \\ - \hline - \No & \parbox[c]{5cm}{bridge\\with track beneath} - & \symbol{bridge_track_beneath.tikz} & \code{bridge_track_beneath.tikz} & \texttt{constructions} \\ - \hline - \No & hump & \symbol{hump.tikz} & \code{hump.tikz} & \texttt{constructions} \\ - \hline - \No & interlocking & \symbol{interlocking.tikz} & \code{interlocking.tikz} & \texttt{constructions} \\ - \hline - \No & train berth shape & \symbol{train_berth_shape.tikz} & \code{train_berth_shape.tikz} & \texttt{messures} \\ - \hline - \No & train berth shape bidirectional & \symbol{train_berth_shape_bidirectional.tikz} & \code{train_berth_shape_bidirectional.tikz} & \texttt{messures} \\ - \hline - \No & train berth with special shape & \symbol{train_berth_shape_special.tikz} & \code{train_berth_shape_special.tikz} & \texttt{messures} \\ - \hline - \No & track distance (in \si{\metre}) & \symbol{track_distance.tikz} & \code{track_distance.tikz} & \texttt{messures} \\ - \hline - \No & hectometer (in \si{\kilo\metre}) & \symbol{hectometer.tikz} & \code{hectometer.tikz} & \texttt{messures} \\ - \hline - \end{longtable} +\begin{longtable}{|r|l|c|l|c|} +\hline +No. & Name & Clip & Code & Manual reference\\ +\endhead + +%%%%%%%%%%%%%%%% +%%% topology %%% +%%%%%%%%%%%%%%%% + +\hline +\No & main track & +\symbol{main_track.tikz} & \code{main_track.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:maintrack} p. \pageref{sym:maintrack}} \\ + +\hline +\No & main line (double track) & +\symbol{main_line.tikz} & \code{main_line.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:maintrack} p. \pageref{sym:maintrack}} \\ + +\hline +\No & secondary track & +\symbol{secondary_track.tikz} & \code{secondary_track.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:secondarytrack} p. \pageref{sym:secondarytrack}} \\ + +\hline +\No & track number & +\symbol{track_number.tikz} & \code{track_number.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:tracklabel} p. \pageref{sym:tracklabel}} \\ + +\hline +\No & bufferstop (forward) & +\symbol{bufferstop_forward.tikz} & \code{bufferstop_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:bufferstop} p. \pageref{sym:bufferstop}} \\ + +\hline +\No & bufferstop (backward) & +\symbol{bufferstop_backward.tikz} & \code{bufferstop_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:bufferstop} p. \pageref{sym:bufferstop}} \\ + +\hline +\No & friction bufferstop (forward) & +\symbol{friction_bufferstop_forward.tikz} & \code{friction_bufferstop_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:bufferstop} p. \pageref{sym:bufferstop}} \\ + +\hline +\No & friction bufferstop (backward) & +\symbol{friction_bufferstop_backward.tikz} & \code{friction_bufferstop_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:bufferstop} p. \pageref{sym:bufferstop}} \\ + +\hline +\No & track closure & +\symbol{track_closure.tikz} & \code{track_closure.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:trackclosure} p. \pageref{sym:trackclosure}} \\ + +%% turnouts %%% + +\hline +\No & turnout left (forward) & +\symbol{turnout_left_forward.tikz} & \code{turnout_left_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & turnout left (backward) & +\symbol{turnout_left_backward.tikz} & \code{turnout_left_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & turnout right (forward) & +\symbol{turnout_right_forward.tikz} & \code{turnout_right_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & turnout right (backward) & +\symbol{turnout_right_backward.tikz} & \code{turnout_right_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (forward)\\with fouling point indicator} & +\symbol{turnout_with_fouling_left_forward.tikz} & \code{turnout_with_fouling_left_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (backward)\\with fouling point indicator} & +\symbol{turnout_with_fouling_left_backward.tikz} & \code{turnout_with_fouling_left_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (forward)\\with fouling point indicator} & +\symbol{turnout_with_fouling_right_forward.tikz} & \code{turnout_with_fouling_right_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (backward)\\with fouling point indicator} & +\symbol{turnout_with_fouling_right_backward.tikz} & \code{turnout_with_fouling_right_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (forward)\\with points in right position} & +\symbol{turnout_left_forward_right_position.tikz} & \code{turnout_left_forward_right_position.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (forward)\\with points in left position} & +\symbol{turnout_left_forward_left_position.tikz} & \code{turnout_left_forward_left_position.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (forward)\\with moving points} & +\symbol{turnout_left_forward_moving_points.tikz} & \code{turnout_left_forward_moving_points.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (backward)\\with points in right position} & +\symbol{turnout_left_backward_right_position.tikz} & \code{turnout_left_backward_right_position.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (backward)\\with points in left position} & +\symbol{turnout_left_backward_left_position.tikz} & \code{turnout_left_backward_left_position.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (backward)\\with moving points} & +\symbol{turnout_left_backward_moving_points.tikz} & \code{turnout_left_backward_moving_points.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (forward)\\with points in right position} & +\symbol{turnout_right_forward_right_position.tikz} & \code{turnout_right_forward_right_position.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (forward)\\with points in left position} & +\symbol{turnout_right_forward_left_position.tikz} & \code{turnout_right_forward_left_position.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (forward)\\with moving points} & +\symbol{turnout_right_forward_moving_points.tikz} & \code{turnout_right_forward_moving_points.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (backward)\\with points in right position} & +\symbol{turnout_right_backward_right_position.tikz} & \code{turnout_right_backward_right_position.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (backward)\\with points in left position} & +\symbol{turnout_right_backward_left_position.tikz} & \code{turnout_right_backward_left_position.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (backward)\\with moving points} & +\symbol{turnout_right_backward_moving_points.tikz} & \code{turnout_right_backward_moving_points.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (forward)\\operated manually} & +\symbol{turnout_left_forward_manually.tikz} & \code{turnout_left_forward_manually.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (forward)\\operated manually} & +\symbol{turnout_right_forward_manually.tikz} & \code{turnout_right_forward_manually.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout left (backward)\\operated manually} & +\symbol{turnout_left_backward_manually.tikz} & \code{turnout_left_backward_manually.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & \parbox[c]{5cm}{turnout right (backward)\\operated manually} & +\symbol{turnout_right_backward_manually.tikz} & \code{turnout_right_backward_manually.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:turnouts} p. \pageref{sym:turnouts}} \\ + +\hline +\No & double-slip turnout left & +\symbol{double-slip_turnout_left.tikz} & \code{double-slip_turnout_left.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:slipturnout} p. \pageref{sym:slipturnout}} \\ + +\hline +\No & double-slip turnout right & +\symbol{double-slip_turnout_right.tikz} &\code{double-slip_turnout_right.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:slipturnout} p. \pageref{sym:slipturnout}} \\ + +\hline +\No & diamond crossing left& +\symbol{diamond_crossing_left.tikz} & \code{diamond_crossing_left.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:diamondcrossing} p. \pageref{sym:diamondcrossing}} \\ + +\hline +\No & diamond crossing right & +\symbol{diamond_crossing_right.tikz} & \code{diamond_crossing_right.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:diamondcrossing} p. \pageref{sym:diamondcrossing}} \\ + +\hline +\No & derailer left (forward) & +\symbol{derailer_left_forward.tikz} & \code{derailer_left_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:derailer} p. \pageref{sym:derailer}} \\ + +\hline +\No & derailer left (backward) & +\symbol{derailer_left_backward.tikz} & \code{derailer_left_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:derailer} p. \pageref{sym:derailer}} \\ + +\hline +\No & derailer right (forward) & +\symbol{derailer_right_forward.tikz} & \code{derailer_right_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:derailer} p. \pageref{sym:derailer}} \\ + +\hline +\No & derailer right (backward) & +\symbol{derailer_right_backward.tikz} & \code{derailer_right_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{topology} \\ Section \ref{sym:derailer} p. \pageref{sym:derailer}} \\ + +%%%%%%%%%%%%%%%% +%%% vehicles %%% +%%%%%%%%%%%%%%%% + +\hline +\No & vehicles (parked) & +\symbol{parked_vehicles.tikz} & \code{parked_vehicles.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:parkedvehicles} p. \pageref{sym:parkedvehicles}} \\ + +\hline +\No & vehicles with label (parked) & +\symbol{parked_vehicles_with_label.tikz} & \code{parked_vehicles_with_label.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:parkedvehicles} p. \pageref{sym:parkedvehicles}} \\ + +\hline +\No & vehicle (parked) & +\symbol{parked_vehicle.tikz} & \code{parked_vehicle.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:parkedvehicles} p. \pageref{sym:parkedvehicles}} \\ + +\hline +\No & \parbox[c]{4cm}{train in shunting mode\\(direction forward)} & +\symbol{train_shunt_mode_forward.tikz} & \code{train_shunt_mode_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trainshunting} p. \pageref{sym:trainshunting}} \\ + +\hline +\No & \parbox[c]{4cm}{train in shunting mode\\(direction backward)} & +\symbol{train_shunt_mode_backward.tikz} & \code{train_shunt_mode_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trainshunting} p. \pageref{sym:trainshunting}} \\ + +\hline +\No & train shunting (forward) & +\symbol{train_shunting_forward.tikz} & \code{train_shunting_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trainshunting} p. \pageref{sym:trainshunting}} \\ + +\hline +\No & train shunting (backward) & +\symbol{train_shunting_backward.tikz} & \code{train_shunting_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trainshunting} p. \pageref{sym:trainshunting}} \\ + +\hline +\No & train (direction forward) & +\symbol{train_direction_forward.tikz} & \code{train_direction_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train (direction backward) & +\symbol{train_direction_backward.tikz} & \code{train_direction_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train moving (forward) & +\symbol{train_moving_forward.tikz} & \code{train_moving_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train moving (backward) & +\symbol{train_moving_backward.tikz} & \code{train_moving_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train moving slow (forward) & +\symbol{train_moving_slow_forward.tikz} & \code{train_moving_slow_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train moving slow (backward) & +\symbol{train_moving_slow_backward.tikz} & \code{train_moving_slow_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train moving fast (forward) & +\symbol{train_moving_fast_forward.tikz} & \code{train_moving_fast_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train moving fast (backward) & +\symbol{train_moving_fast_backward.tikz} & \code{train_moving_fast_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train ghost (direction forward) & +\symbol{train_ghost_direction_forward.tikz} & \code{train_ghost_direction_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train ghost (direction backward) & +\symbol{train_ghost_direction_backward.tikz} & \code{train_ghost_direction_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & \parbox[c]{4cm}{train operated automatic\\(direction forward)} & +\symbol{train_drive_automatic.tikz} & \code{train_drive_automatic.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & \parbox[c]{4cm}{train operated by human\\(direction forward)} & +\symbol{train_drive_human.tikz} & \code{train_drive_human.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +\hline +\No & train running over a junction& +\symbol{bend_train.tikz} & \code{bend_train.tikz} & +\parbox[c]{4cm}{\centering\texttt{vehicles} \\ Section \ref{sym:trains} p. \pageref{sym:trains}} \\ + +%%%%%%%%%%%%%%%%%%%%%% +%%% trafficcontrol %%% +%%%%%%%%%%%%%%%%%%%%%% + +\hline +\No & distant signal (forward) & +\symbol{distant_signal_forward.tikz} & \code{distant_signal_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:distantsignal} p. \pageref{sym:distantsignal}} \\ + +\hline +\No & \parbox[c]{4cm}{distant signal\\with speed indicator} & +\symbol{distant_speed_signal_forward.tikz} & \code{distant_speed_signal_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:distantsignal} p. \pageref{sym:distantsignal}} \\ + +\hline +\No & distant signal (backward) & +\symbol{distant_signal_backward.tikz} & \code{distant_signal_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:distantsignal} p. \pageref{sym:distantsignal}} \\ + +\hline +\No & \parbox[c]{4cm}{distant signal\\with speed indicator} & +\symbol{distant_speed_signal_backward.tikz} & \code{distant_speed_signal_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:distantsignal} p. \pageref{sym:distantsignal}} \\ + +\hline +\No & speed signal (forward) & +\symbol{speed_signal_forward.tikz} & \code{speed_signal_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:speedsignal} p. \pageref{sym:speedsignal}} \\ + +\hline +\No & speed signal (backward) & +\symbol{speed_signal_backward.tikz} & \code{speed_signal_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:speedsignal} p. \pageref{sym:speedsignal}} \\ + +\hline +\No & block signal (forward) & +\symbol{block_signal_forward.tikz} & \code{block_signal_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:blocksignal} p. \pageref{sym:blocksignal}} \\ + +\hline +\No & block signal (backward) & +\symbol{block_signal_backward.tikz} & \code{block_signal_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:blocksignal} p. \pageref{sym:blocksignal}} \\ + +\hline +\No & route signal (forward) & +\symbol{route_signal_forward.tikz} & \code{route_signal_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:routesignal} p. \pageref{sym:routesignal}} \\ + +\hline +\No & route signal (backward) & +\symbol{route_signal_backward.tikz} & \code{route_signal_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:routesignal} p. \pageref{sym:routesignal}} \\ + +\hline +\No & \parbox[c]{4cm}{combined signal\\(distant, block and route signal)} & +\symbol{combined_signal_forward.tikz} & \code{combined_signal_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:signals} p. \pageref{sym:signals}} \\ + +\hline +\No & shunt signal (forward) & +\symbol{shunt_signal_forward.tikz} & \code{shunt_signal_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:shuntsignal} p. \pageref{sym:shuntsignal}} \\ + +\hline +\No & shunt signal (backward) & +\symbol{shunt_signal_backward.tikz} & \code{shunt_signal_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:shuntsignal} p. \pageref{sym:shuntsignal}} \\ + +\hline +\No & shunt signal locked (forward) & +\symbol{shunt_signal_forward_locked.tikz} & \code{shunt_signal_forward_locked.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:shuntsignal} p. \pageref{sym:shuntsignal}} \\ + +\hline +\No & shunt signal locked (backward) & +\symbol{shunt_signal_backward_locked.tikz} & \code{shunt_signal_backward_locked.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:shuntsignal} p. \pageref{sym:shuntsignal}} \\ + +\hline +\No & block and shunt signal (forward) & +\symbol{block_signal_with_shunt_signal_forward.tikz} & \code{block_signal_with_shunt_signal_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:signals} p. \pageref{sym:signals}} \\ + +\hline +\No & block and shunt signal (backward) & +\symbol{block_signal_with_shunt_signal_backward.tikz} & \code{block_signal_with_shunt_signal_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:signals} p. \pageref{sym:signals}} \\ + +\hline +\No & route and shunt signal (forward) & +\symbol{route_signal_with_shunt_signal_forward.tikz} & \code{route_signal_with_shunt_signal_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:signals} p. \pageref{sym:signals}} \\ + +\hline +\No & route and shunt signal (backward) & +\symbol{route_signal_with_shunt_signal_backward.tikz} & \code{route_signal_with_shunt_signal_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:signals} p. \pageref{sym:signals}} \\ + +\hline +\No & shunt limit (forward) & +\symbol{shunt_limit_forward.tikz} & \code{shunt_limit_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:shuntlimit} p. \pageref{sym:shuntlimit}} \\ + +\hline +\No & shunt limit (backward) & +\symbol{shunt_limit_backward.tikz} & \code{shunt_limit_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:shuntlimit} p. \pageref{sym:shuntlimit}} \\ + +\hline +\No & train berth sign (forward) & +\symbol{train_berth_sign_forward.tikz} & \code{train_berth_sign_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:berthsign} p. \pageref{sym:berthsign}} \\ + +\hline +\No & train berth sign (backward) & +\symbol{train_berth_sign_backward.tikz} & \code{train_berth_sign_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:berthsign} p. \pageref{sym:berthsign}} \\ + +\hline +\No & train berth & +\symbol{train_berth.tikz} & \code{train_berth.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:berthsign} p. \pageref{sym:berthsign} \\ \& \\ \texttt{measures} \\ Section \ref{sym:trainberth} p. \pageref{sym:trainberth}} \\ + +%% locations %% + +\hline +\No & view point (forward) & +\symbol{view_point_forward.tikz} & \code{view_point_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:viewpoint} p. \pageref{sym:viewpoint}} \\ + +\hline +\No & view point (backward) & +\symbol{view_point_backward.tikz} & \code{view_point_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:viewpoint} p. \pageref{sym:viewpoint}} \\ + +\hline +\No & braking point (forward) & +\symbol{braking_point_forward.tikz} & \code{braking_point_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:brakingpoint} p. \pageref{sym:brakingpoint}} \\ + +\hline +\No & braking point (backward) & +\symbol{braking_point_backward.tikz} & \code{braking_point_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:brakingpoint} p. \pageref{sym:brakingpoint}} \\ + +\hline +\No & end of movement authority (forward) & +\symbol{end_of_movement_authority_forward.tikz} & \code{end_of_movement_authority_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:endofauthority} p. \pageref{sym:endofauthority}} \\ + +\hline +\No & end of movement authority (backward) & +\symbol{end_of_movement_authority_backward.tikz} & \code{end_of_movement_authority_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:endofauthority} p. \pageref{sym:endofauthority}} \\ + +\hline +\No & danger point (forward) & +\symbol{danger_point_forward.tikz} & \code{danger_point_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:dangerpoint} p. \pageref{sym:dangerpoint}} \\ + +\hline +\No & danger point (backward) & +\symbol{danger_point_backward.tikz} & \code{danger_point_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:dangerpoint} p. \pageref{sym:dangerpoint}} \\ + +%% clearing points %% + +\hline +\No & clearing point & +\symbol{clearing_point.tikz} & \code{clearing_point.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:clearingpoint} p. \pageref{sym:clearingpoint}} \\ + +\hline +\No & block clearing point (forward) & +\symbol{block_clearing_point_forward.tikz} & \code{block_clearing_point_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:blockclearingpoint} p. \pageref{sym:blockclearingpoint}} \\ + +\hline +\No & block clearing point (backward) & +\symbol{block_clearing_point_backward.tikz} & \code{block_clearing_point_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:blockclearingpoint} p. \pageref{sym:blockclearingpoint}} \\ + +\hline +\No & route clearing point (forward) & +\symbol{route_clearing_point_forward.tikz} & \code{route_clearing_point_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:routeclearingpoint} p. \pageref{sym:routeclearingpoint}} \\ + +\hline +\No & route clearing point (backward) & +\symbol{route_clearing_point_backward.tikz} & \code{route_clearing_point_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:routeclearingpoint} p. \pageref{sym:routeclearingpoint}} \\ + +%% routes %% + +\hline +\No & route (forward \& backward) & +\symbol{route.tikz} & \code{route.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:route} p. \pageref{sym:route}} \\ + +\hline +\No & direction control& +\symbol{direction_control.tikz} & \code{direction_control.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:directioncontrol} p. \pageref{sym:directioncontrol}} \\ + +\hline +\No & \parbox[c]{5cm}{direction control\\granted forward} & +\symbol{direction_control_forward.tikz} & \code{direction_control_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:directioncontrol} p. \pageref{sym:directioncontrol}} \\ + +\hline +\No & \parbox[c]{5cm}{direction control\\granted backward} & +\symbol{direction_control_backward.tikz} & \code{direction_control_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:directioncontrol} p. \pageref{sym:directioncontrol}} \\ + +%% transmitter %% + +\hline +\No & transmitter (right \& left) & +\symbol{transmitter.tikz} & \code{transmitter.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:generictransmitter} p. \pageref{sym:generictransmitter}} \\ + +\hline +\No & \parbox[c]{5cm}{transmitter (right)\\with signal} & +\symbol{transmitter_right_with_signal.tikz} & \code{transmitter_right_with_signal.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:generictransmitter} p. \pageref{sym:generictransmitter} \\ \& \\ Section \ref{sym:routesignal} p. \pageref{sym:routesignal}} \\ + +\hline +\No & \parbox[c]{5cm}{transmitter (right \& left)\\ effective forward} & +\symbol{transmitter_forward.tikz} & \code{transmitter_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:balise} p. \pageref{sym:balise}} \\ + +\hline +\No & \parbox[c]{5cm}{transmitter (right \& left)\\ effective backward} & +\symbol{transmitter_backward.tikz} & \code{transmitter_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:balise} p. \pageref{sym:balise}} \\ + +\hline +\No & \parbox[c]{5cm}{transmitter (right \& left)\\ effective bidirectional} & +\symbol{transmitter_bidirectional.tikz} & \code{transmitter_bidirectional.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:balise} p. \pageref{sym:balise}} \\ + +\hline +\No & loop transmitter& +\symbol{loop_transmitter.tikz} & \code{loop_transmitter.tikz} & +\parbox[c]{4cm}{\centering\texttt{trafficcontrol} \\ Section \ref{sym:loop} p. \pageref{sym:loop}} \\ + +%%%%%%%%%%%%%%%%%%%%% +%%% constructions %%% +%%%%%%%%%%%%%%%%%%%%% + +\hline +\No & platform (left) & +\symbol{platform_left.tikz} & \code{platform_left.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:platform} p. \pageref{sym:platform}} \\ + +\hline +\No & platform (right) & +\symbol{platform_right.tikz} & \code{platform_right.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:platform} p. \pageref{sym:platform}} \\ + +\hline +\No & platform (middle) & +\symbol{platform_middle.tikz} & \code{platform_middle.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:platform} p. \pageref{sym:platform}} \\ + +\hline +\No & level crossing (single track) & +\symbol{level_crossing_single.tikz} & \code{level_crossing_single.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:levelcrossing} p. \pageref{sym:levelcrossing}} \\ + +\hline +\No & \parbox[c]{5cm}{level crossing (secondary track)\\without barrier} & +\symbol{level_crossing_without_barrier.tikz} & \code{level_crossing_without_barrier.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:levelcrossing} p. \pageref{sym:levelcrossing}} \\ + +\hline +\No & level crossing (double track) & +\symbol{level_crossing_double.tikz} & \code{level_crossing_double.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:levelcrossing} p. \pageref{sym:levelcrossing}} \\ + +\hline +\No & \parbox[c]{5cm}{level crossing (double track)\\with full closure} & +\symbol{level_crossing_double_full_closure.tikz} & \code{level_crossing_double_full_closure.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:levelcrossing} p. \pageref{sym:levelcrossing}} \\ + +\hline +\No & bridge & +\symbol{bridge.tikz} & \code{bridge.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:bridge} p. \pageref{sym:bridge}} \\ + +\hline +\No & \parbox[c]{5cm}{bridge\\with track beneath} & +\symbol{bridge_track_beneath.tikz} & \code{bridge_track_beneath.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:bridge} p. \pageref{sym:bridge}} \\ + +\hline +\No & interlocking& +\symbol{interlocking.tikz} & \code{interlocking.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:interlocking} p. \pageref{sym:interlocking}} \\ + +\hline +\No & hump& +\symbol{hump.tikz} & \code{hump.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:hump} p. \pageref{sym:hump}} \\ + +\hline +\No & pylons (right)& +\symbol{pylons_right.tikz} & \code{pylons_right.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:pylon} p. \pageref{sym:pylon}} \\ + +\hline +\No & pylons (left)& +\symbol{pylons_left.tikz} & \code{pylons_left.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:pylon} p. \pageref{sym:pylon}} \\ + +\hline +\No & pylons (both sides)& +\symbol{pylons_both.tikz} & \code{pylons_both.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:pylon} p. \pageref{sym:pylon}} \\ + +\hline +\No & pylons (middle)& +\symbol{pylons_middle.tikz} & \code{pylons_middle.tikz} & +\parbox[c]{4cm}{\centering\texttt{constructions} \\ Section \ref{sym:pylon} p. \pageref{sym:pylon}} \\ + +%%%%%%%%%%%%%%%%% +%%% electrics %%% +%%%%%%%%%%%%%%%%% + +\hline +\No & distant power off (forward)& +\symbol{distant_power_off_forward.tikz} & \code{distant_power_off_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:distantpoweroff} p. \pageref{sym:distantpoweroff}} \\ + +\hline +\No & distant power off (backward)& +\symbol{distant_power_off_backward.tikz} & \code{distant_power_off_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:distantpoweroff} p. \pageref{sym:distantpoweroff}} \\ + +\hline +\No & power off (forward)& +\symbol{power_off_forward.tikz} & \code{power_off_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:poweroff} p. \pageref{sym:poweroff}} \\ + +\hline +\No & power off (backward)& +\symbol{power_off_backward.tikz} & \code{power_off_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:poweroff} p. \pageref{sym:poweroff}} \\ + +\hline +\No & power on (forward)& +\symbol{power_on_forward.tikz} & \code{power_on_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:poweron} p. \pageref{sym:poweron}} \\ + +\hline +\No & power on (backward)& +\symbol{power_on_backward.tikz} & \code{power_on_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:poweron} p. \pageref{sym:poweron}} \\ + +\hline +\No & distant pantograph down (forward)& +\symbol{distant_pantograph_down_forward.tikz} & \code{distant_pantograph_down_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:distantpantographdown} p. \pageref{sym:distantpantographdown}} \\ + +\hline +\No & distant pantograph down (backward)& +\symbol{distant_pantograph_down_backward.tikz} & \code{distant_pantograph_down_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:distantpantographdown} p. \pageref{sym:distantpantographdown}} \\ + +\hline +\No & pantograph down (forward)& +\symbol{pantograph_down_forward.tikz} & \code{pantograph_down_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:pantographdown} p. \pageref{sym:pantographdown}} \\ + +\hline +\No & pantograph down (backward)& +\symbol{pantograph_down_backward.tikz} & \code{pantograph_down_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:pantographdown} p. \pageref{sym:pantographdown}} \\ + +\hline +\No & pantograph up (forward)& +\symbol{pantograph_up_forward.tikz} & \code{pantograph_up_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:pantographup} p. \pageref{sym:pantographup}} \\ + +\hline +\No & pantograph up (backward)& +\symbol{pantograph_up_backward.tikz} & \code{pantograph_up_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:pantographup} p. \pageref{sym:pantographup}} \\ + +\hline +\No & wire limit (forward)& +\symbol{wire_limit_forward.tikz} & \code{wire_limit_forward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:wirelimit} p. \pageref{sym:wirelimit}} \\ + +\hline +\No & wire limit (backward)& +\symbol{wire_limit_backward.tikz} & \code{wire_limit_backward.tikz} & +\parbox[c]{4cm}{\centering\texttt{electrics} \\ Section \ref{sym:wirelimit} p. \pageref{sym:wirelimit}} \\ + +%%%%%%%%%%%%%%%% +%%% measures %%% +%%%%%%%%%%%%%%%% + +\hline +\No & track distance (in \si{\metre}) & +\symbol{track_distance.tikz} & \code{track_distance.tikz} & +\parbox[c]{4cm}{\centering\texttt{measures} \\ Section \ref{sym:trackdistance} p. \pageref{sym:trackdistance}} \\ + +\hline +\No & train berth shape & +\symbol{train_berth_shape.tikz} & \code{train_berth_shape.tikz} & +\parbox[c]{4cm}{\centering\texttt{measures} \\ Section \ref{sym:trainberth} p. \pageref{sym:trainberth}} \\ + +\hline +\No & train berth shape bidirectional & +\symbol{train_berth_shape_bidirectional.tikz} & \code{train_berth_shape_bidirectional.tikz} & +\parbox[c]{4cm}{\centering\texttt{measures} \\ Section \ref{sym:trainberth} p. \pageref{sym:trainberth}} \\ + +\hline +\No & train berth with special shape & +\symbol{train_berth_shape_special.tikz} & \code{train_berth_shape_special.tikz} & +\parbox[c]{4cm}{\centering\texttt{measures} \\ Section \ref{sym:trainberth} p. \pageref{sym:trainberth}} \\ + +\hline +\No & measure line & +\symbol{measure_line.tikz} & \code{measure_line.tikz} & +\parbox[c]{4cm}{\centering\texttt{measures} \\ Section \ref{sym:measureline} p. \pageref{sym:measureline}} \\ + +\hline +\No & hectometer (in \si{\kilo\metre}) & +\symbol{hectometer.tikz} & \code{hectometer.tikz} & +\parbox[c]{4cm}{\centering\texttt{measures} \\ Section \ref{sym:hectometer} p. \pageref{sym:hectometer}} \\ + +\hline +\No & measure line with hectometer (in \si{\kilo\metre}) & +\symbol{measure_line_with_hectometer.tikz} & \code{measure_line_with_hectometer.tikz} & +\parbox[c]{4cm}{\centering\texttt{measures} \\ Section \ref{sym:hectometer} p. \pageref{sym:hectometer}} \\ + +\hline +\No & track marking & +\symbol{track_marking.tikz} & \code{track_marking.tikz} & +\parbox[c]{4cm}{\centering\texttt{measures} \\ Section \ref{sym:trackmarking} p. \pageref{sym:trackmarking}} \\ + +\hline +\No & track marking with turnout& +\symbol{track_marking_with_turnout.tikz} & \code{track_marking_with_turnout.tikz} & +\parbox[c]{4cm}{\centering\texttt{measures} \\ Section \ref{sym:trackmarking} p. \pageref{sym:trackmarking}} \\ + +\hline +\end{longtable} +\input{versionhistory.tex} \end{document} \ No newline at end of file diff --git a/doc/snippets/bend_train.tikz b/doc/snippets/bend_train.tikz index 29fe377..bd02003 100644 --- a/doc/snippets/bend_train.tikz +++ b/doc/snippets/bend_train.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A1) at (0 ,-0.5); diff --git a/doc/snippets/block_clearing_point_backward.tikz b/doc/snippets/block_clearing_point_backward.tikz index 453886a..3aa71d6 100644 --- a/doc/snippets/block_clearing_point_backward.tikz +++ b/doc/snippets/block_clearing_point_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/block_clearing_point_forward.tikz b/doc/snippets/block_clearing_point_forward.tikz index d8e6975..d096bf2 100644 --- a/doc/snippets/block_clearing_point_forward.tikz +++ b/doc/snippets/block_clearing_point_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/block_signal_backward.tikz b/doc/snippets/block_signal_backward.tikz index 9c6c472..3506932 100644 --- a/doc/snippets/block_signal_backward.tikz +++ b/doc/snippets/block_signal_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/block_signal_forward.tikz b/doc/snippets/block_signal_forward.tikz index c3dfda7..1fd9ba0 100644 --- a/doc/snippets/block_signal_forward.tikz +++ b/doc/snippets/block_signal_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/block_signal_with_shunt_signal_backward.tikz b/doc/snippets/block_signal_with_shunt_signal_backward.tikz new file mode 100644 index 0000000..2e951a1 --- /dev/null +++ b/doc/snippets/block_signal_with_shunt_signal_backward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (S) at (3,0); + +\maintrack (A) -- (B); + +\signal[block,shunting,backward] at (S) label (S1); \ No newline at end of file diff --git a/doc/snippets/block_signal_with_shunt_signal_forward.tikz b/doc/snippets/block_signal_with_shunt_signal_forward.tikz new file mode 100644 index 0000000..c54dbc5 --- /dev/null +++ b/doc/snippets/block_signal_with_shunt_signal_forward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (S) at (3,0); + +\maintrack (A) -- (B); + +\signal[block,shunting,forward] at (S) label (S1); \ No newline at end of file diff --git a/doc/snippets/braking_point_backward.tikz b/doc/snippets/braking_point_backward.tikz index 72803b2..8efb383 100644 --- a/doc/snippets/braking_point_backward.tikz +++ b/doc/snippets/braking_point_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/braking_point_forward.tikz b/doc/snippets/braking_point_forward.tikz index da34026..17486f0 100644 --- a/doc/snippets/braking_point_forward.tikz +++ b/doc/snippets/braking_point_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/bridge.tikz b/doc/snippets/bridge.tikz index 5abb929..b1e63e7 100644 --- a/doc/snippets/bridge.tikz +++ b/doc/snippets/bridge.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/bridge_track_beneath.tikz b/doc/snippets/bridge_track_beneath.tikz index 1682b4b..eeca75f 100644 --- a/doc/snippets/bridge_track_beneath.tikz +++ b/doc/snippets/bridge_track_beneath.tikz @@ -1,8 +1,9 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + \coordinate (A1) at (0, 0); \coordinate (B1) at (6, 0); \coordinate (A2) at (2,-1); diff --git a/doc/snippets/bufferstop_backward.tikz b/doc/snippets/bufferstop_backward.tikz index 1423cd7..fbe5ad7 100644 --- a/doc/snippets/bufferstop_backward.tikz +++ b/doc/snippets/bufferstop_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (3,0); diff --git a/doc/snippets/bufferstop_forward.tikz b/doc/snippets/bufferstop_forward.tikz index 13c6f12..b7c20d3 100644 --- a/doc/snippets/bufferstop_forward.tikz +++ b/doc/snippets/bufferstop_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/clearing_point.tikz b/doc/snippets/clearing_point.tikz index 3a6f979..fa524de 100644 --- a/doc/snippets/clearing_point.tikz +++ b/doc/snippets/clearing_point.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/combined_signal_forward.tikz b/doc/snippets/combined_signal_forward.tikz index ca1ae29..079672c 100644 --- a/doc/snippets/combined_signal_forward.tikz +++ b/doc/snippets/combined_signal_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/danger_point_backward.tikz b/doc/snippets/danger_point_backward.tikz index a8a4905..76e131e 100644 --- a/doc/snippets/danger_point_backward.tikz +++ b/doc/snippets/danger_point_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/danger_point_forward.tikz b/doc/snippets/danger_point_forward.tikz index 73d2bba..04a8965 100644 --- a/doc/snippets/danger_point_forward.tikz +++ b/doc/snippets/danger_point_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/derailer_left_backward.tikz b/doc/snippets/derailer_left_backward.tikz index 1f7b05a..1037860 100644 --- a/doc/snippets/derailer_left_backward.tikz +++ b/doc/snippets/derailer_left_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/derailer_left_forward.tikz b/doc/snippets/derailer_left_forward.tikz index bdb78bc..bb4f3e8 100644 --- a/doc/snippets/derailer_left_forward.tikz +++ b/doc/snippets/derailer_left_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/derailer_right_backward.tikz b/doc/snippets/derailer_right_backward.tikz index 854c923..c3f8eb1 100644 --- a/doc/snippets/derailer_right_backward.tikz +++ b/doc/snippets/derailer_right_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/derailer_right_forward.tikz b/doc/snippets/derailer_right_forward.tikz index 4f69e50..40151d7 100644 --- a/doc/snippets/derailer_right_forward.tikz +++ b/doc/snippets/derailer_right_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/diamond_crossing_left.tikz b/doc/snippets/diamond_crossing_left.tikz index 64779a7..7c87fc1 100644 --- a/doc/snippets/diamond_crossing_left.tikz +++ b/doc/snippets/diamond_crossing_left.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/diamond_crossing_right.tikz b/doc/snippets/diamond_crossing_right.tikz index 7ab523e..f75c024 100644 --- a/doc/snippets/diamond_crossing_right.tikz +++ b/doc/snippets/diamond_crossing_right.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/direction_control.tikz b/doc/snippets/direction_control.tikz new file mode 100644 index 0000000..7d9b9ab --- /dev/null +++ b/doc/snippets/direction_control.tikz @@ -0,0 +1,12 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (DC) at (3,0); +\coordinate (B) at (6,0); + +\maintrack (A) -- (B); +\directioncontrol[bidirectional] at (DC); \ No newline at end of file diff --git a/doc/snippets/direction_control_backward.tikz b/doc/snippets/direction_control_backward.tikz new file mode 100644 index 0000000..db99331 --- /dev/null +++ b/doc/snippets/direction_control_backward.tikz @@ -0,0 +1,12 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (DC) at (3,0); +\coordinate (B) at (6,0); + +\maintrack (A) -- (B); +\directioncontrol[backward] at (DC); \ No newline at end of file diff --git a/doc/snippets/direction_control_forward.tikz b/doc/snippets/direction_control_forward.tikz new file mode 100644 index 0000000..c601064 --- /dev/null +++ b/doc/snippets/direction_control_forward.tikz @@ -0,0 +1,12 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (DC) at (3,0); +\coordinate (B) at (6,0); + +\maintrack (A) -- (B); +\directioncontrol[forward] at (DC); \ No newline at end of file diff --git a/doc/snippets/distant_pantograph_down_backward.tikz b/doc/snippets/distant_pantograph_down_backward.tikz new file mode 100644 index 0000000..3cbfc2a --- /dev/null +++ b/doc/snippets/distant_pantograph_down_backward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\distantpantographdown[backward] at (E) label (dP); \ No newline at end of file diff --git a/doc/snippets/distant_pantograph_down_forward.tikz b/doc/snippets/distant_pantograph_down_forward.tikz new file mode 100644 index 0000000..0b9cb89 --- /dev/null +++ b/doc/snippets/distant_pantograph_down_forward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\distantpantographdown[forward] at (E) label (dP); \ No newline at end of file diff --git a/doc/snippets/distant_power_off_backward.tikz b/doc/snippets/distant_power_off_backward.tikz new file mode 100644 index 0000000..9242df8 --- /dev/null +++ b/doc/snippets/distant_power_off_backward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\distantpoweroff[backward] at (E) label (dP); \ No newline at end of file diff --git a/doc/snippets/distant_power_off_forward.tikz b/doc/snippets/distant_power_off_forward.tikz new file mode 100644 index 0000000..cbe33e7 --- /dev/null +++ b/doc/snippets/distant_power_off_forward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\distantpoweroff[forward] at (E) label (dP); \ No newline at end of file diff --git a/doc/snippets/distant_signal_backward.tikz b/doc/snippets/distant_signal_backward.tikz index 4a5ff79..4443311 100644 --- a/doc/snippets/distant_signal_backward.tikz +++ b/doc/snippets/distant_signal_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/distant_signal_forward.tikz b/doc/snippets/distant_signal_forward.tikz index 93b4a78..ae9cced 100644 --- a/doc/snippets/distant_signal_forward.tikz +++ b/doc/snippets/distant_signal_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/distant_speed_signal_backward.tikz b/doc/snippets/distant_speed_signal_backward.tikz index 0f8c179..dd2fb30 100644 --- a/doc/snippets/distant_speed_signal_backward.tikz +++ b/doc/snippets/distant_speed_signal_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/distant_speed_signal_forward.tikz b/doc/snippets/distant_speed_signal_forward.tikz index 7d816ae..8812c7c 100644 --- a/doc/snippets/distant_speed_signal_forward.tikz +++ b/doc/snippets/distant_speed_signal_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/double-slip_turnout_left.tikz b/doc/snippets/double-slip_turnout_left.tikz index 623bcdd..3dd03bf 100644 --- a/doc/snippets/double-slip_turnout_left.tikz +++ b/doc/snippets/double-slip_turnout_left.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/double-slip_turnout_right.tikz b/doc/snippets/double-slip_turnout_right.tikz index adf5b30..fec0b16 100644 --- a/doc/snippets/double-slip_turnout_right.tikz +++ b/doc/snippets/double-slip_turnout_right.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/end_of_movement_authority_backward.tikz b/doc/snippets/end_of_movement_authority_backward.tikz index 9e36abe..65d1bfe 100644 --- a/doc/snippets/end_of_movement_authority_backward.tikz +++ b/doc/snippets/end_of_movement_authority_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/end_of_movement_authority_forward.tikz b/doc/snippets/end_of_movement_authority_forward.tikz index 81ec5fd..2b28969 100644 --- a/doc/snippets/end_of_movement_authority_forward.tikz +++ b/doc/snippets/end_of_movement_authority_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/friction_bufferstop_backward.tikz b/doc/snippets/friction_bufferstop_backward.tikz index e1bbbef..373d197 100644 --- a/doc/snippets/friction_bufferstop_backward.tikz +++ b/doc/snippets/friction_bufferstop_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (3,0); diff --git a/doc/snippets/friction_bufferstop_forward.tikz b/doc/snippets/friction_bufferstop_forward.tikz index a16d755..4ba843c 100644 --- a/doc/snippets/friction_bufferstop_forward.tikz +++ b/doc/snippets/friction_bufferstop_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/hectometer.tikz b/doc/snippets/hectometer.tikz index c78deee..caeb057 100644 --- a/doc/snippets/hectometer.tikz +++ b/doc/snippets/hectometer.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/hump.tikz b/doc/snippets/hump.tikz index cfa61e6..0122632 100644 --- a/doc/snippets/hump.tikz +++ b/doc/snippets/hump.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/interlocking.tikz b/doc/snippets/interlocking.tikz index dacf709..7346a6b 100644 --- a/doc/snippets/interlocking.tikz +++ b/doc/snippets/interlocking.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (I) at (3,0); diff --git a/doc/snippets/level_crossing_double.tikz b/doc/snippets/level_crossing_double.tikz index 3f275c3..cbd0744 100644 --- a/doc/snippets/level_crossing_double.tikz +++ b/doc/snippets/level_crossing_double.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A1) at (0,-0.5); diff --git a/doc/snippets/level_crossing_double_full_closure.tikz b/doc/snippets/level_crossing_double_full_closure.tikz index 7ad136b..41168ed 100644 --- a/doc/snippets/level_crossing_double_full_closure.tikz +++ b/doc/snippets/level_crossing_double_full_closure.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A1) at (0,-0.5); diff --git a/doc/snippets/level_crossing_single.tikz b/doc/snippets/level_crossing_single.tikz index 298320b..c8cebd0 100644 --- a/doc/snippets/level_crossing_single.tikz +++ b/doc/snippets/level_crossing_single.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/level_crossing_without_barrier.tikz b/doc/snippets/level_crossing_without_barrier.tikz new file mode 100644 index 0000000..a9317f2 --- /dev/null +++ b/doc/snippets/level_crossing_without_barrier.tikz @@ -0,0 +1,12 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (X) at (3,0); + +\secondarytrack (A) -- (B); +\levelcrossing[] at (X); \ No newline at end of file diff --git a/doc/snippets/loop_transmitter.tikz b/doc/snippets/loop_transmitter.tikz index 981d519..c87d91a 100644 --- a/doc/snippets/loop_transmitter.tikz +++ b/doc/snippets/loop_transmitter.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/main_line.tikz b/doc/snippets/main_line.tikz index 02a9d0b..531e070 100644 --- a/doc/snippets/main_line.tikz +++ b/doc/snippets/main_line.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A1) at (0,-0.5); diff --git a/doc/snippets/main_track.tikz b/doc/snippets/main_track.tikz index 755cfdd..bc6cdb8 100644 --- a/doc/snippets/main_track.tikz +++ b/doc/snippets/main_track.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/messure_line.tikz b/doc/snippets/measure_line.tikz similarity index 71% rename from doc/snippets/messure_line.tikz rename to doc/snippets/measure_line.tikz index 7e63a87..53e7cf6 100644 --- a/doc/snippets/messure_line.tikz +++ b/doc/snippets/measure_line.tikz @@ -1,10 +1,12 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); \coordinate (B) at (6,0); -\messureline (A) -- (B); \ No newline at end of file +\measureline (A) -- (B); +\trackclosure at (A); +\trackclosure at (B); \ No newline at end of file diff --git a/doc/snippets/measure_line_with_hectometer.tikz b/doc/snippets/measure_line_with_hectometer.tikz new file mode 100644 index 0000000..fd8c626 --- /dev/null +++ b/doc/snippets/measure_line_with_hectometer.tikz @@ -0,0 +1,28 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A1) at (0,0); +\coordinate (X1) at (3,0); +\coordinate (B1) at (6,0); + +\coordinate (A2) at (0,3); +\coordinate (X2) at (2,3); +\coordinate (X3) at (5,3); +\coordinate (B2) at (6,3); + +\coordinate (hb) at (0,-2); + +\maintrack (A1) -- (B1); +\maintrack (A2) -- (B2); + +\measureline (A2) -- (A1); +\measureline (X2) -- ++(0,-1) -- ++(1,-1) -- (X1); +\measureline (X3) -- ++(0,-1) -- ++(1,-1) -- (B1); + +\tikzset{hectometer base={(hb)},orientation=right} +\hectometer[] at (A) mileage (0.000); +\hectometer[] at (X1) mileage (4.000); +\hectometer[] at (B) mileage (6.000); \ No newline at end of file diff --git a/doc/snippets/pantograph_down_backward.tikz b/doc/snippets/pantograph_down_backward.tikz new file mode 100644 index 0000000..372fbab --- /dev/null +++ b/doc/snippets/pantograph_down_backward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\pantographdown[backward] at (E) label (down); \ No newline at end of file diff --git a/doc/snippets/pantograph_down_forward.tikz b/doc/snippets/pantograph_down_forward.tikz new file mode 100644 index 0000000..9b299ea --- /dev/null +++ b/doc/snippets/pantograph_down_forward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\pantographdown[forward] at (E) label (down); \ No newline at end of file diff --git a/doc/snippets/pantograph_up_backward.tikz b/doc/snippets/pantograph_up_backward.tikz new file mode 100644 index 0000000..eac5879 --- /dev/null +++ b/doc/snippets/pantograph_up_backward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\pantographup[backward] at (E) label (up); \ No newline at end of file diff --git a/doc/snippets/pantograph_up_forward.tikz b/doc/snippets/pantograph_up_forward.tikz new file mode 100644 index 0000000..330b65e --- /dev/null +++ b/doc/snippets/pantograph_up_forward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\pantographup[forward] at (E) label (up); \ No newline at end of file diff --git a/doc/snippets/parked_vehicle.tikz b/doc/snippets/parked_vehicle.tikz index 314fe72..9ff4d37 100644 --- a/doc/snippets/parked_vehicle.tikz +++ b/doc/snippets/parked_vehicle.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/parked_vehicles.tikz b/doc/snippets/parked_vehicles.tikz index f751f5b..0fb9b96 100644 --- a/doc/snippets/parked_vehicles.tikz +++ b/doc/snippets/parked_vehicles.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/parked_vehicles_with_label.tikz b/doc/snippets/parked_vehicles_with_label.tikz index 794e4fa..a46b8fc 100644 --- a/doc/snippets/parked_vehicles_with_label.tikz +++ b/doc/snippets/parked_vehicles_with_label.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/platform_left.tikz b/doc/snippets/platform_left.tikz index b3ef189..b6b64ca 100644 --- a/doc/snippets/platform_left.tikz +++ b/doc/snippets/platform_left.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/platform_middle.tikz b/doc/snippets/platform_middle.tikz index c591dcf..63a0a70 100644 --- a/doc/snippets/platform_middle.tikz +++ b/doc/snippets/platform_middle.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A1) at (0,-0.5); diff --git a/doc/snippets/platform_right.tikz b/doc/snippets/platform_right.tikz index b40d142..ad3f92e 100644 --- a/doc/snippets/platform_right.tikz +++ b/doc/snippets/platform_right.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. diff --git a/doc/snippets/power_off_backward.tikz b/doc/snippets/power_off_backward.tikz new file mode 100644 index 0000000..094237c --- /dev/null +++ b/doc/snippets/power_off_backward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\poweroff[backward] at (E) label (off); \ No newline at end of file diff --git a/doc/snippets/power_off_forward.tikz b/doc/snippets/power_off_forward.tikz new file mode 100644 index 0000000..a002d83 --- /dev/null +++ b/doc/snippets/power_off_forward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\poweroff[forward] at (E) label (off); \ No newline at end of file diff --git a/doc/snippets/power_on_backward.tikz b/doc/snippets/power_on_backward.tikz new file mode 100644 index 0000000..d95996e --- /dev/null +++ b/doc/snippets/power_on_backward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\poweron[backward] at (E) label (on); \ No newline at end of file diff --git a/doc/snippets/power_on_forward.tikz b/doc/snippets/power_on_forward.tikz new file mode 100644 index 0000000..0db908b --- /dev/null +++ b/doc/snippets/power_on_forward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\poweron[forward] at (E) label (on); \ No newline at end of file diff --git a/doc/snippets/pylons_both.tikz b/doc/snippets/pylons_both.tikz new file mode 100644 index 0000000..0c6d40f --- /dev/null +++ b/doc/snippets/pylons_both.tikz @@ -0,0 +1,16 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (P1) at (1,0); +\coordinate (P2) at (3,0); +\coordinate (P3) at (5,0); + +\maintrack (A) -- (B); +\pylon[side=both] at (P1); +\pylon[side=both] at (P2); +\pylon[side=both] at (P3); \ No newline at end of file diff --git a/doc/snippets/pylons_left.tikz b/doc/snippets/pylons_left.tikz new file mode 100644 index 0000000..fa409c3 --- /dev/null +++ b/doc/snippets/pylons_left.tikz @@ -0,0 +1,16 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (P1) at (1,0); +\coordinate (P2) at (3,0); +\coordinate (P3) at (5,0); + +\maintrack (A) -- (B); +\pylon[side=left] at (P1); +\pylon[side=left] at (P2); +\pylon[side=left] at (P3); \ No newline at end of file diff --git a/doc/snippets/pylons_middle.tikz b/doc/snippets/pylons_middle.tikz new file mode 100644 index 0000000..b13b53c --- /dev/null +++ b/doc/snippets/pylons_middle.tikz @@ -0,0 +1,26 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A1) at (0,-0.5); +\coordinate (B1) at (6,-0.5); +\coordinate (A2) at (0, 0.5); +\coordinate (B2) at (6, 0.5); +% +\coordinate (P1) at (1,-0.5); +\coordinate (P2) at (3,-0.5); +\coordinate (P3) at (5,-0.5); +\coordinate (P4) at (1, 0.5); +\coordinate (P5) at (3, 0.5); +\coordinate (P6) at (5, 0.5); + +\maintrack (A1) -- (B1); +\maintrack (A2) -- (B2); +\pylon[side=left] at (P1); +\pylon[side=left] at (P2); +\pylon[side=left] at (P3); +\pylon[side=right] at (P4); +\pylon[side=right] at (P5); +\pylon[side=right] at (P6); \ No newline at end of file diff --git a/doc/snippets/pylons_right.tikz b/doc/snippets/pylons_right.tikz new file mode 100644 index 0000000..ab37e68 --- /dev/null +++ b/doc/snippets/pylons_right.tikz @@ -0,0 +1,16 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (P1) at (1,0); +\coordinate (P2) at (3,0); +\coordinate (P3) at (5,0); + +\maintrack (A) -- (B); +\pylon[side=right] at (P1); +\pylon[side=right] at (P2); +\pylon[side=right] at (P3); \ No newline at end of file diff --git a/doc/snippets/route.tikz b/doc/snippets/route.tikz index 4c42069..a0f04e6 100644 --- a/doc/snippets/route.tikz +++ b/doc/snippets/route.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/route_clearing_point_backward.tikz b/doc/snippets/route_clearing_point_backward.tikz index 21d0b0c..64d42a4 100644 --- a/doc/snippets/route_clearing_point_backward.tikz +++ b/doc/snippets/route_clearing_point_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/route_clearing_point_forward.tikz b/doc/snippets/route_clearing_point_forward.tikz index 49874bd..af4dbf4 100644 --- a/doc/snippets/route_clearing_point_forward.tikz +++ b/doc/snippets/route_clearing_point_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/route_signal_backward.tikz b/doc/snippets/route_signal_backward.tikz index 70a3fd2..2f73a66 100644 --- a/doc/snippets/route_signal_backward.tikz +++ b/doc/snippets/route_signal_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/route_signal_forward.tikz b/doc/snippets/route_signal_forward.tikz index 7c4dd78..89ecc2f 100644 --- a/doc/snippets/route_signal_forward.tikz +++ b/doc/snippets/route_signal_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/route_signal_with_shunt_signal_backward.tikz b/doc/snippets/route_signal_with_shunt_signal_backward.tikz new file mode 100644 index 0000000..a357c4c --- /dev/null +++ b/doc/snippets/route_signal_with_shunt_signal_backward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (S) at (3,0); + +\maintrack (A) -- (B); + +\signal[route,shunting,backward] at (S) label (S1); \ No newline at end of file diff --git a/doc/snippets/route_signal_with_shunt_signal_forward.tikz b/doc/snippets/route_signal_with_shunt_signal_forward.tikz new file mode 100644 index 0000000..2684cde --- /dev/null +++ b/doc/snippets/route_signal_with_shunt_signal_forward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (S) at (3,0); + +\maintrack (A) -- (B); + +\signal[route,shunting,forward] at (S) label (S1); \ No newline at end of file diff --git a/doc/snippets/secondary_track.tikz b/doc/snippets/secondary_track.tikz index d633164..4db11db 100644 --- a/doc/snippets/secondary_track.tikz +++ b/doc/snippets/secondary_track.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/shunt_limit_backward.tikz b/doc/snippets/shunt_limit_backward.tikz index b7204ce..66ac12d 100644 --- a/doc/snippets/shunt_limit_backward.tikz +++ b/doc/snippets/shunt_limit_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/shunt_limit_forward.tikz b/doc/snippets/shunt_limit_forward.tikz index b63720c..5f11150 100644 --- a/doc/snippets/shunt_limit_forward.tikz +++ b/doc/snippets/shunt_limit_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/shunt_signal_backward.tikz b/doc/snippets/shunt_signal_backward.tikz index d773c43..7dbd14b 100644 --- a/doc/snippets/shunt_signal_backward.tikz +++ b/doc/snippets/shunt_signal_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/shunt_signal_backward_locked.tikz b/doc/snippets/shunt_signal_backward_locked.tikz index 10d7b00..66abe05 100644 --- a/doc/snippets/shunt_signal_backward_locked.tikz +++ b/doc/snippets/shunt_signal_backward_locked.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/shunt_signal_forward.tikz b/doc/snippets/shunt_signal_forward.tikz index cd1b464..0ecd5b7 100644 --- a/doc/snippets/shunt_signal_forward.tikz +++ b/doc/snippets/shunt_signal_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/shunt_signal_forward_locked.tikz b/doc/snippets/shunt_signal_forward_locked.tikz index 8e9ced8..527a97c 100644 --- a/doc/snippets/shunt_signal_forward_locked.tikz +++ b/doc/snippets/shunt_signal_forward_locked.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/speed_signal_backward.tikz b/doc/snippets/speed_signal_backward.tikz index 4840c01..75b51c0 100644 --- a/doc/snippets/speed_signal_backward.tikz +++ b/doc/snippets/speed_signal_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/speed_signal_forward.tikz b/doc/snippets/speed_signal_forward.tikz index 8d52691..3347876 100644 --- a/doc/snippets/speed_signal_forward.tikz +++ b/doc/snippets/speed_signal_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/track_closure.tikz b/doc/snippets/track_closure.tikz index 075421d..65dedf8 100644 --- a/doc/snippets/track_closure.tikz +++ b/doc/snippets/track_closure.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/track_distance.tikz b/doc/snippets/track_distance.tikz index 7346aaa..e871acb 100644 --- a/doc/snippets/track_distance.tikz +++ b/doc/snippets/track_distance.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A1) at (0,-0.5); diff --git a/doc/snippets/track_marking.tikz b/doc/snippets/track_marking.tikz new file mode 100644 index 0000000..a9eefa2 --- /dev/null +++ b/doc/snippets/track_marking.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (X) at (3,0); +\coordinate (B) at (6,0); + +\maintrack (A) -- (B); +\trackmarking[green] (A) -- (X); +\trackmarking[red] (X) -- (B); \ No newline at end of file diff --git a/doc/snippets/track_marking_with_turnout.tikz b/doc/snippets/track_marking_with_turnout.tikz new file mode 100644 index 0000000..62a5199 --- /dev/null +++ b/doc/snippets/track_marking_with_turnout.tikz @@ -0,0 +1,16 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (Y) at (3,0); +\coordinate (B) at (6,0); + +\maintrack (A) -- (B); +\maintrack (Y) -- ++(1,1); +\turnout[forward,branch=left] at (Y) label (); + +\trackmarking[yellow] (A) -- (Y) -- ++(1,1); +\trackmarking[blue] (Y) -- (B); \ No newline at end of file diff --git a/doc/snippets/track_number.tikz b/doc/snippets/track_number.tikz index 3b932c5..1b09250 100644 --- a/doc/snippets/track_number.tikz +++ b/doc/snippets/track_number.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_berth.tikz b/doc/snippets/train_berth.tikz index b347880..e331d72 100644 --- a/doc/snippets/train_berth.tikz +++ b/doc/snippets/train_berth.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_berth_shape.tikz b/doc/snippets/train_berth_shape.tikz index 5b5de32..98d01ce 100644 --- a/doc/snippets/train_berth_shape.tikz +++ b/doc/snippets/train_berth_shape.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_berth_shape_bidirectional.tikz b/doc/snippets/train_berth_shape_bidirectional.tikz index f45ca96..4cf6cf2 100644 --- a/doc/snippets/train_berth_shape_bidirectional.tikz +++ b/doc/snippets/train_berth_shape_bidirectional.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_berth_shape_special.tikz b/doc/snippets/train_berth_shape_special.tikz index a3688d3..164be20 100644 --- a/doc/snippets/train_berth_shape_special.tikz +++ b/doc/snippets/train_berth_shape_special.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_berth_sign_backward.tikz b/doc/snippets/train_berth_sign_backward.tikz index ea69565..bcce0f9 100644 --- a/doc/snippets/train_berth_sign_backward.tikz +++ b/doc/snippets/train_berth_sign_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_berth_sign_forward.tikz b/doc/snippets/train_berth_sign_forward.tikz index 27054b7..f8baf29 100644 --- a/doc/snippets/train_berth_sign_forward.tikz +++ b/doc/snippets/train_berth_sign_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_direction_backward.tikz b/doc/snippets/train_direction_backward.tikz index 8950536..64734b8 100644 --- a/doc/snippets/train_direction_backward.tikz +++ b/doc/snippets/train_direction_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_direction_forward.tikz b/doc/snippets/train_direction_forward.tikz index 0144354..2237727 100644 --- a/doc/snippets/train_direction_forward.tikz +++ b/doc/snippets/train_direction_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_drive_automatic.tikz b/doc/snippets/train_drive_automatic.tikz index c959c4b..7a8bdb6 100644 --- a/doc/snippets/train_drive_automatic.tikz +++ b/doc/snippets/train_drive_automatic.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_drive_human.tikz b/doc/snippets/train_drive_human.tikz index ab17f93..a74853c 100644 --- a/doc/snippets/train_drive_human.tikz +++ b/doc/snippets/train_drive_human.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_ghost_direction_backward.tikz b/doc/snippets/train_ghost_direction_backward.tikz index f3cedbb..0b9719b 100644 --- a/doc/snippets/train_ghost_direction_backward.tikz +++ b/doc/snippets/train_ghost_direction_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_ghost_direction_forward.tikz b/doc/snippets/train_ghost_direction_forward.tikz index c2f7649..bc4862e 100644 --- a/doc/snippets/train_ghost_direction_forward.tikz +++ b/doc/snippets/train_ghost_direction_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_moving_backward.tikz b/doc/snippets/train_moving_backward.tikz index c943950..46c6533 100644 --- a/doc/snippets/train_moving_backward.tikz +++ b/doc/snippets/train_moving_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_moving_fast_backward.tikz b/doc/snippets/train_moving_fast_backward.tikz index c6ee7d4..0705580 100644 --- a/doc/snippets/train_moving_fast_backward.tikz +++ b/doc/snippets/train_moving_fast_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_moving_fast_forward.tikz b/doc/snippets/train_moving_fast_forward.tikz index ead1431..7548642 100644 --- a/doc/snippets/train_moving_fast_forward.tikz +++ b/doc/snippets/train_moving_fast_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_moving_forward.tikz b/doc/snippets/train_moving_forward.tikz index 261f5c3..b7e9311 100644 --- a/doc/snippets/train_moving_forward.tikz +++ b/doc/snippets/train_moving_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_moving_slow_backward.tikz b/doc/snippets/train_moving_slow_backward.tikz index 0ca90c0..0511771 100644 --- a/doc/snippets/train_moving_slow_backward.tikz +++ b/doc/snippets/train_moving_slow_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_moving_slow_forward.tikz b/doc/snippets/train_moving_slow_forward.tikz index 2458e40..6c9d234 100644 --- a/doc/snippets/train_moving_slow_forward.tikz +++ b/doc/snippets/train_moving_slow_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_shunt_mode_backward.tikz b/doc/snippets/train_shunt_mode_backward.tikz index 26ae800..7f2b3ac 100644 --- a/doc/snippets/train_shunt_mode_backward.tikz +++ b/doc/snippets/train_shunt_mode_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_shunt_mode_forward.tikz b/doc/snippets/train_shunt_mode_forward.tikz index c2ff464..d530513 100644 --- a/doc/snippets/train_shunt_mode_forward.tikz +++ b/doc/snippets/train_shunt_mode_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_shunting_backward.tikz b/doc/snippets/train_shunting_backward.tikz index 2b68ab9..63fe6e9 100644 --- a/doc/snippets/train_shunting_backward.tikz +++ b/doc/snippets/train_shunting_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/train_shunting_forward.tikz b/doc/snippets/train_shunting_forward.tikz index 2193e2d..610f0b4 100644 --- a/doc/snippets/train_shunting_forward.tikz +++ b/doc/snippets/train_shunting_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/transmitter.tikz b/doc/snippets/transmitter.tikz index f0df563..c41900a 100644 --- a/doc/snippets/transmitter.tikz +++ b/doc/snippets/transmitter.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/transmitter_backward.tikz b/doc/snippets/transmitter_backward.tikz index 37b97cf..d0665a8 100644 --- a/doc/snippets/transmitter_backward.tikz +++ b/doc/snippets/transmitter_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/transmitter_bidirectional.tikz b/doc/snippets/transmitter_bidirectional.tikz index a4fc070..1252e3a 100644 --- a/doc/snippets/transmitter_bidirectional.tikz +++ b/doc/snippets/transmitter_bidirectional.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/transmitter_forward.tikz b/doc/snippets/transmitter_forward.tikz index 4fcb47b..8ee6202 100644 --- a/doc/snippets/transmitter_forward.tikz +++ b/doc/snippets/transmitter_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/transmitter_right.tikz b/doc/snippets/transmitter_right.tikz index e75bf48..143d5eb 100644 --- a/doc/snippets/transmitter_right.tikz +++ b/doc/snippets/transmitter_right.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/transmitter_right_bidirectional.tikz b/doc/snippets/transmitter_right_bidirectional.tikz index 02d2ef7..7d16839 100644 --- a/doc/snippets/transmitter_right_bidirectional.tikz +++ b/doc/snippets/transmitter_right_bidirectional.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/transmitter_right_forward.tikz b/doc/snippets/transmitter_right_forward.tikz index fdfc7bf..3509189 100644 --- a/doc/snippets/transmitter_right_forward.tikz +++ b/doc/snippets/transmitter_right_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/transmitter_right_with_signal.tikz b/doc/snippets/transmitter_right_with_signal.tikz index 97e150b..53366af 100644 --- a/doc/snippets/transmitter_right_with_signal.tikz +++ b/doc/snippets/transmitter_right_with_signal.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_backward.tikz b/doc/snippets/turnout_left_backward.tikz index 4a429ae..4b285df 100644 --- a/doc/snippets/turnout_left_backward.tikz +++ b/doc/snippets/turnout_left_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_backward_left_position.tikz b/doc/snippets/turnout_left_backward_left_position.tikz index dc694f5..b87fb00 100644 --- a/doc/snippets/turnout_left_backward_left_position.tikz +++ b/doc/snippets/turnout_left_backward_left_position.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_backward_manually.tikz b/doc/snippets/turnout_left_backward_manually.tikz index aa237b2..4ae3563 100644 --- a/doc/snippets/turnout_left_backward_manually.tikz +++ b/doc/snippets/turnout_left_backward_manually.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_backward_moving_points.tikz b/doc/snippets/turnout_left_backward_moving_points.tikz index 04f1993..eaac370 100644 --- a/doc/snippets/turnout_left_backward_moving_points.tikz +++ b/doc/snippets/turnout_left_backward_moving_points.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_backward_right_position.tikz b/doc/snippets/turnout_left_backward_right_position.tikz index 42c9e99..1b10396 100644 --- a/doc/snippets/turnout_left_backward_right_position.tikz +++ b/doc/snippets/turnout_left_backward_right_position.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_forward.tikz b/doc/snippets/turnout_left_forward.tikz index 51c45f8..273f37e 100644 --- a/doc/snippets/turnout_left_forward.tikz +++ b/doc/snippets/turnout_left_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_forward_left_position.tikz b/doc/snippets/turnout_left_forward_left_position.tikz index eb9bd4d..a056999 100644 --- a/doc/snippets/turnout_left_forward_left_position.tikz +++ b/doc/snippets/turnout_left_forward_left_position.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_forward_manually.tikz b/doc/snippets/turnout_left_forward_manually.tikz index 68406b9..457af69 100644 --- a/doc/snippets/turnout_left_forward_manually.tikz +++ b/doc/snippets/turnout_left_forward_manually.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_forward_moving_points.tikz b/doc/snippets/turnout_left_forward_moving_points.tikz index 56edd14..13543d7 100644 --- a/doc/snippets/turnout_left_forward_moving_points.tikz +++ b/doc/snippets/turnout_left_forward_moving_points.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_left_forward_right_position.tikz b/doc/snippets/turnout_left_forward_right_position.tikz index 91be83b..dbe8409 100644 --- a/doc/snippets/turnout_left_forward_right_position.tikz +++ b/doc/snippets/turnout_left_forward_right_position.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_backward.tikz b/doc/snippets/turnout_right_backward.tikz index 09270f5..ec64ff0 100644 --- a/doc/snippets/turnout_right_backward.tikz +++ b/doc/snippets/turnout_right_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_backward_left_position.tikz b/doc/snippets/turnout_right_backward_left_position.tikz index f081b13..283ffda 100644 --- a/doc/snippets/turnout_right_backward_left_position.tikz +++ b/doc/snippets/turnout_right_backward_left_position.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_backward_manually.tikz b/doc/snippets/turnout_right_backward_manually.tikz index e43ae4b..ae1d9bc 100644 --- a/doc/snippets/turnout_right_backward_manually.tikz +++ b/doc/snippets/turnout_right_backward_manually.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_backward_moving_points.tikz b/doc/snippets/turnout_right_backward_moving_points.tikz index f91d92f..cad853a 100644 --- a/doc/snippets/turnout_right_backward_moving_points.tikz +++ b/doc/snippets/turnout_right_backward_moving_points.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_backward_right_position.tikz b/doc/snippets/turnout_right_backward_right_position.tikz index 72cae3c..211e276 100644 --- a/doc/snippets/turnout_right_backward_right_position.tikz +++ b/doc/snippets/turnout_right_backward_right_position.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_forward.tikz b/doc/snippets/turnout_right_forward.tikz index 8cc9014..8aa2fd2 100644 --- a/doc/snippets/turnout_right_forward.tikz +++ b/doc/snippets/turnout_right_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_forward_left_position.tikz b/doc/snippets/turnout_right_forward_left_position.tikz index cf48f77..98bb841 100644 --- a/doc/snippets/turnout_right_forward_left_position.tikz +++ b/doc/snippets/turnout_right_forward_left_position.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_forward_manually.tikz b/doc/snippets/turnout_right_forward_manually.tikz index 3c02bda..59f173d 100644 --- a/doc/snippets/turnout_right_forward_manually.tikz +++ b/doc/snippets/turnout_right_forward_manually.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_forward_moving_points.tikz b/doc/snippets/turnout_right_forward_moving_points.tikz index 787a48d..39fa7cf 100644 --- a/doc/snippets/turnout_right_forward_moving_points.tikz +++ b/doc/snippets/turnout_right_forward_moving_points.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_right_forward_right_position.tikz b/doc/snippets/turnout_right_forward_right_position.tikz index f46c799..9d52c49 100644 --- a/doc/snippets/turnout_right_forward_right_position.tikz +++ b/doc/snippets/turnout_right_forward_right_position.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_with_fouling_left_backward.tikz b/doc/snippets/turnout_with_fouling_left_backward.tikz index ef63a63..9f19b7f 100644 --- a/doc/snippets/turnout_with_fouling_left_backward.tikz +++ b/doc/snippets/turnout_with_fouling_left_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_with_fouling_left_forward.tikz b/doc/snippets/turnout_with_fouling_left_forward.tikz index 396e033..5e7b370 100644 --- a/doc/snippets/turnout_with_fouling_left_forward.tikz +++ b/doc/snippets/turnout_with_fouling_left_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_with_fouling_right_backward.tikz b/doc/snippets/turnout_with_fouling_right_backward.tikz index 50c5b94..e358846 100644 --- a/doc/snippets/turnout_with_fouling_right_backward.tikz +++ b/doc/snippets/turnout_with_fouling_right_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/turnout_with_fouling_right_forward.tikz b/doc/snippets/turnout_with_fouling_right_forward.tikz index 3c954fb..28d2a74 100644 --- a/doc/snippets/turnout_with_fouling_right_forward.tikz +++ b/doc/snippets/turnout_with_fouling_right_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/view_point_backward.tikz b/doc/snippets/view_point_backward.tikz index 112e7c6..856d16a 100644 --- a/doc/snippets/view_point_backward.tikz +++ b/doc/snippets/view_point_backward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/view_point_forward.tikz b/doc/snippets/view_point_forward.tikz index 1a7bff5..4f22932 100644 --- a/doc/snippets/view_point_forward.tikz +++ b/doc/snippets/view_point_forward.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = ../snippets.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \coordinate (A) at (0,0); diff --git a/doc/snippets/wire_limit_backward.tikz b/doc/snippets/wire_limit_backward.tikz new file mode 100644 index 0000000..bdd0283 --- /dev/null +++ b/doc/snippets/wire_limit_backward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\wirelimit[backward] at (E) label (limit); \ No newline at end of file diff --git a/doc/snippets/wire_limit_forward.tikz b/doc/snippets/wire_limit_forward.tikz new file mode 100644 index 0000000..801ac96 --- /dev/null +++ b/doc/snippets/wire_limit_forward.tikz @@ -0,0 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (E) at (3,0); + +\maintrack (A) -- (B); + +\wirelimit[forward] at (E) label (limit); \ No newline at end of file diff --git a/doc/symbology/generate_symbols.sh b/doc/symbology/generate_symbols.sh index cf8b7da..01ccf26 100755 --- a/doc/symbology/generate_symbols.sh +++ b/doc/symbology/generate_symbols.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh -# Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +# Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) # Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. LATEXMK=`which latexmk` @@ -61,7 +61,7 @@ for SYMBOL in $SYMBOLS; do IFS=","; echo '\\usetikzlibrary{trackschematic-dev.trafficcontrol}' >> tmp.tex echo '\\usetikzlibrary{trackschematic-dev.vehicles}' >> tmp.tex echo '\\usetikzlibrary{trackschematic-dev.constructions}' >> tmp.tex - echo '\\usetikzlibrary{trackschematic-dev.messures}' >> tmp.tex + echo '\\usetikzlibrary{trackschematic-dev.measures}' >> tmp.tex echo '}{\\usetikzlibrary{trackschematic}}' >> tmp.tex echo '\\begin{document}' >> tmp.tex echo '\\begin{tikzpicture}[font=\\sffamily]' >> tmp.tex diff --git a/doc/tikz-trackschematic-documentation.sty b/doc/tikz-trackschematic-documentation.sty index 66bc206..0a6e159 100644 --- a/doc/tikz-trackschematic-documentation.sty +++ b/doc/tikz-trackschematic-documentation.sty @@ -1,10 +1,10 @@ %% symbol library for TikZ track schematics % -% Copyright 2018,2019 Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. -\ProvidesPackage{doc}[2019-09-30 Doc Package] +\ProvidesPackage{tikz-trackschematic-documentation}[2020-12-30 Documentation Package for the tikz-trackschematic library] % --------[ Coding and Language ]---------- \RequirePackage{scrhack,marginnote} @@ -31,6 +31,7 @@ \pagestyle{scrheadings} \RequirePackage{multicol} % -----------[ PDF linking ]---------------- +\RequirePackage{xr-hyper} \RequirePackage[% pdftex,% pdfpagelabels, % modify PDF page labels @@ -81,31 +82,32 @@ \RequirePackage{longtable,tikz,siunitx,adjustbox,rotating} \sisetup{math-rm=\mathsf} -\IfFileExists{tikzlibrarytrackschematic-dev.code.tex}{% - \usetikzlibrary{trackschematic-dev.topology}% - \usetikzlibrary{trackschematic-dev.trafficcontrol}% - \usetikzlibrary{trackschematic-dev.vehicles}% - \usetikzlibrary{trackschematic-dev.constructions}% - \usetikzlibrary{trackschematic-dev.messures}% +\IfFileExists{tikz-trackschematic-dev.sty}{% + \RequirePackage[dev]{tikz-trackschematic-dev}% }{% - \usetikzlibrary{trackschematic}% + \RequirePackage{tikz-trackschematic}% }% -\def\rootTrackschematic{.} +\usepackage[obeyDraft,textsize=footnotesize]{todonotes} +\newcommand{\TODO}{\todo[linecolor=orange,backgroundcolor=orange!20,bordercolor=orange,inline,]{\textcolor{orange}{Todo}}} +% \newcommand{\TODO}[1]{\todo[linecolor=orange,backgroundcolor=orange!20,bordercolor=orange,inline,]{\textcolor{orange}{Todo:~}#1}} \renewcommand{\symbol}[2][1.0]{% \adjustbox{valign=c}{\begin{tikzpicture}[scale=#1]% - \input{\rootTrackschematic/snippets/#2}% + \input{./snippets/#2}% \path (-0.1,-1.1) rectangle (6.1,1.1); % background rectangle to unify every cell containing a symbol \end{tikzpicture}}% }% -\newcommand{\symboldescription}[1]{\paragraph*{#1}\marginnote{\tikz{\fill (-0.4,0.15)--(-0.4,-0.15)--(0,0)--cycle;}}\mbox{}\\}% - -\newcommand{\code}[1]{\lstinputlisting[firstline=7]{\rootTrackschematic/snippets/#1}}% +\newcommand{\code}[1]{\lstinputlisting[firstline=7]{./snippets/#1}}% \newcounter{symbolNo}% \def\No{\stepcounter{symbolNo}\arabic{symbolNo}}% +\newcommand{\symboldescription}[1]{\paragraph*{#1}\marginnote{\tikz{\fill (-0.4,0.15)--(-0.4,-0.15)--(0,0)--cycle;}}\mbox{}\\}% + \setlength{\parindent}{0cm} -\reversemarginpar \ No newline at end of file +\reversemarginpar +%%%%%%%%%%%%%%% +\endinput% +% \ No newline at end of file diff --git a/doc/versionhistory.tex b/doc/versionhistory.tex index 26b04f7..b1e3509 100644 --- a/doc/versionhistory.tex +++ b/doc/versionhistory.tex @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = doc.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \begin{versionhistory} @@ -24,4 +24,7 @@ \vhEntry{0.5.1}{2020-02-10}{MS}{ Modified symbol "end of movement authority"; added symbols "braking point" and "danger point". } + \vhEntry{0.6}{2021-01-02}{MS}{ + Added symbols for "direction control", "track marking", "pylons" and electric wiring; changed symbol for "friction bufferstop"; created an encapsulating package for future flexibilty - changed load command for library to \textbackslash usepackage\{tikz-trackschematic\}. + } \end{versionhistory} diff --git a/src/tikz-trackschematic.sty b/src/tikz-trackschematic.sty new file mode 100644 index 0000000..bf23c28 --- /dev/null +++ b/src/tikz-trackschematic.sty @@ -0,0 +1,158 @@ +%% symbol library for TikZ track schematics +% +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. +% +\NeedsTeXFormat{LaTeX2e}% +\ProvidesPackage{tikz-trackschematic}[2021/01/05 tikz-trackschematic]% +% +% Required Packages for tikz-trackschematic +\RequirePackage{tikz,etoolbox,lmodern}% +% +%%%%%%%%%%%%%%% +% Package options +%%%%%%%%%%%%%%% +\RequirePackage{xkeyval,etoolbox}% +\newtoggle{development}% +\DeclareOptionX{dev}[\settoggle{development}{false}]{\settoggle{development}{true}} +\ProcessOptionsX +% +\iftoggle{development}{% + \PackageInfo{tikz-trackschematic}{development mode}% + % + \IfFileExists{tikz-trackschematic-dev.sty}{% + \usetikzlibrary{trackschematic-dev.topology}% + \usetikzlibrary{trackschematic-dev.trafficcontrol}% + \usetikzlibrary{trackschematic-dev.vehicles}% + \usetikzlibrary{trackschematic-dev.constructions}% + \usetikzlibrary{trackschematic-dev.electrics}% + \usetikzlibrary{trackschematic-dev.measures}% + \usetikzlibrary{trackschematic-dev}% + }{% + \PackageError{tikz-trackschematic}{development mode not available}{execute the dev-install.sh script provided by the package repository}% + }% +}{% + \usetikzlibrary{trackschematic.topology}% + \usetikzlibrary{trackschematic.trafficcontrol}% + \usetikzlibrary{trackschematic.vehicles}% + \usetikzlibrary{trackschematic.constructions}% + \usetikzlibrary{trackschematic.electrics}% + \usetikzlibrary{trackschematic.measures}% +}% +% +%%%%%%%%%%%%%%% +% commands +%%%%%%%%%%%%%%% +\RequirePackage{adjustbox}% +\usetikzlibrary{calc}% +% +\DeclareRobustCommand{\tsSymbol}[2][1]{% + \adjustbox{valign=c}{% + \begin{tikzpicture}]% + \pic at (0,0) {symbology_#2};% + \path ($0.5*(-0.2,-#1)$) rectangle ($0.5*(12.2,#1)$);% background rectangle to unify every cell containing a symbol + \end{tikzpicture}% + }% +}% +%%%%%%%%%%%%%%% +% symbology table +%%%%%%%%%%%%%%% +% +%% TODO: replave with package glossaries +% \@ifpackageloaded{glossaries}{% +% \newglossaryentry{main_track}{name={main track},description={},symbol={\tsSymbol{main_track}}}% +% }{}% +%% +\RequirePackage{booktabs,xltabular,multicol}% +%% command +\DeclareRobustCommand\tsFullSymbology{% + \begin{xltabular}{\textwidth}{cX}% + \toprule% + \textbf{Notation} & \multicolumn{1}{c}{\textbf{Description}} \\% + \midrule% + \endfirsthead% + % ----------- + \midrule% + \textbf{Notation} & \multicolumn{1}{c}{\textbf{Description}} \\% + \midrule% + \endhead% + % ----------- + \midrule% + \multicolumn{2}{c}{\footnotesize -- continued on next page -- } \\% + \endfoot% + % ----------- + \bottomrule% + \endlastfoot% + % ----------- + \tsSymbol{main_track} & main track \\% + \tsSymbol{secondary_track} & secondary track \\% + \tsSymbol{track_label} & track label \\% + \tsSymbol{bufferstop} & bufferstop \\% + \tsSymbol{friction_bufferstop} & friction bufferstop \\% + \tsSymbol{track_closure} & track closure \\% + \tsSymbol{turnout} & turnout \\% + \tsSymbol{turnout_fouling} & turnout with fouling point indicator \\% + \tsSymbol{turnout_manually} & turnout operated manually \\% + \tsSymbol{diamond_crossing} & diamond crossing \\% + \tsSymbol{slip_turnout} & double-slip turnout \\% + \tsSymbol{turnout_points_right} & turnout with points in right position \\% + \tsSymbol{turnout_points_left} & turnout with points in left position \\% + \tsSymbol{turnout_points_moving} & turnout with moving points \\% + \tsSymbol{derailer} & derailer \\% + \tsSymbol{parked_vehicles} & parked vehicles \\% + \tsSymbol{train_shunt_mode} & train in shunting mode \\% + \tsSymbol{train_shunting} & train shunting \\% + \tsSymbol{train} & train \\% + \tsSymbol{train_moving_slow} & train moving slow \\% + \tsSymbol{train_moving} & train moving \\% + \tsSymbol{train_moving_fast} & train moving fast \\% + \tsSymbol{train_ghost} & train ghost \\% + \tsSymbol{train_drive_automatic} & train operated automatic \\% + \tsSymbol{train_drive_human} & train operated by human \\% + \tsSymbol[1.4]{distant_signal} & distant signal \\% + \tsSymbol[1.4]{distant_speed_signal}& distant signal with speed indicator \\% + \tsSymbol[1.4]{speed_signal} & speed signal \\% + \tsSymbol[1.4]{block_signal} & block signal \\% + \tsSymbol[1.4]{route_signal} & route signal \\% + \tsSymbol[1.4]{combined_signal} & combined signal (distant, block and route signal) \\% + \tsSymbol[1.4]{shunt_signal} & shunt signal \\% + \tsSymbol[1.4]{locked_shunt_signal} & shunt signal locked \\% + \tsSymbol[1.4]{shunt_limit} & shunt limit \\% + \tsSymbol[1.4]{train_berth_sign} & train berth sign \\% + \tsSymbol[1.4]{view_point} & view point \\% + \tsSymbol[1.4]{braking_point} & braking point \\% + \tsSymbol[1.4]{end_of_authority} & end of movement authority \\% + \tsSymbol[1.4]{danger_point} & danger point \\% + \tsSymbol{clearing_point} & clearing point \\% + \tsSymbol{block_clearing_point} & block clearing point \\% + \tsSymbol{route_clearing_point} & route clearing point \\% + \tsSymbol{transmitter} & transmitter \\% + \tsSymbol{transmitter_forward} & transmitter effective forward \\% + \tsSymbol{transmitter_bidirectional}& transmitter bidirectional \\% + \tsSymbol{loop_transmitter} & loop transmitter \\% + \tsSymbol{route} & route \\% + \tsSymbol{direction_control} & direction control \\% + \tsSymbol{platform} & platform \\% + \tsSymbol{level_crossing} & level crossing \\% + \tsSymbol[2.0]{bridge} & bridge \\% + \tsSymbol[1.4]{hump} & hump \\% + \tsSymbol{pylon} & pylons \\% + \tsSymbol{interlocking} & interlocking \\% + \tsSymbol[1.4]{distant_power_off} & distant power off \\% + \tsSymbol[1.4]{power_off} & power off \\% + \tsSymbol[1.4]{power_on} & power on \\% + \tsSymbol[1.4]{distant_pantograph_down}& distant pantograph down \\% + \tsSymbol[1.4]{pantograph_down} & pantograph down \\% + \tsSymbol[1.4]{pantograph_up} & pantograph up \\% + \tsSymbol[1.4]{wire_limit} & wire limit \\% + \tsSymbol[2.0]{track_distance} & track distance \\% + \tsSymbol{train_berth} & train berth \\% + \tsSymbol{measure_line} & measure line \\% + \tsSymbol{hectometer} & hectometer \\% + \tsSymbol{track_marking} & track marking \\% + \end{xltabular}% +}% +%%%%%%%%%%%%%%% +\endinput% +% \ No newline at end of file diff --git a/src/tikzlibrarytrackschematic.code.tex b/src/tikzlibrarytrackschematic.code.tex index 41e8313..b26089f 100644 --- a/src/tikzlibrarytrackschematic.code.tex +++ b/src/tikzlibrarytrackschematic.code.tex @@ -1,6 +1,6 @@ %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % @@ -9,15 +9,54 @@ \RequirePackage{tikz,etoolbox,lmodern}% % %%%%%%%%%%%%%%% -% symbol definitions +% loading sublibraries %%%%%%%%%%%%%%% -\usetikzlibrary{trackschematic.topology}% -\usetikzlibrary{trackschematic.trafficcontrol}% -\usetikzlibrary{trackschematic.vehicles}% -\usetikzlibrary{trackschematic.constructions}% -\usetikzlibrary{trackschematic.messures}% -% \usetikzlibrary{trackschematic.i18n}% -% +% \usetikzlibrary{trackschematic.topology}% +% \usetikzlibrary{trackschematic.trafficcontrol}% +% \usetikzlibrary{trackschematic.vehicles}% +% \usetikzlibrary{trackschematic.constructions}% +% \usetikzlibrary{trackschematic.electrics}% +% \usetikzlibrary{trackschematic.measures}% +%%%%%%%%%%%%%%% +%% template for new symbol definitions +%%%%%%%%%%%%%%% +% % +% \newcommand\XXXX{}% just for safety +% \def\XXXX[#1]#2(#3)#4(#5){% \XXXX[options] at (coord) label (name); +% \pic[#1] at (#3) {XXXX={#2/#4/#5}}% symbol +% }% +% % tikz keys +% \pgfkeys{% +% /tikz/trackschematic/.is family,% +% /tikz/trackschematic//.cd,% +% }% +% % symbol definition +% \tikzset{% +% pics/XXXX/.default=,% +% pics/XXXX/.style args={#1/#2/#3}{code={% +% %% settings +% \def\coordcommand{#1}% beware of leading and tailing spaces! +% \def\labelcommand{#2}% beware of leading and tailing spaces! +% \def\labelcontent{#3}% +% %% symbol marker +% % +% %% label +% \ifdefstring{\labelcontent}{}{}{% label NOT empty +% \coordinate (label-coord) at (coord);% +% \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default +% \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% +% \coordinate (label-coord) at ($(label-coord)+(\labelcoordX,\labelcoordY)$);% +% }% +% \node at (label-coord) {\footnotesize \labelcontent};% +% }% +% }},% END of pics/XXXX/.style args={#1/#2/#3} +% % symbology entry +% symbology_XXXX/.pic = {% +% \maintrack (0,0) -- (6,0);% +% \XXXX at (3,0);% +% },% +% }% +% % %%%%%%%%%%%%%%% \endinput% % \ No newline at end of file diff --git a/src/tikzlibrarytrackschematic.constructions.code.tex b/src/tikzlibrarytrackschematic.constructions.code.tex index a8713de..d36e3be 100644 --- a/src/tikzlibrarytrackschematic.constructions.code.tex +++ b/src/tikzlibrarytrackschematic.constructions.code.tex @@ -1,6 +1,9 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../test/test.tex +% %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % @@ -48,6 +51,7 @@ %% side side/.value required,% left, right OR both side/.store in=\side,% left, right OR both + side=right,% DEFAULT /tikz/side/.forward to=/tikz/trackschematic/constructions/side,% %% width width/.store in=\objectwidth,% default width 0.5cm @@ -105,7 +109,12 @@ \path ($-0.5*(\objectlength,0) + \sidefactor*(0,0.3)$) --% ($ 0.5*(\objectlength,0) + \sidefactor*(0,0.3)$);% part 2 }% - }},% + }},% END pics/platform/.style args={#1} + % symbology entry + symbology_platform/.pic = {% + \maintrack (0,0) -- (6,0);% + \platform[side=left] at (3,0);% + },% }% % %%%%%%%%%%%%%%% @@ -244,7 +253,12 @@ }% }% END \ifdefstring{\barrier}{semi} }% END \ifdefstring{\barrier}{full} - }},% + }},% END pics/level_crossing/.style args={#1} + % symbology entry + symbology_level_crossing/.pic = {% + \maintrack (0,0) -- (6,0);% + \levelcrossing[barrier=semi] at (3,0);% + },% }% % %%%%%%%%%%%%%%% @@ -312,7 +326,12 @@ }% END \ifdefstring{\side}{right} }% END \ifdefstring{\side}{left} }% END \ifdefstring{\side}{both} - }},% + }},% END pics/bridge/.style args={#1} + % symbology entry + symbology_bridge/.pic = {% + \bridge[] at (3,0);% first + \maintrack (0,0) -- (6,0);%% secound + },% }% % %%%%%%%%%%%%%%% @@ -340,7 +359,11 @@ \path (-0.6,-0.4 ) rectangle ++(1.2,0.8); % building \path[fill=\foreground] (-0.5,-0.3 ) rectangle ++(1.0,0.2); % table \path[fill=\foreground] ( 0 , 0.15) circle (0.15); % human dot - }},% + }},% END pics/interlocking/.style args={#1} + % symbology entry + symbology_interlocking/.pic = { + \interlocking at (3,0);% + },% }% % %%%%%%%%%%%%%%% @@ -381,7 +404,61 @@ \path ( 0.1,-0.1) -- ++(0,-0.25); \path ( 0.2,-0.1) -- ++(0,-0.15); \path ( 0.3,-0.1) -- ++(0,-0.05); - }},% + }},% END pics/hump/.style args={#1} + % symbology entry + symbology_hump/.pic = {% + \secondarytrack (0,0) -- (6,0);% + \hump at (3,0);% + },% +}% +% +% +%%%%%%%%%%%%%%% +% symbol pylon +%%%%%%%%%%%%%%% +% +%% command +\newcommand\pylon{}% just for safety +\def\pylon[#1]#2(#3){% \pylon[options] at (coord); + \pic[#1] at (#3) {pylon={#2}}% symbol +}% +%% symbol definition +\tikzset{% + pics/pylon/.default=,% + pics/pylon/.style args={#1}{code={% + %% settings + \def\coordcommand{#1}% beware of leading and tailing spaces! + % + \ifdefstring{\side}{left}{% side + \pgfmathsetmacro{\sidefactor}{1}% + }{% + \ifdefstring{\side}{right}{% side + \pgfmathsetmacro{\sidefactor}{-1}% + }{% + \ifdefstring{\side}{both}{% side + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/constructions/side}{“left“, “right“ OR “both“ as key required}}% + }% + }% + }% end \ifdefstring{\side} + %% pylon shape + \tikzset{every path/.style={draw=\foreground,line width=0.5pt}};% + \ifdefstring{\side}{both}{% double side + \path (0,-0.5) circle [radius=0.075];% part 1 + \path (0, 0.5) circle [radius=0.075];% part 2 + \path (0,-0.425) -- (0, 0.425);% part 3 + }{% single side + \path ($\sidefactor*(0,0.5)$) circle [radius=0.075];% part 1 + \path ($\sidefactor*(0,0.425)$) -- ++($\sidefactor*(0,-0.7)$);% part 2 + }% + }},% END pics/pylon/.style args={#1} + % symbology entry + symbology_pylon/.pic = {% + \maintrack (0,0) -- (6,0);% + \pylon[side=left] at (1,0);% + \pylon[side=left] at (3,0);% + \pylon[side=left] at (5,0);% + },% }% % %%%%%%%%%%%%%%% diff --git a/src/tikzlibrarytrackschematic.electrics.code.tex b/src/tikzlibrarytrackschematic.electrics.code.tex new file mode 100644 index 0000000..7095661 --- /dev/null +++ b/src/tikzlibrarytrackschematic.electrics.code.tex @@ -0,0 +1,611 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../test/test.tex +% +%% symbol library for TikZ track schematics +% +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. +% +\ProvidesFileRCS{tikzlibrarytrackschematic.electrics.code.tex}% +% +%%%%%%%%%%%%%%% +% global settings +%%%%%%%%%%%%%%% +\RequirePackage{tikz,etoolbox,lmodern}% +\usetikzlibrary{calc,intersections,arrows.meta}% +% +% https://tex.stackexchange.com/questions/56353/extract-x-y-coordinate-of-an-arbitrary-point-on-curve-in-tikz +\providecommand{\gettikzxy}[3]{% + \tikz@scan@one@point\pgfutil@firstofone#1\relax% + \edef#2{\the\pgf@x}% + \edef#3{\the\pgf@y}% +}% +% +%%%%%%%%%%%%%%% +% tikz keys for multiple use +%%%%%%%%%%%%%%% +% +\pgfkeys{% + /tikz/trackschematic/.is family,% + /tikz/trackschematic/.cd,% + %% color foreground + foreground/.store in=\foreground,% + foreground=black,% DEFAULT + /tikz/foreground/.forward to=/tikz/trackschematic/foreground,% + %% color background + background/.store in=\background,% + background=white,% DEFAULT + /tikz/background/.forward to=/tikz/trackschematic/background,% + %% face + face/.value required,% forward, backward OR bidirectional + face/.store in=\face,% forward, backward OR bidirectional + /tikz/face/.forward to=/tikz/trackschematic/face,% + /tikz/forward/.code={\pgfkeys{/tikz/trackschematic/face=forward}},% + /tikz/backward/.code={\pgfkeys{/tikz/trackschematic/face=backward}},% + /tikz/bidirectional/.code={\pgfkeys{/tikz/trackschematic/face=bidirectional}},% + %% traffic practice + traffic practice/.value required,% left OR right + traffic practice/.store in=\trafficpractice,% + /tikz/traffic practice/.forward to=/tikz/trackschematic/traffic practice,% + /tikz/position/.forward to=/tikz/trackschematic/traffic practice,% + %% label + shift label/.store in=\labelcoord,% (coord) + shift label=(none),% DEFAULT + /tikz/shift label/.forward to=/tikz/trackschematic/shift label,% +}% +\tikzset{traffic practice=right}% +% +\definecolor{ts-signal-blue}{HTML}{013ADF}% +% tikz keys +\pgfkeys{% + /tikz/trackschematic/electrics/.is family,% + /tikz/trackschematic/electrics/.cd,% + %% color hectometer + signal color/.store in=\signalcolor,% + signal color=ts-signal-blue,% DEFAULT + /tikz/electrics signal color/.forward to=/tikz/trackschematic/electrics/signal color,% +}% +%%%%%%%%%%%%%%%% +% symbol distant power off +%%%%%%%%%%%%%%% +%% command +\newcommand\distantpoweroff{}% just for safety +\def\distantpoweroff[#1]#2(#3)#4(#5){% \distantpoweroff[options] at (coord) label (name); + \pic[#1] at (#3) {distant_power_off={#2/#4/#5}}% symbol +}% +%% +%% symbol definition +\tikzset{% + pics/distant_power_off/.default=,% + pics/distant_power_off/.style args={#1/#2/#3}{code={% + %% settings + \def\coordcommand{#1}% beware of leading and tailing spaces! + \def\labelcommand{#2}% beware of leading and tailing spaces! + \def\labelcontent{#3}% + %% symbol marker + % + %% traffic practice setup + \ifdefstring{\trafficpractice}{left}{% branch + \pgfmathsetmacro{\trafficfactor}{-1}% + }{% + \ifdefstring{\trafficpractice}{right}{% branch + \pgfmathsetmacro{\trafficfactor}{1}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/trafficcontrol/traffic practice}{“left“ OR “right“ as key required}}% + }% + }% end \ifdefstring{\trafficpractice} + %% face setup + \ifdefstring{\face}{forward}{% face + \pgfmathsetmacro{\facefactor}{1}% + \def\align{left}% + }{% + \ifdefstring{\face}{backward}{% face + \pgfmathsetmacro{\facefactor}{-1}% + \def\align{right}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/face}{“forward“ OR “backward“ as key required}}% + }% + }% end \ifdefstring{\face} + % + %% signal pole + \path[draw=\foreground,line width=1pt] (0,0) -- ++($\trafficfactor*\facefactor*(0,-0.4)$) -- ++($\facefactor*(0.4,0)$);% signal pole + %% signal marker + \path[draw=\foreground,line width=0.1pt,double=\background,double distance=0.5pt,fill=\signalcolor,rounded corners=0.1pt]% + ($\trafficfactor*\facefactor*(0,-0.15) + \facefactor*( 0.4,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*(-0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*( 0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.25) + \facefactor*( 0.25,0)$) -- cycle;% sign + \path[fill=\background]% + ($\trafficfactor*\facefactor*(0,-0.3) + \facefactor*( 0.45,0)$) rectangle% + ++($\trafficfactor*\facefactor*(0,-0.05) + \facefactor*(-0.1,0)$)% + ($\trafficfactor*\facefactor*(0,-0.5) + \facefactor*( 0.45,0)$) rectangle% + ++($\trafficfactor*\facefactor*(0, 0.05) + \facefactor*(-0.1,0)$);% symbol + %% label + \tikzset{every node/.style={text=\foreground,inner sep=1pt}};% + \ifdefstring{\labelcontent}{}{}{% label NOT empty + \coordinate (label-coord) at ($\trafficfactor*\facefactor*(0,-0.4)$);% + \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default + \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% + \coordinate (label-coord) at ($(label-coord)+(\labelcoordX,\labelcoordY)$);% + }% + \node[\align] at (label-coord) {\footnotesize \labelcontent};% + }% + }},% END of pics/distant_power_off/.style args={#1/#2/#3} + % symbology entry + symbology_distant_power_off/.pic = {% + \maintrack (0,0) -- (6,0);% + \distantpoweroff[forward] at (3,0) label ();% + },% +}% +% +%%%%%%%%%%%%%%%% +% symbol power off +%%%%%%%%%%%%%%% +%% command +\newcommand\poweroff{}% just for safety +\def\poweroff[#1]#2(#3)#4(#5){% \poweroff[options] at (coord) label (name); + \pic[#1] at (#3) {power_off={#2/#4/#5}}% symbol +}% +%% +%% symbol definition +\tikzset{% + pics/power_off/.default=,% + pics/power_off/.style args={#1/#2/#3}{code={% + %% settings + \def\coordcommand{#1}% beware of leading and tailing spaces! + \def\labelcommand{#2}% beware of leading and tailing spaces! + \def\labelcontent{#3}% + %% symbol marker + % + %% traffic practice setup + \ifdefstring{\trafficpractice}{left}{% branch + \pgfmathsetmacro{\trafficfactor}{-1}% + }{% + \ifdefstring{\trafficpractice}{right}{% branch + \pgfmathsetmacro{\trafficfactor}{1}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/trafficcontrol/traffic practice}{“left“ OR “right“ as key required}}% + }% + }% end \ifdefstring{\trafficpractice} + %% face setup + \ifdefstring{\face}{forward}{% face + \pgfmathsetmacro{\facefactor}{1}% + \def\align{left}% + }{% + \ifdefstring{\face}{backward}{% face + \pgfmathsetmacro{\facefactor}{-1}% + \def\align{right}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/face}{“forward“ OR “backward“ as key required}}% + }% + }% end \ifdefstring{\face} + % + %% signal pole + \path[draw=\foreground,line width=1pt] (0,0) -- ++($\trafficfactor*\facefactor*(0,-0.4)$) -- ++($\facefactor*(0.4,0)$);% signal pole + %% signal marker + \path[draw=\foreground,line width=0.1pt,double=\background,double distance=0.5pt,fill=\signalcolor,rounded corners=0.1pt]% + ($\trafficfactor*\facefactor*(0,-0.15) + \facefactor*( 0.4,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*(-0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*( 0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.25) + \facefactor*( 0.25,0)$) -- cycle;% sign + \path[fill=\background]% + ($\trafficfactor*\facefactor*(0,-0.3) + \facefactor*( 0.5,0)$) rectangle% + ++($\trafficfactor*\facefactor*(0,-0.05) + \facefactor*(-0.1,0)$)% + ($\trafficfactor*\facefactor*(0,-0.5) + \facefactor*( 0.5,0)$) rectangle% + ++($\trafficfactor*\facefactor*(0, 0.05) + \facefactor*(-0.1,0)$)% + ($\trafficfactor*\facefactor*(0,-0.3) + \facefactor*( 0.3,0)$) rectangle% + ++($\trafficfactor*\facefactor*(0,-0.2) + \facefactor*( 0.05,0)$);% symbol + %% label + \tikzset{every node/.style={text=\foreground,inner sep=1pt}};% + \ifdefstring{\labelcontent}{}{}{% label NOT empty + \coordinate (label-coord) at ($\trafficfactor*\facefactor*(0,-0.4)$);% + \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default + \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% + \coordinate (label-coord) at ($(label-coord)+(\labelcoordX,\labelcoordY)$);% + }% + \node[\align] at (label-coord) {\footnotesize \labelcontent};% + }% + }},% END of pics/power_off/.style args={#1/#2/#3} + % symbology entry + symbology_power_off/.pic = {% + \maintrack (0,0) -- (6,0);% + \poweroff[forward] at (3,0) label ();% + },% +}% +% +%%%%%%%%%%%%%%%% +% symbol power on +%%%%%%%%%%%%%%% +%% command +\newcommand\poweron{}% just for safety +\def\poweron[#1]#2(#3)#4(#5){% \poweron[options] at (coord) label (name); + \pic[#1] at (#3) {power_on={#2/#4/#5}}% symbol +}% +%% +%% symbol definition +\tikzset{% + pics/power_on/.default=,% + pics/power_on/.style args={#1/#2/#3}{code={% + %% settings + \def\coordcommand{#1}% beware of leading and tailing spaces! + \def\labelcommand{#2}% beware of leading and tailing spaces! + \def\labelcontent{#3}% + %% symbol marker + % + %% traffic practice setup + \ifdefstring{\trafficpractice}{left}{% branch + \pgfmathsetmacro{\trafficfactor}{-1}% + }{% + \ifdefstring{\trafficpractice}{right}{% branch + \pgfmathsetmacro{\trafficfactor}{1}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/trafficcontrol/traffic practice}{“left“ OR “right“ as key required}}% + }% + }% end \ifdefstring{\trafficpractice} + %% face setup + \ifdefstring{\face}{forward}{% face + \pgfmathsetmacro{\facefactor}{1}% + \def\align{left}% + }{% + \ifdefstring{\face}{backward}{% face + \pgfmathsetmacro{\facefactor}{-1}% + \def\align{right}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/face}{“forward“ OR “backward“ as key required}}% + }% + }% end \ifdefstring{\face} + % + %% signal pole + \path[draw=\foreground,line width=1pt] (0,0) -- ++($\trafficfactor*\facefactor*(0,-0.4)$) -- ++($\facefactor*(0.4,0)$);% signal pole + %% signal marker + \path[draw=\foreground,line width=0.1pt,double=\background,double distance=0.5pt,fill=\signalcolor,rounded corners=0.1pt]% + ($\trafficfactor*\facefactor*(0,-0.15) + \facefactor*( 0.4,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*(-0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*( 0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.25) + \facefactor*( 0.25,0)$) -- cycle;% sign + \path[fill=\background]% + ($\trafficfactor*\facefactor*(0,-0.3) + \facefactor*( 0.475,0)$) rectangle% + ++($\trafficfactor*\facefactor*(0,-0.05) + \facefactor*(-0.11,0)$)% + ($\trafficfactor*\facefactor*(0,-0.5) + \facefactor*( 0.475,0)$) rectangle% + ++($\trafficfactor*\facefactor*(0, 0.05) + \facefactor*(-0.11,0)$);% symbol part1 + \path[fill=\background]% + ($\trafficfactor*\facefactor*(0,-0.3) + \facefactor*( 0.325,0)$) rectangle% + ++($\trafficfactor*\facefactor*(0,-0.2) + \facefactor*( 0.05,0)$);% symbol part2 + %% label + \tikzset{every node/.style={text=\foreground,inner sep=1pt}};% + \ifdefstring{\labelcontent}{}{}{% label NOT empty + \coordinate (label-coord) at ($\trafficfactor*\facefactor*(0,-0.4)$);% + \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default + \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% + \coordinate (label-coord) at ($(label-coord)+(\labelcoordX,\labelcoordY)$);% + }% + \node[\align] at (label-coord) {\footnotesize \labelcontent};% + }% + }},% END of pics/power_on/.style args={#1/#2/#3} + % symbology entry + symbology_power_on/.pic = {% + \maintrack (0,0) -- (6,0);% + \poweron[forward] at (3,0) label ();% + },% +}% +% +%%%%%%%%%%%%%%%% +% symbol distant pantograph down +%%%%%%%%%%%%%%% +%% command +\newcommand\distantpantographdown{}% just for safety +\def\distantpantographdown[#1]#2(#3)#4(#5){% \distantpantographdown[options] at (coord) label (name); + \pic[#1] at (#3) {distant_pantograph_down={#2/#4/#5}}% symbol +}% +%% +%% symbol definition +\tikzset{% + pics/distant_pantograph_down/.default=,% + pics/distant_pantograph_down/.style args={#1/#2/#3}{code={% + %% settings + \def\coordcommand{#1}% beware of leading and tailing spaces! + \def\labelcommand{#2}% beware of leading and tailing spaces! + \def\labelcontent{#3}% + %% symbol marker + % + %% traffic practice setup + \ifdefstring{\trafficpractice}{left}{% branch + \pgfmathsetmacro{\trafficfactor}{-1}% + }{% + \ifdefstring{\trafficpractice}{right}{% branch + \pgfmathsetmacro{\trafficfactor}{1}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/trafficcontrol/traffic practice}{“left“ OR “right“ as key required}}% + }% + }% end \ifdefstring{\trafficpractice} + %% face setup + \ifdefstring{\face}{forward}{% face + \pgfmathsetmacro{\facefactor}{1}% + \def\align{left}% + }{% + \ifdefstring{\face}{backward}{% face + \pgfmathsetmacro{\facefactor}{-1}% + \def\align{right}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/face}{“forward“ OR “backward“ as key required}}% + }% + }% end \ifdefstring{\face} + % + %% signal pole + \path[draw=\foreground,line width=1pt] (0,0) -- ++($\trafficfactor*\facefactor*(0,-0.4)$) -- ++($\facefactor*(0.4,0)$);% signal pole + %% signal marker + \path[draw=\foreground,line width=0.1pt,double=\background,double distance=0.5pt,fill=\signalcolor,rounded corners=0.1pt]% + ($\trafficfactor*\facefactor*(0,-0.15) + \facefactor*( 0.4,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*(-0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*( 0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.25) + \facefactor*( 0.25,0)$) -- cycle;% sign + \path[fill=\background]% + ($\trafficfactor*\facefactor*(0,-0.23) + \facefactor*( 0.35,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.2)$) -- ++($\facefactor*(-0.05,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.15)$) -- cycle% + ($\trafficfactor*\facefactor*(0,-0.57) + \facefactor*( 0.45,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.2)$) -- ++($\facefactor*(0.05,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.15)$) -- cycle;% symbol + %% label + \tikzset{every node/.style={text=\foreground,inner sep=1pt}};% + \ifdefstring{\labelcontent}{}{}{% label NOT empty + \coordinate (label-coord) at ($\trafficfactor*\facefactor*(0,-0.4)$);% + \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default + \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% + \coordinate (label-coord) at ($(label-coord)+(\labelcoordX,\labelcoordY)$);% + }% + \node[\align] at (label-coord) {\footnotesize \labelcontent};% + }% + }},% END of pics/distant_pantograph_down/.style args={#1/#2/#3} + % symbology entry + symbology_distant_pantograph_down/.pic = {% + \maintrack (0,0) -- (6,0);% + \distantpantographdown[forward] at (3,0) label ();% + },% +}% +% +% +%%%%%%%%%%%%%%%% +% symbol pantograph down +%%%%%%%%%%%%%%% +%% command +\newcommand\pantographdown{}% just for safety +\def\pantographdown[#1]#2(#3)#4(#5){% \pantographdown[options] at (coord) label (name); + \pic[#1] at (#3) {pantograph_down={#2/#4/#5}}% symbol +}% +%% +%% symbol definition +\tikzset{% + pics/pantograph_down/.default=,% + pics/pantograph_down/.style args={#1/#2/#3}{code={% + %% settings + \def\coordcommand{#1}% beware of leading and tailing spaces! + \def\labelcommand{#2}% beware of leading and tailing spaces! + \def\labelcontent{#3}% + %% symbol marker + % + %% traffic practice setup + \ifdefstring{\trafficpractice}{left}{% branch + \pgfmathsetmacro{\trafficfactor}{-1}% + }{% + \ifdefstring{\trafficpractice}{right}{% branch + \pgfmathsetmacro{\trafficfactor}{1}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/trafficcontrol/traffic practice}{“left“ OR “right“ as key required}}% + }% + }% end \ifdefstring{\trafficpractice} + %% face setup + \ifdefstring{\face}{forward}{% face + \pgfmathsetmacro{\facefactor}{1}% + \def\align{left}% + }{% + \ifdefstring{\face}{backward}{% face + \pgfmathsetmacro{\facefactor}{-1}% + \def\align{right}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/face}{“forward“ OR “backward“ as key required}}% + }% + }% end \ifdefstring{\face} + % + %% signal pole + \path[draw=\foreground,line width=1pt] (0,0) -- ++($\trafficfactor*\facefactor*(0,-0.4)$) -- ++($\facefactor*(0.4,0)$);% signal pole + %% signal marker + \path[draw=\foreground,line width=0.1pt,double=\background,double distance=0.5pt,fill=\signalcolor,rounded corners=0.1pt]% + ($\trafficfactor*\facefactor*(0,-0.15) + \facefactor*( 0.4,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*(-0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*( 0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.25) + \facefactor*( 0.25,0)$) -- cycle;% sign + \path[fill=\background]% + ($\trafficfactor*\facefactor*(0,-0.18) + \facefactor*( 0.4 ,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.03) + \facefactor*( 0.03,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.38)$) --% + ++($\trafficfactor*\facefactor*(0,-0.03) + \facefactor*(-0.03,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.03) + \facefactor*(-0.03,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.38)$) -- cycle;% symbol + %% label + \tikzset{every node/.style={text=\foreground,inner sep=1pt}};% + \ifdefstring{\labelcontent}{}{}{% label NOT empty + \coordinate (label-coord) at ($\trafficfactor*\facefactor*(0,-0.4)$);% + \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default + \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% + \coordinate (label-coord) at ($(label-coord)+(\labelcoordX,\labelcoordY)$);% + }% + \node[\align] at (label-coord) {\footnotesize \labelcontent};% + }% + }},% END of pics/pantograph_down/.style args={#1/#2/#3} + % symbology entry + symbology_pantograph_down/.pic = {% + \maintrack (0,0) -- (6,0);% + \pantographdown[forward] at (3,0) label ();% + },% +}% +% +% +%%%%%%%%%%%%%%%% +% symbol pantograph up +%%%%%%%%%%%%%%% +%% command +\newcommand\pantographup{}% just for safety +\def\pantographup[#1]#2(#3)#4(#5){% \pantographup[options] at (coord) label (name); + \pic[#1] at (#3) {pantograph_up={#2/#4/#5}}% symbol +}% +%% +%% symbol definition +\tikzset{% + pics/pantograph_up/.default=,% + pics/pantograph_up/.style args={#1/#2/#3}{code={% + %% settings + \def\coordcommand{#1}% beware of leading and tailing spaces! + \def\labelcommand{#2}% beware of leading and tailing spaces! + \def\labelcontent{#3}% + %% symbol marker + % + %% traffic practice setup + \ifdefstring{\trafficpractice}{left}{% branch + \pgfmathsetmacro{\trafficfactor}{-1}% + }{% + \ifdefstring{\trafficpractice}{right}{% branch + \pgfmathsetmacro{\trafficfactor}{1}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/trafficcontrol/traffic practice}{“left“ OR “right“ as key required}}% + }% + }% end \ifdefstring{\trafficpractice} + %% face setup + \ifdefstring{\face}{forward}{% face + \pgfmathsetmacro{\facefactor}{1}% + \def\align{left}% + }{% + \ifdefstring{\face}{backward}{% face + \pgfmathsetmacro{\facefactor}{-1}% + \def\align{right}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/face}{“forward“ OR “backward“ as key required}}% + }% + }% end \ifdefstring{\face} + % + %% signal pole + \path[draw=\foreground,line width=1pt] (0,0) -- ++($\trafficfactor*\facefactor*(0,-0.4)$) -- ++($\facefactor*(0.4,0)$);% signal pole + %% signal marker + \path[draw=\foreground,line width=0.1pt,double=\background,double distance=0.5pt,fill=\signalcolor,rounded corners=0.1pt]% + ($\trafficfactor*\facefactor*(0,-0.15) + \facefactor*( 0.4,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*(-0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*( 0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.25) + \facefactor*( 0.25,0)$) -- cycle;% sign + \path[fill=\background]% + ($\trafficfactor*\facefactor*(0,-0.4 ) + \facefactor*( 0.62,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.03) + \facefactor*(-0.03,0)$) --% + ++($\facefactor*(-0.38,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.03) + \facefactor*(-0.03,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.03) + \facefactor*( 0.03,0)$) --% + ++($\facefactor*( 0.38,0)$) -- cycle;% symbol + %% label + \tikzset{every node/.style={text=\foreground,inner sep=1pt}};% + \ifdefstring{\labelcontent}{}{}{% label NOT empty + \coordinate (label-coord) at ($\trafficfactor*\facefactor*(0,-0.4)$);% + \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default + \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% + \coordinate (label-coord) at ($(label-coord)+(\labelcoordX,\labelcoordY)$);% + }% + \node[\align] at (label-coord) {\footnotesize \labelcontent};% + }% + }},% END of pics/pantograph_up/.style args={#1/#2/#3} + % symbology entry + symbology_pantograph_up/.pic = {% + \maintrack (0,0) -- (6,0);% + \pantographup[forward] at (3,0) label ();% + },% +}% +% +% +%%%%%%%%%%%%%%%% +% symbol wire limit +%%%%%%%%%%%%%%% +%% command +\newcommand\wirelimit{}% just for safety +\def\wirelimit[#1]#2(#3)#4(#5){% \wirelimit[options] at (coord) label (name); + \pic[#1] at (#3) {wire_limit={#2/#4/#5}}% symbol +}% +%% +%% symbol definition +\tikzset{% + pics/wire_limit/.default=,% + pics/wire_limit/.style args={#1/#2/#3}{code={% + %% settings + \def\coordcommand{#1}% beware of leading and tailing spaces! + \def\labelcommand{#2}% beware of leading and tailing spaces! + \def\labelcontent{#3}% + %% symbol marker + % + %% traffic practice setup + \ifdefstring{\trafficpractice}{left}{% branch + \pgfmathsetmacro{\trafficfactor}{-1}% + }{% + \ifdefstring{\trafficpractice}{right}{% branch + \pgfmathsetmacro{\trafficfactor}{1}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/trafficcontrol/traffic practice}{“left“ OR “right“ as key required}}% + }% + }% end \ifdefstring{\trafficpractice} + %% face setup + \ifdefstring{\face}{forward}{% face + \pgfmathsetmacro{\facefactor}{1}% + \def\align{left}% + }{% + \ifdefstring{\face}{backward}{% face + \pgfmathsetmacro{\facefactor}{-1}% + \def\align{right}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/face}{“forward“ OR “backward“ as key required}}% + }% + }% end \ifdefstring{\face} + % + %% signal pole + \path[draw=\foreground,line width=1pt] (0,0) -- ++($\trafficfactor*\facefactor*(0,-0.4)$) -- ++($\facefactor*(0.4,0)$);% signal pole + %% signal marker + \path[draw=\foreground,line width=0.1pt,double=\background,double distance=0.5pt,fill=\signalcolor,rounded corners=0.1pt]% + ($\trafficfactor*\facefactor*(0,-0.15) + \facefactor*( 0.4,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*(-0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*( 0.25,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.25) + \facefactor*( 0.25,0)$) -- cycle;% sign + \path[fill=\background]% + ($\trafficfactor*\facefactor*(0,-0.25) + \facefactor*( 0.4 ,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.15) + \facefactor*(-0.15,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.15) + \facefactor*( 0.15,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.15) + \facefactor*( 0.15,0)$) -- cycle;% symbol + \path[fill=\signalcolor]% + ($\trafficfactor*\facefactor*(0,-0.3 ) + \facefactor*( 0.4 ,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.1 ) + \facefactor*(-0.1 ,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.1 ) + \facefactor*( 0.1 ,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.1 ) + \facefactor*( 0.1 ,0)$) -- cycle;% symbol + \path[fill=\background]% + ($\trafficfactor*\facefactor*(0,-0.35) + \facefactor*( 0.4 ,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.05) + \facefactor*(-0.05,0)$) --% + ++($\trafficfactor*\facefactor*(0,-0.05) + \facefactor*( 0.05,0)$) --% + ++($\trafficfactor*\facefactor*(0, 0.05) + \facefactor*( 0.05,0)$) -- cycle;% symbol + %% label + \tikzset{every node/.style={text=\foreground,inner sep=1pt}};% + \ifdefstring{\labelcontent}{}{}{% label NOT empty + \coordinate (label-coord) at ($\trafficfactor*\facefactor*(0,-0.4)$);% + \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default + \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% + \coordinate (label-coord) at ($(label-coord)+(\labelcoordX,\labelcoordY)$);% + }% + \node[\align] at (label-coord) {\footnotesize \labelcontent};% + }% + }},% END of pics/wire_limit/.style args={#1/#2/#3} + % symbology entry + symbology_wire_limit/.pic = {% + \maintrack (0,0) -- (6,0);% + \wirelimit[forward] at (3,0) label ();% + },% +}% +% +% +%%%%%%%%%%%%%%% +% TODO: +% * documentation +% +%%%%%%%%%%%%%%% +\endinput% +% \ No newline at end of file diff --git a/src/tikzlibrarytrackschematic.messures.code.tex b/src/tikzlibrarytrackschematic.measures.code.tex similarity index 80% rename from src/tikzlibrarytrackschematic.messures.code.tex rename to src/tikzlibrarytrackschematic.measures.code.tex index 290701b..ac63677 100644 --- a/src/tikzlibrarytrackschematic.messures.code.tex +++ b/src/tikzlibrarytrackschematic.measures.code.tex @@ -1,10 +1,13 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../test/test.tex +% %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % -\ProvidesFileRCS{tikzlibrarytrackschematic.messures.code.tex}% +\ProvidesFileRCS{tikzlibrarytrackschematic.measures.code.tex}% % %%%%%%%%%%%%%%% % global settings @@ -62,12 +65,12 @@ % % tikz keys \pgfkeys{% - /tikz/trackschematic/messures/.is family,% - /tikz/trackschematic/messures/.cd,% + /tikz/trackschematic/measures/.is family,% + /tikz/trackschematic/measures/.cd,% %% color hectometer color/.store in=\hectometercolor,% color=\foreground!50!\background,% DEFAULT - /tikz/hectometer color/.forward to=/tikz/trackschematic/messures/color,% + /tikz/hectometer color/.forward to=/tikz/trackschematic/measures/color,% }% %%%%%%%%%%%%%%%% % symbol train berth @@ -149,7 +152,12 @@ \node[fill=\background,text=\foreground,inner sep=1pt] at ($\facefactor*(0,-0.35)$) {\tiny \labelcontent};% }{}% }% - }},% end pics/train_berth/.style args={#1/#2/#3} + }},% END pics/train_berth/.style args={#1/#2/#3} + % symbology entry + symbology_train_berth/.pic = {% + \maintrack (0,0) -- (6,0);% + \berth[forward] at (3,0) length (length);% + },% }% % %%%%%%%%%%%%%%% @@ -158,10 +166,18 @@ % %% command \newcommand\trackdistance{}% just for safety -\def\trackdistance#1(#2)#3(#4)#5(#6){% \trackdistance between (coord1) and (coord2) label (distance); +\def\trackdistance#1(#2)#3(#4)#5(#6){% \trackdistance between (coord1) and (coord2) distance (distance); \path[draw=\background,<->,>={Stealth[\foreground,inset=0pt,angle=50:0.2cm]},shorten <=1pt,shorten >=1pt] (#2) -- (#4)% arrow tips node[hectometer base=(current bounding box.center),text=\foreground,midway,sloped,rotate=90] {#6};% label }% +% symbology entry +\tikzset{% + symbology_track_distance/.pic = {% + \maintrack (0,-0.5) -- (6,-0.5);% + \maintrack (0, 0.5) -- (6, 0.5);% + \trackdistance between (3, 0.5) and (3,-0.5) distance (distance);% + },% +}% % %%%%%%%%%%%%%%% % symbol hectometer posts @@ -174,16 +190,16 @@ }% % tikz keys \pgfkeys{% - /tikz/trackschematic/messures/hectometer/.is family,% - /tikz/trackschematic/messures/hectometer/.cd,% + /tikz/trackschematic/measures/hectometer/.is family,% + /tikz/trackschematic/measures/hectometer/.cd,% %% hectometer base base/.value required,% base/.store in=\basecoord,% - /tikz/hectometer base/.forward to=/tikz/trackschematic/messures/hectometer/base,% + /tikz/hectometer base/.forward to=/tikz/trackschematic/measures/hectometer/base,% %% hectometer base orientation/.value required,% orientation/.store in=\orientation,% - /tikz/orientation/.forward to=/tikz/trackschematic/messures/hectometer/orientation,% + /tikz/orientation/.forward to=/tikz/trackschematic/measures/hectometer/orientation,% }% %% symbol definition \tikzset{% @@ -205,7 +221,7 @@ \ifdefstring{\orientation}{right}{% orientation \def\align{left}% }{% error message - \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/messures/hectometer/orientation}{“left“ OR “right“ as key required}}% + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/measures/hectometer/orientation}{“left“ OR “right“ as key required}}% }% }% end \ifdefstring{\orientation} %% calculation of coordinates @@ -230,18 +246,48 @@ \ifdefstring{\labelcontent}{}{}{% label NOT empty \node[font=\sffamily,text=\hectometercolor,rotate=-90,\orientation,align=\align,fill=\background] at (ts-hm-l) {\labelcontent};% }% - }},% + }},% END + % symbology entry + symbology_hectometer/.pic = {% + \tikzset{hectometer base={(0,-2)},orientation=right};% + \hectometer[] at (0,0) mileage (hectometer 1);% + \hectometer[] at (3,0) mileage (hectometer 2);% + \hectometer[shift label={(0.3,0)}] at (3.5,0) mileage (hectometer 3);% + \hectometer[] at (6,0) mileage (hectometer 4);% + },% }% % %%%%%%%%%%%%%%% -% symbol messureline +% symbol measureline %%%%%%%%%%%%%%% % % command -\newcommand\messureline{}% just for safety -\def\messureline{\path[MessureLine]}% \maintrack (coord1) -- (coord2); +\newcommand\measureline{}% just for safety +\def\measureline{\path[MeasureLine]}% \measureline (coord1) -- (coord2); % -\tikzset{MessureLine/.style={draw=\hectometercolor,dashed,shorten <=0.75cm,shorten >=0.75cm}}% +\tikzset{% + MeasureLine/.style={draw=\hectometercolor,dashed,shorten <=0.75cm,shorten >=0.75cm}, + % symbology entry + symbology_measure_line/.pic = {% + \measureline (0,0) -- (6,0);% + },% +}% +%%%%%%%%%%%%%%% +% symbol track marking +%%%%%%%%%%%%%%% +% +% command +\newcommand\trackmarking{}% just for safety +\def\trackmarking[#1]{\path[draw,TrackMark,#1]}% \trackmarking[color] (coord1) -- (coord2); +% +\tikzset{% + TrackMark/.style={line width=8pt, opacity=0.4, arrows = {Bar[line cap=round,line width=1pt,width=12pt]-Bar[line cap=round,line width=1pt,width=12pt]},shorten >=1pt,shorten <=1pt}, + % symbology entry + symbology_track_marking/.pic = {% + \maintrack (0,0) -- (6,0);% + \trackmarking[] (1,0) -- (5,0);% + },% +}% % %%%%%%%%%%%%%%% % TODO: diff --git a/src/tikzlibrarytrackschematic.topology.code.tex b/src/tikzlibrarytrackschematic.topology.code.tex index 8ca7a66..368986c 100644 --- a/src/tikzlibrarytrackschematic.topology.code.tex +++ b/src/tikzlibrarytrackschematic.topology.code.tex @@ -1,6 +1,9 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../test/test.tex +% %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % @@ -49,7 +52,6 @@ shift label=(none),% DEFAULT /tikz/shift label/.forward to=/tikz/trackschematic/shift label,% }% -% \pgfkeys{% /tikz/trackschematic/topology/.is family,% /tikz/trackschematic/topology/.cd,% @@ -66,23 +68,32 @@ points=none,% DEFAULT /tikz/points/.forward to=/tikz/trackschematic/topology/points,% }% -% options +% options for turnout and slip turnout \newtoggle{fouling_point}\settoggle{fouling_point}{false}% % %%%%%%%%%%%%%%% % symbol track %%%%%%%%%%%%%%% % -% tracks +% commands \newcommand\maintrack{}% just for safety -\def\maintrack{\path[draw,MainTrack]}% \maintrack (coord1) -- (coord2); +\def\maintrack{\path[draw=\foreground,MainTrack]}% \maintrack (coord1) -- (coord2); \newcommand\secondarytrack{}% just for safety -\def\secondarytrack{\path[draw,SecondaryTrack]}% \secondarytrack (coord1) -- (coord2); +\def\secondarytrack{\path[draw=\foreground,SecondaryTrack]}% \secondarytrack (coord1) -- (coord2); \newcommand\sidetrack{}% just for safety \def\sidetrack{\path[draw,SecondaryTrack]}% alias for \secondarytrack % -\tikzset{MainTrack/.style={line width=2pt,\foreground}}% -\tikzset{SecondaryTrack/.style={line width=0.7pt,\foreground}}% +%% symbol definition +\tikzset{% + MainTrack/.style={line width=2pt},% + % symbology entry + symbology_main_track/.pic = {\maintrack (0,0) -- (6,0);}% +}% +\tikzset{% + SecondaryTrack/.style={line width=0.7pt},% + % symbology entry + symbology_secondary_track/.pic = {\secondarytrack (0,0) -- (6,0);}% +}% % %%%%%%%%%%%%%%% % symbol track number @@ -117,7 +128,13 @@ }% \node at (ts-tl-l) {\labelcontent};% }% - }},% + }},% END pics/track_label/.style args={#1/#2/#3} + % + % symbology entry + symbology_track_label/.pic = {% + \maintrack (0,0) -- (6,0);% + \tracklabel at (3,0) label (label);% + },% }% % %%%%%%%%%%%%%%% @@ -156,13 +173,26 @@ }% }% end \ifdefstring{\face} %% symbol - \ifdefstring{\friction}{none}{% friction - \path[draw=\foreground, line width=1pt] ($\facefactor*(-0.1,0) + (0,0.2)$) -- ++($\facefactor*( 0.1,0)$) -- ++(0,-0.4) -- ++ ($\facefactor*(-0.1,0)$); % bufferstop marker - }{ - \path[draw=\foreground, line width=1pt] ($\facefactor*(-\friction,0) + \facefactor*( 0.1,0) + (0,0.2)$) -- ++($\facefactor*(-0.1,0)$) -- ++(0,-0.4) -- ++ ($\facefactor*( 0.1,0)$); % bufferstop marker + \ifdefstring{\friction}{none}{% none friction + \path[draw=\foreground, line width=1pt]% + ($\facefactor*(-0.1,0) + (0,0.2)$) -- ++($\facefactor*( 0.1,0)$) -- ++(0,-0.4) -- ++ ($\facefactor*(-0.1,0)$);% bufferstop marker + }{% friction + \path[draw=\foreground, line width=1pt]% + ($\facefactor*(-\friction,0) + \facefactor*(-0.05,0) + (0,0.2)$) -- ++($\facefactor*(0.1,0)$) -- ++(0,-0.4) -- ++ ($\facefactor*(-0.1,0)$);% bufferstop marker \fill[\foreground] (0,0) circle (0.06);% track closure indicator - } - }},% + }% + }},% END pics/bufferstop/.style args={#1} + % + % symbology entry + symbology_bufferstop/.pic = {% + \secondarytrack (0,0) -- (3,0);% + \bufferstop[forward] at (3,0);% + },% + % symbology entry + symbology_friction_bufferstop/.pic = {% + \maintrack (0,0) -- (3,0);% + \bufferstop[forward,friction=.5] at (3,0);% + },% }% % %%%%%%%%%%%%%%% @@ -174,6 +204,7 @@ \def\trackclosure#1(#2){% \trackclosure at (coord); \pic at (#2) {track_closure={#1}}% symbol }% +% symbol definition \tikzset{% pics/track_closure/.default=,% pics/track_closure/.style args={#1}{code={% @@ -182,7 +213,13 @@ %% \fill[\foreground] (0,0) circle (0.06);% track closure indicator % \path[fill=\foreground] (0.04,0.02) -- (0.04,-0.02) -- (0.02,-0.04) -- (-0.02,-0.04) -- (-0.04,-0.02) -- (-0.04,0.02) -- (-0.02,0.04) -- (0.02,0.04) -- cycle;% label - }},% end pics/track_closure/.style args={#1} + }},% END pics/track_closure/.style args={#1} + % + % symbology entry + symbology_track_closure/.pic = {% + \maintrack (0,0) -- (3,0);% + \trackclosure at (3,0);% + },% }% % %%%%%%%%%%%%%%% @@ -304,7 +341,38 @@ }% }% end \ifdefstring{\points} % - }},% end pics/turnout/.style args={#1/#2/#3} + }},% END pics/turnout/.style args={#1/#2/#3} + % symbology entry + symbology_turnout/.pic = {% + \maintrack (0,0) -- (6,0);% + \maintrack (3,0) -- ++(0.8,0.8);% + \turnout[forward,branch=left] at (3,0) label ();% + },% + symbology_turnout_fouling/.pic = {% + \maintrack (0,0) -- (6,0);% + \maintrack (3,0) -- ++(0.8,0.8);% + \turnout[forward,branch=left,fouling point] at (3,0) label ();% + },% + symbology_turnout_manually/.pic = {% + \secondarytrack (0,0) -- (6,0);% + \secondarytrack (3,0) -- ++(0.8,0.8);% + \turnout[forward,branch=left,operation=manual] at (3,0) label ();% + },% + symbology_turnout_points_right/.pic = {% + \maintrack (0,0) -- (6,0);% + \maintrack (3,0) -- ++(0.8,0.8);% + \turnout[forward,branch=left,points=right] at (3,0) label ();% + },% + symbology_turnout_points_left/.pic = {% + \maintrack (0,0) -- (6,0);% + \maintrack (3,0) -- ++(0.8,0.8);% + \turnout[forward,branch=left,points=left] at (3,0) label ();% + },% + symbology_turnout_points_moving/.pic = {% + \maintrack (0,0) -- (6,0);% + \maintrack (3,0) -- ++(0.8,0.8);% + \turnout[forward,branch=left,points=moving] at (3,0) label ();% + },% }% % %%%%%%%%%%%%%%% @@ -369,26 +437,6 @@ }% }% }% - % - %% label - \tikzset{every node/.style={text=\foreground}};% - \ifdefstring{\labelcontentleft}{}{}{% label NOT empty - \coordinate (ts-sy-l1) at ($(2pt,0) + \branchfactor*(0, 10pt)$);% - \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default - \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% - \coordinate (ts-sy-l1) at ($(ts-sy-l1)+(\labelcoordX,\labelcoordY)$);% - }% - \node[left] at (ts-sy-l1) {\footnotesize \labelcontentleft};% - }% - \ifdefstring{\labelcontentright}{}{}{% label NOT empty - \coordinate (ts-sy-l2) at ($(2pt,0) + \branchfactor*(0,-10pt)$);% - \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default - \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% - \coordinate (ts-sy-l2) at ($(ts-sy-l2)-(\labelcoordX,\labelcoordY)$);% - }% - \node[right] at (ts-sy-l2) {\footnotesize \labelcontentright};% - }% - % %% fouling point indicator \iftoggle{fouling_point}{% \path[draw=\foreground] ( 0.7,0) -- ++($\branchfactor*(0, 0.7)$);% fouling point indicator @@ -471,13 +519,39 @@ }% }% % - }},% end of pics/slipturnout/.style args={#1/#2/#3/#4}{ + %% label + \tikzset{every node/.style={text=\foreground}};% + \ifdefstring{\labelcontentleft}{}{}{% label NOT empty + \coordinate (ts-sy-l1) at ($(2pt,0) + \branchfactor*(0, 10pt)$);% + \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default + \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% + \coordinate (ts-sy-l1) at ($(ts-sy-l1)+(\labelcoordX,\labelcoordY)$);% + }% + \node[left] at (ts-sy-l1) {\footnotesize \labelcontentleft};% + }% + \ifdefstring{\labelcontentright}{}{}{% label NOT empty + \coordinate (ts-sy-l2) at ($(2pt,0) + \branchfactor*(0,-10pt)$);% + \ifdefstring{\labelcoord}{(none)}{}{% initialize if NOT default + \gettikzxy{\labelcoord}{\labelcoordX}{\labelcoordY}% + \coordinate (ts-sy-l2) at ($(ts-sy-l2)-(\labelcoordX,\labelcoordY)$);% + }% + \node[right] at (ts-sy-l2) {\footnotesize \labelcontentright};% + }% + % + }},% END of pics/slipturnout/.style args={#1/#2/#3/#4} + % symbology entry + symbology_slip_turnout/.pic = {% + \maintrack (0,0) -- (6,0);% + \maintrack (3,0) -- ++(0.8,0.8);% + \maintrack (3,0) -- ++(-0.8,-0.8);% + \slipturnout[branch=left] at (3,0) label ()();% + },% }% % %%%%%%%%%%%%%%% % symbol crossing - using parts of turnout %%%%%%%%%%%%%%% -% +% command \newcommand\crossing{}% just for safety \def\crossing[#1]#2(#3)#4(#5){% \crossing[options] at (coord) label (name); \pic[#1] at (#3) {crossing={#2/#4/#5}}% symbol @@ -523,7 +597,14 @@ \path[draw=\foreground] (-0.7,0) -- ++($\branchfactor*(0,-0.7)$);% fouling point indicator }{}% % - }},% end of pics/crossing/.style args={#1/#2/#3}{ + }},% end of pics/crossing/.style args={#1/#2/#3} + % symbology entry + symbology_diamond_crossing/.pic = {% + \maintrack (0,0) -- (6,0);% + \maintrack (3,0) -- ++(0.8,0.8);% + \maintrack (3,0) -- ++(-0.8,-0.8);% + \crossing[branch=left] at (3,0) label ();% + },% }% % %%%%%%%%%%%%%%% @@ -587,7 +668,12 @@ \node[right] at (ts-dr-l) {\footnotesize \labelcontent};% }% % - }},% + }},% END pics/derailer/.style args={#1/#2/#3} + % symbology entry + symbology_derailer/.pic = {% + \secondarytrack (0,0) -- (6,0);% + \derailer[forward,branch=left] at (3,0) label ();% + },% }% % %%%%%%%%%%%%%%% diff --git a/src/tikzlibrarytrackschematic.trafficcontrol.code.tex b/src/tikzlibrarytrackschematic.trafficcontrol.code.tex index d4a7185..07b2c09 100644 --- a/src/tikzlibrarytrackschematic.trafficcontrol.code.tex +++ b/src/tikzlibrarytrackschematic.trafficcontrol.code.tex @@ -1,6 +1,9 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../test/test.tex +% %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % @@ -287,6 +290,56 @@ }{}% }{}% }},% end pics/signal/.style args={#1/#2/#3} + % symbology entry + symbology_distant_signal/.pic = {% + \maintrack (0,0) -- (6,0);% + \distantsignal[forward] at (3,0) label ();% + },% + % symbology entry + symbology_distant_speed_signal/.pic = {% + \maintrack (0,0) -- (6,0);% + \distantsignal[forward,distant speed={s}] at (3,0) label ();% + },% + % symbology entry + symbology_speed_signal/.pic = {% + \maintrack (0,0) -- (6,0);% + \speedsignal[forward,speed={s}] at (3,0) label ();% + },% + % symbology entry + symbology_block_signal/.pic = {% + \maintrack (0,0) -- (6,0);% + \blocksignal[forward] at (3,0) label ();% + },% + % symbology entry + symbology_route_signal/.pic = {% + \maintrack (0,0) -- (6,0);% + \routesignal[forward] at (3,0) label ();% + },% + % symbology entry + symbology_combined_signal/.pic = {% + \maintrack (0,0) -- (6,0);% + \signal[distant,block,route,forward,distant speed={ds},speed={s}] at (3,0) label ();% + },% + % symbology entry + symbology_shunt_signal/.pic = {% + \maintrack (0,0) -- (6,0);% + \shuntsignal[forward] at (3,0) label ();% + },% + % symbology entry + symbology_locked_shunt_signal/.pic = {% + \maintrack (0,0) -- (6,0);% + \shuntsignal[forward,locked] at (3,0) label ();% + },% + % symbology entry + symbology_shunt_limit/.pic = {% + \maintrack (0,0) -- (6,0);% + \shuntlimit[forward] at (3,0) label ();% + },% + % symbology entry + symbology_train_berth_sign/.pic = {% + \maintrack (0,0) -- (6,0);% + \berthsignal[forward] at (3,0) label ();% + },% }% % %%%%%%%%%%%%%%% @@ -367,6 +420,21 @@ \node at (ts-cp-l) {\footnotesize \labelcontent};% }% }},% end pics/clearing_point/.style args={#1/#2/#3} + % symbology entry + symbology_clearing_point/.pic = {% + \maintrack (0,0) -- (6,0);% + \clearingpoint[forward] at (3,0) label ();% + },% + % symbology entry + symbology_block_clearing_point/.pic = {% + \maintrack (0,0) -- (6,0);% + \blockclearing[forward] at (3,0) label ();% + },% + % symbology entry + symbology_route_clearing_point/.pic = {% + \maintrack (0,0) -- (6,0);% + \routeclearing[forward] at (3,0) label ();% + },% }% % %%%%%%%%%%%%%%% @@ -442,6 +510,26 @@ \node at (ts-tm-l) {\footnotesize \labelcontent};% }% }},% end pics/transmitter/.style args={#1/#2/#3} + % symbology entry + symbology_transmitter/.pic = {% + \maintrack (0,0) -- (6,0);% + \balise[] at (3,0) label ();% + },% + % symbology entry + symbology_transmitter_forward/.pic = {% + \maintrack (0,0) -- (6,0);% + \balise[forward] at (3,0) label ();% + },% + % symbology entry + symbology_transmitter_bidirectional/.pic = {% + \maintrack (0,0) -- (6,0);% + \balise[bidirectional] at (3,0) label ();% + },% + % symbology entry + symbology_loop_transmitter/.pic = {% + \maintrack (0,0) -- (6,0);% + \transmitter[type=loop] at (3,0) label ();% + },% }% % %%%%%%%%%%%%%%% @@ -489,7 +577,12 @@ ($\facefactor*(0.55,0) + \facefactor*\trafficfactor*(0,-0.55)$) and% ($\facefactor*(0.55,0) + \facefactor*\trafficfactor*(0,-0.25)$) ..% ($\facefactor*(0.4, 0) + \facefactor*\trafficfactor*(0,-0.15)$) --cycle;% eye contour - }},% + }},% END pics/view_point/.style args={#1} + % symbology entry + symbology_view_point/.pic = {% + \maintrack (0,0) -- (6,0);% + \viewpoint[forward] at (3,0);% + },% }% % %%%%%%%%%%%%%%% @@ -548,7 +641,12 @@ }% \node[\align] at (ts-ma-l) {\footnotesize \labelcontent};% }% - }},% end pics/movement_authority_marker/.style args={#1/#2/#3} + }},% END pics/movement_authority_marker/.style args={#1/#2/#3} + % symbology entry + symbology_end_of_authority/.pic = {% + \maintrack (0,0) -- (6,0);% + \movementauthority[forward] at (3,0) label ();% + },% }% % %%%%%%%%%%%%%%% @@ -608,7 +706,12 @@ }% \node[\align] at (ts-bp-l) {\footnotesize \labelcontent};% }% - }},% end pics/braking_point_marker/.style args={#1/#2/#3} + }},% END pics/braking_point_marker/.style args={#1/#2/#3} + % symbology entry + symbology_braking_point/.pic = {% + \maintrack (0,0) -- (6,0);% + \brakingpoint[forward] at (3,0) label ();% + },% }% % %%%%%%%%%%%%%%% @@ -669,7 +772,12 @@ }% \node at (ts-dp-l) {\footnotesize \labelcontent};% }% - }},% end pics/danger_point_marker/.style args={#1/#2/#3} + }},% END pics/danger_point_marker/.style args={#1/#2/#3} + % symbology entry + symbology_danger_point/.pic = {% + \maintrack (0,0) -- (6,0);% + \dangerpoint[forward] at (3,0) label ();% + },% }% % %%%%%%%%%%%%%%% @@ -700,7 +808,87 @@ \fill[\foreground] ($\facefactor*(-0.175,0)+(0,-0.15)$) --% ($\facefactor*(-0.175,0)+(0, 0.15)$) --% ($\facefactor*( 0.175,0)+(0, 0 )$) -- cycle;% - }},% + }},% END pics/route/.style args={#1} + % symbology entry + symbology_route/.pic = {% + \maintrack (0,0) -- (6,0);% + \route[forward] at (3,0);% + },% +}% +% +%%%%%%%%%%%%%%% +% symbol direction control +%%%%%%%%%%%%%%% +% command +\newcommand\directioncontrol{}% just for safety +\def\directioncontrol[#1]#2(#3){% \directioncontrol[options] at (coord); + \pic[#1] at (#3) {direction_control={#2}}% symbol +}% +% symbol definition +\tikzset{% + pics/direction_control/.default=,% + pics/direction_control/.style args={#1}{code={% + %% settings + \def\coordcommand{#1}% beware of leading and tailing spaces! + % + %% traffic practice setup + \ifdefstring{\trafficpractice}{left}{% branch + \pgfmathsetmacro{\trafficfactor}{-1}% + }{% + \ifdefstring{\trafficpractice}{right}{% branch + \pgfmathsetmacro{\trafficfactor}{1}% + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/trafficcontrol/traffic practice}{“left“ OR “right“ as key required}}% + }% + }% end \ifdefstring{\trafficpractice} + % + %% face setup + \ifdefstring{\face}{forward}{% face + \path[draw=\foreground,line width=0.5pt,densely dotted]% + ($\trafficfactor*(0,0.1) + (-0.0125,0)$) -- ($\trafficfactor*(0,0.25) + (-0.2125,0)$) -- ($\trafficfactor*(0,0.4) + (-0.0125,0)$) --% + ($\trafficfactor*(0,0.325) + (-0.0125,0)$) -- ($\trafficfactor*(0,0.325) + (0.1875,0)$) -- ($\trafficfactor*(0,0.175) + (0.1875,0)$) --% + ($\trafficfactor*(0,0.175) + (-0.0125,0)$) -- cycle;% arrow backward + \fill[\foreground]% + ($\trafficfactor*(0,-0.1) + (0.0125,0)$) -- ($\trafficfactor*(0,-0.25) + (0.2125,0)$) -- ($\trafficfactor*(0,-0.4) + (0.0125,0)$) --% + ($\trafficfactor*(0,-0.325) + (0.0125,0)$) -- ($\trafficfactor*(0,-0.325)+(-0.1875,0)$) -- ($\trafficfactor*(0,-0.175) + (-0.1875,0)$) --% + ($\trafficfactor*(0,-0.175) + (0.0125,0)$) -- cycle;% arrow forward + }{% + \ifdefstring{\face}{backward}{% face + \fill[\foreground]% + ($\trafficfactor*(0,0.1) + (-0.0125,0)$) -- ($\trafficfactor*(0,0.25) + (-0.2125,0)$) -- ($\trafficfactor*(0,0.4) + (-0.0125,0)$) --% + ($\trafficfactor*(0,0.325) + (-0.0125,0)$) -- ($\trafficfactor*(0,0.325) + (0.1875,0)$) -- ($\trafficfactor*(0,0.175) + (0.1875,0)$) --% + ($\trafficfactor*(0,0.175) + (-0.0125,0)$) -- cycle;% arrow backward + \path[draw=\foreground,line width=0.5pt,densely dotted]% + ($\trafficfactor*(0,-0.1) + (0.0125,0)$) -- ($\trafficfactor*(0,-0.25) + (0.2125,0)$) -- ($\trafficfactor*(0,-0.4) + (0.0125,0)$) --% + ($\trafficfactor*(0,-0.325)+(0.0125,0)$) -- ($\trafficfactor*(0,-0.325)+(-0.1875,0)$) -- ($\trafficfactor*(0,-0.175) + (-0.1875,0)$) --% + ($\trafficfactor*(0,-0.175) + (0.0125,0)$) -- cycle;% arrow forward + }{ + \ifdefstring{\face}{bidirectional}{% face + \path[draw=\foreground,line width=0.5pt]% + ($\trafficfactor*(0,0.1) + (-0.0125,0)$) -- ($\trafficfactor*(0,0.25) + (-0.2125,0)$) -- ($\trafficfactor*(0,0.4) + (-0.0125,0)$) --% + ($\trafficfactor*(0,0.325) +(-0.0125,0)$) -- ($\trafficfactor*(0,0.325) +(0.1875,0)$) -- ($\trafficfactor*(0,0.175) + (0.1875,0)$) --% + ($\trafficfactor*(0,0.175) + (-0.0125,0)$) -- cycle;% arrow backward + \path[draw=\foreground,line width=0.5pt]% + ($\trafficfactor*(0,-0.1) + (0.0125,0)$) -- ($\trafficfactor*(0,-0.25) + (0.2125,0)$) -- ($\trafficfactor*(0,-0.4) + (0.0125,0)$) --% + ($\trafficfactor*(0,-0.325)+(0.0125,0)$) -- ($\trafficfactor*(0,-0.325)+(-0.1875,0)$) -- ($\trafficfactor*(0,-0.175)+(-0.1875,0)$) --% + ($\trafficfactor*(0,-0.175) + (0.0125,0)$) -- cycle;% arrow forward + }{% error message + \pgfkeys{/errors/unknown choice value={/tikz/trackschematic/face}{“forward“, “backward“ OR “bidirectional“ as key required}}% + }% + }% + }% end \ifdefstring{\face} + %% frame + % \path[draw=\foreground,line width=0.5pt]% + % (-0.3, 0.1) -- (-0.3, 0.5) -- (0.3, 0.5) -- (0.3, 0.1) + % (-0.3,-0.1) -- (-0.3,-0.5) -- (0.3,-0.5) -- (0.3,-0.1); + }},% END pics/direction_control/.style args={#1} + % symbology entry + symbology_direction_control/.pic = {% + \maintrack (0,0) -- (2.9,0);% + \maintrack (3.1,0) -- (6,0);% + \directioncontrol[bidirectional] at (2,0);% + \directioncontrol[forward] at (4,0);% + },% }% % %%%%%%%%%%%%%%% diff --git a/src/tikzlibrarytrackschematic.vehicles.code.tex b/src/tikzlibrarytrackschematic.vehicles.code.tex index 8ba0aea..cf8aad3 100644 --- a/src/tikzlibrarytrackschematic.vehicles.code.tex +++ b/src/tikzlibrarytrackschematic.vehicles.code.tex @@ -1,6 +1,9 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../test/test.tex +% %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % @@ -449,7 +452,57 @@ }% \ifdefstring{\labelalign}{center} \node[text=\foreground,anchor=\labelanchor,align=\labelalign] at (ts-v-l) {\footnotesize\emph{\labelcontent}};% label }% - }},% + }},% END pics/vehicles/.style args={#1/#2/#3} + % symbology entry + symbology_parked_vehicles/.pic = {% + \secondarytrack (0,0) -- (6,0);% + \parkedvehicles[] at (3,0) label ();% + },% + % symbology entry + symbology_train_shunt_mode/.pic = {% + \maintrack (0,0) -- (6,0);% + \shunting[forward] at (5,0) label ();% + },% + % symbology entry + symbology_train_shunting/.pic = {% + \maintrack (0,0) -- (6,0);% + \shunting[movement,forward] at (5,0) label ();% + },% + % symbology entry + symbology_train/.pic = {% + \maintrack (0,0) -- (6,0);% + \train[forward] at (5,0) label ();% + },% + % symbology entry + symbology_train_moving_slow/.pic = {% + \maintrack (0,0) -- (6,0);% + \train[run=slow,forward] at (5,0) label ();% + },% + % symbology entry + symbology_train_moving/.pic = {% + \maintrack (0,0) -- (6,0);% + \train[run=normal,forward] at (5,0) label ();% + },% + % symbology entry + symbology_train_moving_fast/.pic = {% + \maintrack (0,0) -- (6,0);% + \train[run=fast,forward] at (5,0) label ();% + },% + % symbology entry + symbology_train_ghost/.pic = {% + \maintrack (0,0) -- (6,0);% + \train[ghost,forward] at (5,0) label ();% + },% + % symbology entry + symbology_train_drive_automatic/.pic = {% + \maintrack (0,0) -- (6,0);% + \train[operation=automatic,forward] at (5,0) label ();% + },% + % symbology entry + symbology_train_drive_human/.pic = {% + \maintrack (0,0) -- (6,0);% + \train[operation=manual,forward] at (5,0) label ();% + },% }% % %%%%%%%%%%%%%%% diff --git a/test/bend_vehicles.tikz b/test/bend_vehicles.tikz index 6385037..f9bd8be 100644 --- a/test/bend_vehicles.tikz +++ b/test/bend_vehicles.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test bend vehicles}; diff --git a/test/berth.tikz b/test/berth.tikz index 4207ceb..28cd483 100644 --- a/test/berth.tikz +++ b/test/berth.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test berth symbols}; diff --git a/test/bridge.tikz b/test/bridge.tikz index 765e0ac..d76518b 100644 --- a/test/bridge.tikz +++ b/test/bridge.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test bridge symbol}; diff --git a/test/clearingpoints.tikz b/test/clearingpoints.tikz index bbf820a..e6d6ee9 100644 --- a/test/clearingpoints.tikz +++ b/test/clearingpoints.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test clearing points symbols}; diff --git a/test/crossing.tikz b/test/crossing.tikz index 1120f12..9e53929 100644 --- a/test/crossing.tikz +++ b/test/crossing.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test crossings}; diff --git a/test/electric.tikz b/test/electric.tikz new file mode 100644 index 0000000..f746513 --- /dev/null +++ b/test/electric.tikz @@ -0,0 +1,55 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = test.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\node[blue] at (4,0) {\large test electric symbols}; + +\foreach \i in {1,2,...,7}{% base coordinate + \coordinate (A\i) at ($(0,0) + 2*(0,-\i)$);% base coordinate + \coordinate (B\i) at ($(8,0) + 2*(0,-\i)$);% base coordinate + % + \maintrack (A\i) -- (B\i); % draw main tracks on base coordinate + % + % coordinates for testing symbols + \coordinate (X\i-1) at ($(1,0) + 2*(0,-\i)$); + \coordinate (X\i-2) at ($(3,0) + 2*(0,-\i)$); + \coordinate (X\i-3) at ($(5,0) + 2*(0,-\i)$); + \coordinate (X\i-4) at ($(7,0) + 2*(0,-\i)$); +} + +\distantpoweroff[forward ] at (X1-1) label (X1-1); +\distantpoweroff[forward ,position=left] at (X1-2) label (X1-2); +\distantpoweroff[backward,position=left] at (X1-3) label (X1-3); +\distantpoweroff[backward] at (X1-4) label (X1-4); + +\poweroff[forward ] at (X2-1) label (X2-1); +\poweroff[forward ,position=left] at (X2-2) label (X2-2); +\poweroff[backward,position=left] at (X2-3) label (X2-3); +\poweroff[backward] at (X2-4) label (X2-4); + +\poweron[forward ] at (X3-1) label (X3-1); +\poweron[forward ,position=left] at (X3-2) label (X3-2); +\poweron[backward,position=left] at (X3-3) label (X3-3); +\poweron[backward] at (X3-4) label (X3-4); + +\distantpantographdown[forward ] at (X4-1) label (X4-1); +\distantpantographdown[forward ,position=left] at (X4-2) label (X4-2); +\distantpantographdown[backward,position=left] at (X4-3) label (X4-3); +\distantpantographdown[backward] at (X4-4) label (X4-4); + +\pantographdown[forward ] at (X5-1) label (X5-1); +\pantographdown[forward ,position=left] at (X5-2) label (X5-2); +\pantographdown[backward,position=left] at (X5-3) label (X5-3); +\pantographdown[backward] at (X5-4) label (X5-4); + +\pantographup[forward ] at (X6-1) label (X6-1); +\pantographup[forward ,position=left] at (X6-2) label (X6-2); +\pantographup[backward,position=left] at (X6-3) label (X6-3); +\pantographup[backward] at (X6-4) label (X6-4); + +\wirelimit[forward ] at (X7-1) label (X7-1); +\wirelimit[forward ,position=left] at (X7-2) label (X7-2); +\wirelimit[backward,position=left] at (X7-3) label (X7-3); +\wirelimit[backward] at (X7-4) label (X7-4); diff --git a/test/level_crossing.tikz b/test/level_crossing.tikz index 660eafc..26934ca 100644 --- a/test/level_crossing.tikz +++ b/test/level_crossing.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test level crossing symbols}; diff --git a/test/messure.tikz b/test/measure.tikz similarity index 92% rename from test/messure.tikz rename to test/measure.tikz index 5d8e42f..7ff6533 100644 --- a/test/messure.tikz +++ b/test/measure.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test messure symbols}; @@ -29,4 +29,4 @@ \tikzset{hectometer base={(A3)},orientation=right}; \hectometer[] at (X2-1) mileage (\SI[math-rm=\mathsf]{6,505}{\kilo\metre}); \hectometer[shift label={(0.3,-1)}] at (X2-2) mileage (name); -% \messureline between (a) and (b); \ No newline at end of file +% \measureline between (a) and (b); \ No newline at end of file diff --git a/test/misc_topology.tikz b/test/misc_topology.tikz index 701ff1e..62fb276 100644 --- a/test/misc_topology.tikz +++ b/test/misc_topology.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test misc. topology symbols}; @@ -43,6 +43,13 @@ \bufferstop[forward] at (B3); \trackclosure at (A4); +\directioncontrol[forward] at (X4-2); +\directioncontrol[backward] at (X4-3); +\directioncontrol[bidirectional] at (X4-4); \trackclosure at (B4); + \trackclosure at (A5); +\directioncontrol[forward,position=left] at (X5-2); +\directioncontrol[backward,position=left] at (X5-3); +\directioncontrol[bidirectional,position=left] at (X5-4); \trackclosure at (B5); diff --git a/test/platform.tikz b/test/platform.tikz index bd51ce2..1c3c194 100644 --- a/test/platform.tikz +++ b/test/platform.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test platform symbols}; diff --git a/test/pylon.tikz b/test/pylon.tikz new file mode 100644 index 0000000..7768ab4 --- /dev/null +++ b/test/pylon.tikz @@ -0,0 +1,31 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = test.tex + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\node[blue] at (4,0) {\large test pylon symbols}; + +\foreach \i in {1,2,...,3}{ + \coordinate (A\i) at ($(0,0) + (0,-\i)$);% base coordinate + \coordinate (B\i) at ($(8,0) + (0,-\i)$);% base coordinate + % + \maintrack (A\i) -- (B\i); % draw main tracks on base coordinate + % + % coordinates for testing symbols + \coordinate (X\i-1) at ($(1,0) + (0,-\i)$); + \coordinate (X\i-2) at ($(3,0) + (0,-\i)$); + \coordinate (X\i-3) at ($(5,0) + (0,-\i)$); + \coordinate (X\i-4) at ($(7,0) + (0,-\i)$); +} + +\pylon[side=left ] at (X1-1); +\pylon[] at (X1-2); +\pylon[side=both ] at (X1-3); +\pylon[side=right] at (X1-4); +\pylon[side=left ] at (X2-1); +\pylon[side=right] at (X2-2); +\pylon[side=left ] at (X2-4); +\pylon[side=right] at (X2-4); +\pylon[side=right] at (X3-1); +\pylon[side=left ] at (X3-2); \ No newline at end of file diff --git a/test/shunting.tikz b/test/shunting.tikz index 79f6fa3..71dbfc3 100644 --- a/test/shunting.tikz +++ b/test/shunting.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test shunting movements}; diff --git a/test/signals.tikz b/test/signals.tikz index 0082edc..24d8604 100644 --- a/test/signals.tikz +++ b/test/signals.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test signal symbols}; diff --git a/test/slipturnout.tikz b/test/slipturnout.tikz index f813699..3c4473e 100644 --- a/test/slipturnout.tikz +++ b/test/slipturnout.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test slip turnouts}; diff --git a/test/test.pdf b/test/test.pdf index 2b15418..7852db0 100644 Binary files a/test/test.pdf and b/test/test.pdf differ diff --git a/test/test.tex b/test/test.tex index a20ef91..797b950 100644 --- a/test/test.tex +++ b/test/test.tex @@ -1,63 +1,81 @@ %!TEX TS-program = pdflatexmk -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. -\documentclass[tikz,border=2]{standalone} +\documentclass[border=2]{standalone} \usepackage{siunitx} \usepackage[prefix=]{xcolor-solarized} -\usetikzlibrary{trackschematic-dev.topology}% -\usetikzlibrary{trackschematic-dev.trafficcontrol}% -\usetikzlibrary{trackschematic-dev.vehicles}% -\usetikzlibrary{trackschematic-dev.constructions}% -\usetikzlibrary{trackschematic-dev.messures}% +\usepackage[dev]{tikz-trackschematic-dev} \begin{document} \begin{tikzpicture}[font=\sffamily] \input{turnout.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{crossing.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{slipturnout.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{misc_topology.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{shunting.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{train.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{bend_vehicles.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{signals.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{clearingpoints.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{transmitter.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{platform.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{level_crossing.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{bridge.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] \input{berth.tikz} \end{tikzpicture} + \begin{tikzpicture}[font=\sffamily] - \input{messure.tikz} + \input{pylon.tikz} + \end{tikzpicture} + + \begin{tikzpicture}[font=\sffamily] + \input{measure.tikz} + \end{tikzpicture} + + \begin{tikzpicture}[font=\sffamily] + \input{electric.tikz} \end{tikzpicture} \end{document} \ No newline at end of file diff --git a/test/test_symbology_table.pdf b/test/test_symbology_table.pdf new file mode 100644 index 0000000..9bed707 Binary files /dev/null and b/test/test_symbology_table.pdf differ diff --git a/test/test_symbology_table.tex b/test/test_symbology_table.tex new file mode 100644 index 0000000..65c265d --- /dev/null +++ b/test/test_symbology_table.tex @@ -0,0 +1,18 @@ +%!TEX TS-program = pdflatexmk + +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +\documentclass{article} +\usepackage{fullpage} +% \usepackage{glossaries} +\usepackage[dev]{tikz-trackschematic-dev} + +% \makeglossaries + +\begin{document} + \tsFullSymbology + + % \newpage + % \glsaddall\printglossaries +\end{document} \ No newline at end of file diff --git a/test/train.tikz b/test/train.tikz index 579d46f..c6b8249 100644 --- a/test/train.tikz +++ b/test/train.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test train run}; diff --git a/test/transmitter.tikz b/test/transmitter.tikz index d2de3dc..0587768 100644 --- a/test/transmitter.tikz +++ b/test/transmitter.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test transmitter symbols}; diff --git a/test/turnout.tikz b/test/turnout.tikz index c39456e..f448bf6 100644 --- a/test/turnout.tikz +++ b/test/turnout.tikz @@ -1,7 +1,7 @@ %!TEX TS-program = pdflatexmk %!TEX root = test.tex -% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. \node[blue] at (4,0) {\large test turnouts};