From 47bca0418547a87cc4072c560360e8bb64f46240 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 3 Jun 2022 21:16:12 +0000 Subject: tikz-trackschematic (3jun22) git-svn-id: svn://tug.org/texlive/trunk@63480 c570f23f-e606-0410-a88d-b1316a301751 --- .../doc/latex/tikz-trackschematic/CHANGELOG.md | 15 +++++++++++++-- .../doc/latex/tikz-trackschematic/CITATION.cff | 8 ++++---- .../minimal_working_example.pdf | Bin 1133 -> 1133 bytes .../minimal_working_example.png | Bin 912 -> 912 bytes .../tikz-trackschematic-examples/station_berg.pdf | Bin 35773 -> 35773 bytes .../tikz-trackschematic-examples/station_berg.png | Bin 49049 -> 49049 bytes .../tikz-trackschematic-examples/station_berg.tex | 2 +- .../station_chamstadt.pdf | Bin 38837 -> 38837 bytes .../station_chamstadt.png | Bin 69857 -> 69857 bytes .../station_chamstadt.tex | 2 +- .../tikz-trackschematic-snippets.pdf | Bin 185534 -> 187309 bytes .../tikz-trackschematic-symbology-table.pdf | Bin 77415 -> 77415 bytes .../tikz-trackschematic/tikz-trackschematic.pdf | Bin 245391 -> 245446 bytes .../tikz-trackschematic/tikz-trackschematic.tex | 16 +++++++++------- 14 files changed, 28 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/CHANGELOG.md b/Master/texmf-dist/doc/latex/tikz-trackschematic/CHANGELOG.md index e142fd40924..6acf4ea3a18 100644 --- a/Master/texmf-dist/doc/latex/tikz-trackschematic/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/tikz-trackschematic/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog + All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), @@ -8,10 +9,18 @@ Categories: Added, Changed, Deprecated, Removed, Fixed, and Security. ## [Unreleased] -### Added +### Todo * i18n option + +## Version [0.7.1] - 2022-06-02 + +### Changed + + * handeling color background and foreground with native xcolor alias "\colorlet{}{}" instead of pgf macro + + ## Version [0.7.0] - 2022-04-02 ### Added @@ -31,6 +40,7 @@ Categories: Added, Changed, Deprecated, Removed, Fixed, and Security. * foreground of sidetrack (alias) * PackageWarning Error in development mode + ## Version [0.6.3] - 2022-02-15 ### Added @@ -149,7 +159,8 @@ Categories: Added, Changed, Deprecated, Removed, Fixed, and Security. Basic concept of a library with railway topology symbols and some examples. -[Unreleased]: https://github.com/railtoolkit/tikz-trackschematic/compare/v0.7.0...master +[Unreleased]: https://github.com/railtoolkit/tikz-trackschematic/compare/v0.7.1...master +[0.7.1]: https://github.com/railtoolkit/tikz-trackschematic/compare/v0.7.0...v0.7.1 [0.7.0]: https://github.com/railtoolkit/tikz-trackschematic/compare/v0.6.3...v0.7.0 [0.6.3]: https://github.com/railtoolkit/tikz-trackschematic/compare/v0.6.2...v0.6.3 [0.6.2]: https://github.com/railtoolkit/tikz-trackschematic/compare/v0.6.1...v0.6.2 diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/CITATION.cff b/Master/texmf-dist/doc/latex/tikz-trackschematic/CITATION.cff index 738afafa4c9..29929434d0d 100644 --- a/Master/texmf-dist/doc/latex/tikz-trackschematic/CITATION.cff +++ b/Master/texmf-dist/doc/latex/tikz-trackschematic/CITATION.cff @@ -17,14 +17,14 @@ identifiers: value: 10.5281/zenodo.5539844 description: 'Collection of archived snapshots of all versions of the library' - type: doi - value: 10.5281/zenodo.6222186 + value: 10.5281/zenodo.6418404 description: Current version url: 'https://www.railtoolkit.org/projects/tikz-trackschematic/' repository: 'https://github.com/railtoolkit/tikz-trackschematic' repository-code: 'https://repository.ivev.bau.tu-bs.de/martin/tikz-trackschematic' repository-artifact: 'https://ctan.org/pkg/tikz-trackschematic' abstract: >- - A TikZ library for creating track diagrams inz + A TikZ library for creating track diagrams in railways. The tikz-trackschematic library is a toolbox of symbols geared primarily towards creating track schematic for either research or @@ -40,5 +40,5 @@ keywords: - tracks - schematics license: ISC -version: v0.6.3 -date-released: 2022-02-15 +version: v0.7.0 +date-released: 2022-04-02 diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/minimal_working_example.pdf b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/minimal_working_example.pdf index a07496e0369..887028d3106 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/minimal_working_example.pdf and b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/minimal_working_example.pdf differ diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/minimal_working_example.png b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/minimal_working_example.png index c7202597652..4ab302ee709 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/minimal_working_example.png and b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/minimal_working_example.png differ diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.pdf b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.pdf index 27bce31cd75..f381ea0f0a6 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.pdf and b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.pdf differ diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.png b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.png index 3636700d4de..bcd52f97312 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.png and b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.png differ diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.tex b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.tex index f6d00d85ee1..b33a3ec3970 100644 --- a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.tex +++ b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_berg.tex @@ -9,7 +9,7 @@ \begin{document} \begin{tikzpicture}[font=\sffamily] { % station names - \tikzset{every node/.style={\foreground!50!\background}}; + \tikzset{every node/.style={foreground!50!background}}; \node[right,align=left] at ( 2,1.3) {to and from\\ Arnau}; \node at (21,3.3) {{\LARGE Bf Berg}}; \node[left,align=right] at (38,1.3) {to and from\\ Chamstadt}; diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.pdf b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.pdf index 85b9c3b7579..6c5b635b376 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.pdf and b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.pdf differ diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.png b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.png index 50474237f0c..998b40adb4d 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.png and b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.png differ diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.tex b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.tex index 66a020bf7ba..2cc0e3c600f 100644 --- a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.tex +++ b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-examples/station_chamstadt.tex @@ -9,7 +9,7 @@ \begin{document} \begin{tikzpicture}[font=\sffamily] { % station names - \tikzset{every node/.style={\foreground!50!\background}}; + \tikzset{every node/.style={foreground!50!background}}; \node[right,align=left] at ( 5,1.3) {to and from\\ Berg}; \node at (21,3.9) {{\LARGE Bf Chamstadt}}; \node[left,align=right] at (37.5,1.3) {to and from\\ Dornroda}; diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-snippets.pdf b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-snippets.pdf index beaf4a5c7a8..861f1f741bd 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-snippets.pdf and b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-snippets.pdf differ diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-symbology-table.pdf b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-symbology-table.pdf index 1d5169e23cd..f5dadac95a2 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-symbology-table.pdf and b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-symbology-table.pdf differ diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic.pdf b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic.pdf index d4ac7644c85..614b244d84f 100644 Binary files a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic.pdf and b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic.pdf differ diff --git a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic.tex b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic.tex index dfea410fc8b..e83eba027f5 100644 --- a/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic.tex +++ b/Master/texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic.tex @@ -60,7 +60,7 @@ This project has received funding from the European Union’s Horizon 2020 research and innovation programme under grant agreement No. 826347. If you want to cite this project please use the follwoing informations:\\ - Scheidt, M. (2021). TikZ-trackschematics (Version \vhCurrentVersion) DOI: 10.5281/zenodo.5539845 + Scheidt, M. (2021). TikZ-trackschematics (Version \vhCurrentVersion) DOI: 10.5281/zenodo.5539844 \subsection{Requirements}\label{sec:require} @@ -262,8 +262,8 @@ \subsection{Colors: background and foreground}\label{sec:colors} - The two main colors \texttt{white} and \texttt{black} are set for the \texttt{background} and \texttt{foreground} keys by default. - If you want to change them, provide a new value for the keys. + The two main colors \texttt{background} and \texttt{foreground} are set as an alias to \texttt{white} and \texttt{black} by default. + If you want to change them, override them by defining a new alias. For example like this:\\ \begin{minipage}[c]{0.65\textwidth} \begin{lstlisting}[gobble=8] @@ -271,12 +271,13 @@ % load the library \usepackage{tikz-trackschematic} + + % set the colors + \colorlet{background}{lightgray} + \colorlet{foreground}{violet} \begin{document} \begin{tikzpicture} - % set the colors - \tikzset{background=lightgray,foreground=violet} - \maintrack (0,0) -- (6,0); \train[forward] at (5,0) label (grey train); \end{tikzpicture} @@ -286,7 +287,8 @@ \hfil \begin{minipage}[c]{0.34\textwidth} \begin{tikzpicture} - \tikzset{background=lightgray,foreground=violet} + \colorlet{background}{lightgray} + \colorlet{foreground}{violet} \path (-0.2,-1.6) rectangle (5.2,1.6); \coordinate (A) at (0 ,0); \coordinate (T) at (4.5,0); -- cgit v1.2.3