Oldak wrote:[…] While skimming your documentation, I couldn't find a solution to this.
Is there an option for \SIrange to express the range using an ndash, with the unit following the end of the range (300–350g)? […]
Actually the
siunitx manual is quite clear in this regard. Searching the manual for „range“ with the search function of your PDF viewer gives you all necessary information, e. g. Table 16 and Table 23 (see code below}.
Oldak wrote:[…] \SI{3}{\gram\per\liter} results in "3 g L^{-1}". Is there an option to place a \cdot between "g" and "L" for the sake of clarity? […]
According to Section 5.10 of the manual this separator is also given by an option (see code below).
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{siunitx}
\usepackage{fix-cm}
\sisetup{%
load-configurations=abbreviations,
inter-unit-separator=\cdot,
output-decimal-marker={.},
range-phrase={--},
range-units=single
}
\begin{document}
\SIrange{300}{350}{\g}
\SI{3}{\g\per\liter}
\end{document}
Oldak wrote:[…] Also, why does \litre result in "l" and \liter result in "L"? (I thought only "L" was acceptable.) […]
The according Wikipedia article has an explanation [1]. The German version of this article says that the „L“ has been introduced in order not to mix it up the „l“ with the digit „1“. Both symbols are accepted. I think the package just accommodates to that.
[1]
Litre — Wikipedia, the free encyclopedia
Best regards and welcome to the board
Thorsten