fixed small mistakes

master
Martin Scheidt 2022-02-22 23:13:40 +01:00
parent ad91fd973d
commit 71ae156dbb
3 changed files with 15 additions and 43 deletions

View File

@ -1,19 +1,16 @@
\documentclass{standalone} % LaTeX \documentclass{standalone}
\usepackage{tikz-trackschematic} % loading the library
\begin{document} % loading the library
\begin{tikzpicture} \usepackage{tikz-trackschematic}
% TikZ command: specify coordinates \begin{document} % LaTeX
\coordinate (A) at (0,0); \begin{tikzpicture} % TikZ
\coordinate (B) at (6,0);
\coordinate (T) at (5,0);
% draw a track % draw a track with (x,y) coordinates
\maintrack (A) -- (B); \maintrack (0,0) -- (6,0);
% place a train on the track % place a train on the track
\train[forward] at (T) label (); \train[forward] at (5,0) label (T1);
\end{tikzpicture} \end{tikzpicture}
\end{document} \end{document}

View File

@ -4,15 +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. % 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[ \documentclass{scrartcl}
paper=a4,
% version=3.25,
pagesize=pdftex,
twoside=false,
toc=listof,
BCOR=0pt,
DIV=15,
]{scrartcl}
\usepackage{tikz-trackschematic-documentation} \usepackage{tikz-trackschematic-documentation}
@ -21,7 +13,7 @@
%\newcommand{\initials}{fullname} %\newcommand{\initials}{fullname}
\newcommand{\MS}{Martin Scheidt} \newcommand{\MS}{Martin Scheidt}
\newcommand{\GW}{Gregor Wehrle} \newcommand{\GW}{Gregor Wehrle}
\newcommand{\authorlist}{\MS, \GW} \newcommand{\authorlist}{by the project contributors}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -35,7 +27,7 @@
\begin{document} \begin{document}
\title{\tikz\node[scale=1.2]{\color{gray}\Huge\sffamily \{\textcolor{black}{Ti\textcolor{orange}{\emph{k}}Z}-\textcolor{blue}{trackschematic}\}};} \title{\color{gray}\Huge\sffamily \{\textcolor{black}{Ti\textcolor{orange}{\emph{k}}Z}-\textcolor{blue}{trackschematic}\}}
\subtitle{A Ti\emph{k}Z library for track schematics} \subtitle{A Ti\emph{k}Z library for track schematics}
\author{\authorlist} \author{\authorlist}
\date{Version \vhCurrentVersion~ from \vhCurrentDate} \date{Version \vhCurrentVersion~ from \vhCurrentDate}
@ -106,24 +98,7 @@
Here is a complete working minimal example which will produce a single PDF file with the figure on the right:\\ Here is a complete working minimal example which will produce a single PDF file with the figure on the right:\\
\begin{minipage}[c]{0.51\textwidth} \begin{minipage}[c]{0.51\textwidth}
\centering \centering
\begin{lstlisting}[gobble=8] \lstinputlisting[firstline=0]{./examples/minimal_working_example.tex}
\documentclass{standalone}
% loading the library
\usepackage{tikz-trackschematic}
\begin{document}
\begin{tikzpicture}
% draw a track
\maintrack (0,0) -- (6,0);
% place a train on the track
\train[forward] at (5,0) label ();
\end{tikzpicture}
\end{document}
\end{lstlisting}
\end{minipage} \end{minipage}
\hfil \hfil
\begin{minipage}[c]{0.45\textwidth} \begin{minipage}[c]{0.45\textwidth}
@ -1403,7 +1378,7 @@
\end{lstlisting} \end{lstlisting}
\subsection{Messures}\label{sec:measures} \subsection{Measures}\label{sec:measures}
\symboldescription{Track distance}\label{sym:trackdistance} \symboldescription{Track distance}\label{sym:trackdistance}
\tsSymbol[2.0]{track_distance} \tsSymbol[2.0]{track_distance}

View File

@ -34,6 +34,6 @@
bug fixing bug fixing
} }
\vhEntry{0.6.3}{2022-02-15}{MS|GW}{ \vhEntry{0.6.3}{2022-02-15}{MS|GW}{
fixed spelling error and documented (slip-)turnout option: points=moving; updated link to signalschablone; automated testing and releasing fixed spelling error and documented (slip-) turnout option: points=moving; updated link to signalschablone; automated testing and releasing
} }
\end{versionhistory} \end{versionhistory}