2020-01-16 21:49:53 +01:00
# TikZ-trackschematic
2020-01-14 17:11:10 +01:00
------------
# Installation
2018-09-14 21:04:15 +02:00
2020-01-14 17:11:10 +01:00
The tikz library is contained in the files:
2021-01-02 14:04:05 +01:00
* tikz-trackschematic.sty
2020-01-14 17:11:10 +01:00
* tikzlibrarytrackschematic.code.tex,
* tikzlibrarytrackschematic.topology.code.tex,
* tikzlibrarytrackschematic.trafficcontrol.code.tex,
* tikzlibrarytrackschematic.vehicles.code.tex,
2021-01-02 14:04:05 +01:00
* 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}
```
2021-01-02 19:47:14 +01:00
in any LaTeX file.
2020-01-14 17:11:10 +01:00
------------
2019-07-21 19:28:30 +02:00
2021-01-02 14:04:05 +01:00
# Minimal working example
2019-07-21 19:28:30 +02:00
```TeX
2021-01-02 14:04:05 +01:00
\documentclass{standalone}
\usepackage{tikz-trackschematic}
2019-07-21 19:28:30 +02:00
\begin{document}
\begin{tikzpicture}
2019-09-30 15:16:20 +02:00
2019-07-21 19:28:30 +02:00
\coordinate (A) at (0,0);
\coordinate (B) at (6,0);
\coordinate (T) at (5,0);
2019-09-30 15:16:20 +02:00
\maintrack (A) -- (B);
2020-01-14 17:11:10 +01:00
\train[forward] at (T) label (train);
2019-09-30 15:16:20 +02:00
2019-07-21 19:28:30 +02:00
\end{tikzpicture}
\end{document}
```
2021-01-02 14:04:05 +01:00
results in:
2021-01-02 16:00:56 +01:00
2021-01-02 14:21:03 +01:00
![train on a track ](https://glossary.ivev.bau.tu-bs.de/tiki-download_file.php?fileId=28&display&scale=.4 "train on a track" )
2021-01-02 14:04:05 +01:00
------------
# 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.
2019-07-21 19:28:30 +02:00
------------
2020-01-14 17:11:10 +01:00
2019-07-21 19:28:30 +02:00
# History
2021-01-02 14:04:05 +01:00
## Version 0.6
2021-01-02 14:21:03 +01:00
* created an encapsulating package for future flexibility
2021-01-02 14:04:05 +01:00
* added symbols for direction control, track marking, pylons and electric wiring
* change symbol for friction bufferstop;
2021-01-02 14:21:03 +01:00
* changed load command to \usepackage{tikz-trackschematic}
2021-01-02 14:04:05 +01:00
2020-02-10 18:01:40 +01:00
## Version 0.5.1
* modified symbol "end of movement authority"
* added symbols "braking point" and "danger point"
2019-09-30 15:16:20 +02:00
## Version 0.5
2020-01-14 17:11:10 +01:00
* new improved syntax for topology
* documentation
2019-09-30 15:16:20 +02:00
2019-07-21 19:28:30 +02:00
## Version 0.4
* added document for symbology
* renamed overview to snippets
* reworked library for common tikz library layout
## Version 0.3
2019-07-20 16:38:49 +02:00
* moved snippet folder to root folder
* added shunting movements
* added points to turnouts
* added moving trains
* defined and used color foreground and background
2019-07-21 19:28:30 +02:00
## Version 0.2
2018-12-19 15:23:27 +01:00
* added transmitters
* reorganized src library
* minor improvements
2019-07-21 19:28:30 +02:00
## Version 0.1
2018-09-14 21:04:15 +02:00
Basic concept of a library with railway topology symbols and some examples.
2019-07-21 19:28:30 +02:00
------------
2020-01-14 17:11:10 +01:00
2019-07-21 19:28:30 +02:00
# Roadmap
2018-09-14 21:04:15 +02:00
2020-01-14 17:11:10 +01:00
* rethink syntax
2019-07-21 19:28:30 +02:00
* provide option for internationalziation (i18n)
2021-01-02 14:04:05 +01:00
* replace "\gettikzxy" with "\path let" syntax
2020-01-14 17:11:10 +01:00
* rewrite library with better coding skills
------------
# Acknowledgement
This project has received funding from the European Union’ s Horizon 2020 research and innovation programme under grant agreement No. 826347.
------------
# License
2021-01-02 14:04:05 +01:00
[![Open Source Initiative Approved License logo ](https://opensource.org/files/OSIApproved_100X125.png )](https://opensource.org)
2020-01-14 17:11:10 +01:00
2021-01-02 14:04:05 +01:00
Copyright (c) 2018 - 2021, Martin Scheidt \<m.scheidt@tu-bs.de\> (ISC License)
2020-01-14 17:11:10 +01:00
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.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.