diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex index d6d64170623..d7b2a632182 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex @@ -1,6 +1,6 @@ %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% 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. % @@ -59,5 +59,17 @@ % }% % % %%%%%%%%%%%%%%% +% anchor are used in converting a symbol to .svg for further import in different tools +%%%%%%%%%%%%%%% +\newcommand\anchor{}% just for safety +\def\anchor#1(#2){% \anchor at (coord); + \pic at (#2) {anchor}% symbol +}% +% symbol definition +\tikzset{% + anchor/.pic={\fill[magenta] (0,0) circle (0.004);};% +}% +% +%%%%%%%%%%%%%%% \endinput% %
\ No newline at end of file |