<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% symbol library for TikZ track schematics
%
% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license)
%
% Permission to use, copy, modify, and/or distribute this file 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.symbology.code.tex}%
%%%%%%%%%%%%%%%
% global settings
%%%%%%%%%%%%%%%
\RequirePackage{booktabs,xltabular,multicol,adjustbox}%
\usetikzlibrary{calc}%
%
%%%%%%%%%%%%%%%
% commands
%%%%%%%%%%%%%%%
%
\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}}}%
% }{}%
%%
%% command
\DeclareRobustCommand\tsFullSymbology{%
  \begin{xltabular}{\textwidth}{cX}%
    \toprule%
    \textbf{Notation}                   &amp; \multicolumn{1}{c}{\textbf{Description}}          \\%
    \midrule%
    \endfirsthead%
    % -----------
    \midrule%
    \textbf{Notation}                   &amp; \multicolumn{1}{c}{\textbf{Description}}          \\%
    \midrule%
    \endhead%
    % -----------
    \midrule%
    \multicolumn{2}{c}{\footnotesize -- continued on next page -- }                         \\%
    \endfoot%
    % -----------
    \bottomrule%
    \endlastfoot%
    % -----------
    \tsSymbol{main_track}               &amp; main track                                        \\%
    \tsSymbol{secondary_track}          &amp; secondary track                                   \\%
    \tsSymbol{track_label}              &amp; track label                                       \\%
    \tsSymbol{bufferstop}               &amp; bufferstop                                        \\%
    \tsSymbol{friction_bufferstop}      &amp; friction bufferstop                               \\%
    \tsSymbol{track_closure}            &amp; track closure                                     \\%
    \tsSymbol{turnout}                  &amp; turnout                                           \\%
    \tsSymbol{turnout_fouling}          &amp; turnout with fouling point indicator              \\%
    \tsSymbol{turnout_manually}         &amp; turnout operated manually                         \\%
    \tsSymbol{diamond_crossing}         &amp; diamond crossing                                  \\%
    \tsSymbol{slip_turnout}             &amp; double-slip turnout                               \\%
    \tsSymbol{turnout_points_right}     &amp; turnout with points in right position             \\%
    \tsSymbol{turnout_points_left}      &amp; turnout with points in left position              \\%
    \tsSymbol{turnout_points_moving}    &amp; turnout with moving points                        \\%
    \tsSymbol{derailer}                 &amp; derailer                                          \\%
    \tsSymbol{parked_vehicles}          &amp; parked vehicles                                   \\%
    \tsSymbol{train_shunt_mode}         &amp; train in shunting mode                            \\%
    \tsSymbol{train_shunting}           &amp; train shunting                                    \\%
    \tsSymbol{train}                    &amp; train                                             \\%
    \tsSymbol{train_moving_slow}        &amp; train moving slow                                 \\%
    \tsSymbol{train_moving}             &amp; train moving                                      \\%
    \tsSymbol{train_moving_fast}        &amp; train moving fast                                 \\%
    \tsSymbol{train_ghost}              &amp; train ghost                                       \\%
    \tsSymbol{train_drive_automatic}    &amp; train operated automatic                          \\%
    \tsSymbol{train_drive_human}        &amp; train operated by human                           \\%
    \tsSymbol[1.4]{distant_signal}      &amp; distant signal                                    \\%
    \tsSymbol[1.4]{distant_speed_signal}&amp; distant signal with speed indicator               \\%
    \tsSymbol[1.4]{speed_signal}        &amp; speed signal                                      \\%
    \tsSymbol[1.4]{block_signal}        &amp; block signal                                      \\%
    \tsSymbol[1.4]{route_signal}        &amp; route signal                                      \\%
    \tsSymbol[1.4]{combined_signal}     &amp; combined signal (distant, block and route signal) \\%
    \tsSymbol[1.4]{shunt_signal}        &amp; shunt signal                                      \\%
    \tsSymbol[1.4]{locked_shunt_signal} &amp; shunt signal locked                               \\%
    \tsSymbol[1.4]{shunt_limit}         &amp; shunt limit                                       \\%
    \tsSymbol[1.4]{train_berth_sign}    &amp; train berth sign                                  \\%
    \tsSymbol[1.4]{view_point}          &amp; view point                                        \\%
    \tsSymbol[1.4]{braking_point}       &amp; braking point                                     \\%
    \tsSymbol[1.4]{end_of_authority}    &amp; end of movement authority                         \\%
    \tsSymbol[1.4]{danger_point}        &amp; danger point                                      \\%
    \tsSymbol{clearing_point}           &amp; clearing point                                    \\%
    \tsSymbol{block_clearing_point}     &amp; block clearing point                              \\%
    \tsSymbol{route_clearing_point}     &amp; route clearing point                              \\%
    \tsSymbol{balise_group}             &amp; unenumerated balise group (switchable)            \\%
    \tsSymbol{balise_individual}        &amp; individual balises (switchable)                   \\%
    \tsSymbol{trackloop}                &amp; track loop transmitter                            \\%
    \tsSymbol{route}                    &amp; route                                             \\%
    \tsSymbol{direction_control}        &amp; direction control                                 \\%
    \tsSymbol{platform}                 &amp; platform                                          \\%
    \tsSymbol{level_crossing}           &amp; level crossing                                    \\%
    \tsSymbol[2.0]{bridge}              &amp; bridge                                            \\%
    \tsSymbol[1.4]{hump}                &amp; hump                                              \\%
    \tsSymbol{pylon}                    &amp; pylons                                            \\%
    \tsSymbol{interlocking}             &amp; interlocking                                      \\%
    \tsSymbol[1.4]{distant_power_off}   &amp; distant power off                                 \\%
    \tsSymbol[1.4]{power_off}           &amp; power off                                         \\%
    \tsSymbol[1.4]{power_on}            &amp; power on                                          \\%
    \tsSymbol[1.4]{distant_pantograph_down}&amp; distant pantograph down                        \\%
    \tsSymbol[1.4]{pantograph_down}     &amp; pantograph down                                   \\%
    \tsSymbol[1.4]{pantograph_up}       &amp; pantograph up                                     \\%
    \tsSymbol[1.4]{wire_limit}          &amp; wire limit                                        \\%
    \tsSymbol[2.0]{track_distance}      &amp; track distance                                    \\%
    \tsSymbol{train_berth}              &amp; train berth                                       \\%
    \tsSymbol{measure_line}             &amp; measure line                                      \\%
    \tsSymbol{hectometer}               &amp; hectometer                                        \\%
    \tsSymbol{track_marking}            &amp; track marking                                     \\%
  \end{xltabular}%
}%
%%%%%%%%%%%%%%%
\endinput</pre></body></html>