updated paackage siunitx option change

master
Martin Scheidt 2021-12-09 11:48:17 +01:00
parent 58f8f08088
commit 9f33480227
4 changed files with 10 additions and 3 deletions

View File

@ -80,7 +80,10 @@
}%
\RequirePackage{longtable,tikz,siunitx,adjustbox,rotating}
\sisetup{math-rm=\mathsf}
\sisetup{
text-family-to-math = true,
text-series-to-math = true
}
\IfFileExists{tikz-trackschematic-dev.sty}{%
\RequirePackage[dev]{tikz-trackschematic}%

View File

@ -23,10 +23,10 @@
}
\trackdistance between (3,-1) and (X1-2) label (4,50);
\trackdistance between (X1-2) and (X2-3) label (\SI[math-rm=\mathsf]{6,50}{\metre});
\trackdistance between (X1-2) and (X2-3) label (\sffamily \SI{6,50}{\metre});
\trackdistance between (X1-4) and (X2-4) label (5,50);
\tikzset{hectometer base={(A3)},orientation=right};
\hectometer[] at (X2-1) mileage (\SI[math-rm=\mathsf]{6,505}{\kilo\metre});
\hectometer[] at (X2-1) mileage (\sffamily \SI{6,505}{\kilo\metre});
\hectometer[shift label={(0.3,-1)}] at (X2-2) mileage (name);
% \measureline between (a) and (b);

Binary file not shown.

View File

@ -6,6 +6,10 @@
\documentclass[border=2]{standalone}
\usepackage{siunitx}
\sisetup{
text-family-to-math = true,
text-series-to-math = true
}
\usepackage[prefix=]{xcolor-solarized}
\usepackage[dev]{tikz-trackschematic}