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 \usepackage{tikz-trackschematic}.
master
Martin Scheidt 2021-01-02 14:04:05 +01:00
parent 204012a9ae
commit e28ce6c4c5
191 changed files with 3743 additions and 758 deletions

View File

@ -1,6 +1,6 @@
ISC License
Copyright (c) 2018 - 2020, Martin Scheidt \<m.scheidt@tu-bs.de\>
Copyright (c) 2018 - 2021, Martin Scheidt \<m.scheidt@tu-bs.de\>
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.

View File

@ -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 \<m.scheidt@tu-bs.de\>
Copyright (c) 2018 - 2021, Martin Scheidt \<m.scheidt@tu-bs.de\> (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.

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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);

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);
\measureline (A) -- (B);
\trackclosure at (A);
\trackclosure at (B);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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.

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

Some files were not shown because too many files have changed in this diff Show More