2019-07-21 19:28:30 +02:00
%% symbol library for TikZ track schematics
%
% Copyright 2019 Martin Scheidt (ISC license)
%
2019-07-21 14:32:44 +02:00
% Permission to use, copy, modify, and/or distribute this file 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.code.tex}
2019-09-30 15:16:20 +02:00
%%%%%%%%%%%%%%%
% global settings
%%%%%%%%%%%%%%%
\RequirePackage { tikz,xcolor}
\colorlet { background} { white}
\colorlet { foreground} { black}
\pgfkeys { %
/tikz/trackschematic/.is family,%
/tikz/trackschematic/.cd,%
%% face
face/.value required,% forward OR backward
face/.store in=\face ,
/tikz/face/.forward to=/tikz/trackschematic/face,%
/tikz/forward/.code={ \pgfkeys { /tikz/trackschematic/face=forward} } ,%
/tikz/backward/.code={ \pgfkeys { /tikz/trackschematic/face=backward} } ,%
%
}
%%%%%%%%%%%%%%%
% symbol definitions
%%%%%%%%%%%%%%%
2019-07-21 14:32:44 +02:00
\usetikzlibrary { trackschematic.topology} %
\usetikzlibrary { trackschematic.trafficcontrol} %
\usetikzlibrary { trackschematic.vehicles} %
2019-09-30 15:16:20 +02:00
\usetikzlibrary { trackschematic.constructions} %
2019-07-21 14:32:44 +02:00
\endinput