updated paackage siunitx option change
parent
58f8f08088
commit
9f33480227
|
@ -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}%
|
||||
|
|
|
@ -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);
|
BIN
test/test.pdf
BIN
test/test.pdf
Binary file not shown.
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue