added Overleaf and corrected examples
parent
ee87caa44f
commit
28f7c5f02b
|
@ -54,6 +54,8 @@ results in:
|
|||
|
||||
![train on a track](https://raw.githubusercontent.com/railtoolkit/tikz-trackschematic/master/doc/symbology/symbols_png/train_direction_forward.png "train on a track")
|
||||
|
||||
The library can also be used in [Overleaf](https://www.overleaf.com/read/crrxfcdzbhbd).
|
||||
|
||||
------------
|
||||
|
||||
# Symbology and meaning
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,19 @@
|
|||
\documentclass{standalone} % LaTeX
|
||||
\usepackage{tikz-trackschematic} % loading the library
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}
|
||||
|
||||
% TikZ command: specify coordinates
|
||||
\coordinate (A) at (0,0);
|
||||
\coordinate (B) at (6,0);
|
||||
\coordinate (T) at (5,0);
|
||||
|
||||
% draw a track
|
||||
\maintrack (A) -- (B);
|
||||
|
||||
% place a train on the track
|
||||
\train[forward] at (T) label ();
|
||||
|
||||
\end{tikzpicture}
|
||||
\end{document}
|
|
@ -4,7 +4,7 @@
|
|||
% Permission to use, copy, modify, and/or distribute this file 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}
|
||||
\usetikzlibrary{trackschematic}
|
||||
\usepackage{tikz-trackschematic} % loading the library
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}[font=\sffamily]
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
% Permission to use, copy, modify, and/or distribute this file 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}
|
||||
\usetikzlibrary{trackschematic}
|
||||
\usepackage{tikz-trackschematic} % loading the library
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}[font=\sffamily]
|
||||
|
|
Loading…
Reference in New Issue