Tag Info

Hot answers tagged

13

This can be done by adding add-integer-zero=false, but you have to typeset your numbers without the leading zeroes, e.g. <.001 instead of <0.001. MWE \documentclass{article} %tables \usepackage{booktabs} \usepackage{siunitx} %align numbers by decimal point \begin{document} \begin{tabular}{ S[table-format = 2] S[table-format = -1.2, ...


10

You should write \num[separate-uncertainty]{7.5(25)e-5} to obtain MWE \documentclass{report} \usepackage{siunitx} \begin{document} \num[separate-uncertainty]{7.5(25)e-5} \end{document}


6

I'm not sure how authoritative is the source you cite. But if you look closely, in the text only fully spelled out units are used, not their symbols. At http://physics.nist.gov/Pubs/SP811/sec07.html we find Even when the value of a quantity is used as an adjective, a space is left between the numerical value and the unit symbol. (This rule recognizes ...


5

Here, I take Bruno's answer at Shear transform a "box", and use it to unslant the computer-modern greek letters. I introduce \unslant[slant]{math-symbol}, where the default value of unslant correction is set to -0.25. As you can see, the unslanted font is very visually very compatible with the original, both of which are shown. No packages ...


4

For a lack of spanish at this time: \documentclass[spanish]{scrartcl} \usepackage{babel} \usepackage[per-mode=symbol]{siunitx} \ExplSyntaxOn \providetranslation [ to = Spanish ] { to~(numerical~range) } { iraultza }%substitute the right word here \ExplSyntaxOff \begin{document} \SIrange{10}{50}{\milli\metre} \end{document} siunitx works closely ...


2

I do not advocate this at all, but if you must do it, I would propose a new command, \SIadj, for easy usage of both forms as needed: \documentclass{article} \usepackage{siunitx} \newcommand{\SIadj}[2]{\SI[number-unit-product={\text{-}}]{#1}{#2}} \begin{document} $\SI{30}{\second}$ $\SIadj{30}{\second}$ \SI{30}{\second} \SIadj{30}{\second} \end{document} ...


2

Use {Heading (\si{\percent})}. The outer braces are to protect the heading from being recognized as a numerical entry that siunitx would otherwise attempt to align. \documentclass[a4paper]{article} \usepackage{siunitx} \begin{document} \begin{table} \sisetup{output-decimal-marker = {\cdot}} \begin{tabular}{S} \hline {Heading ...


1

The translator package should be loaded by siunitx if there were a spanish dictionary. There isn't so we have to use the tools provided by siunitx. I also suggest another layout for the table (2nd table): \documentclass[spanish]{scrartcl} \usepackage[usenames,dvipsnames,x11names,table]{xcolor} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...


1

You can use the siunitx package for rounding the numbers instead of doing this manually. That way you can enter the original number and setup siunitx to round according to your needs. This allows for a consistent rounding and number formatting throughout the document and allows to easily change the precision if desired. You can find detailed information in ...



Only top voted, non community-wiki answers of a minimum length are eligible