{siunitx} is a package that provides consistent typesetting of physical quantities, allowing application of various typographic conventions with the same input syntax. This package replaces the deprecated {siunits} package.

learn more… | top users | synonyms

3
votes
1answer
33 views

How to use glossary entry in siunitx command?

I am using glossaries for the list of symbols in my document and I added some keys for units. I want to use the unit(s) defined in the glossary in a siunitx range. This works fine when my defined unit ...
2
votes
1answer
44 views

Tabu embedding siunitx S columns into X columns doesn't work

I'm trying to make a table with S columns embedded into X columns. The MNWE is the following. \documentclass[a4paper,12pt]{article} \usepackage{array,tabu} \usepackage{siunitx} \begin{document} \...
3
votes
2answers
67 views

Spacing problem on last column using longtable

I am developing some tables on LaTeX environment and I am having some troubles with the spacing. Originally, I was able to generate the tables using the standard \begin{table}, but then I tried to add ...
3
votes
1answer
33 views

siunitx: per-mode=fraction set globally has no effect

So I'm trying to have my units in a nice fraction. I want to set per-mode=fraction globally via \sisetup{}. However it just doesn't do anything. Here's a snippet (with my full preamble, in case there ...
4
votes
1answer
221 views

Per mille symbol in SIunitx

There was a previous question on the per mille symbol in latex. I was wondering if it is available in the SIunitx package.
2
votes
2answers
33 views

How to append a percent sign % to a some columns/rows only using siunitx [duplicate]

I have two questions related to the MWE shown: How to append a percent sign to only cells of a column, or of a row by using siunitx package whether the tabular is defined by row or by columns. ? (I ...
4
votes
1answer
69 views

\makecell in the header: how to get rid of the space after the last column of the table?

This table is perfect for me except for the space left at the end: How can I eliminate it? @{} doesn't work! \documentclass[british]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} ...
2
votes
2answers
62 views

Align numbers by decimal point using siunitx and bfseries

I am looking for help regarding number alignment along the decimal point. Here is the code that I use so far: \documentclass{article} \usepackage{etoolbox, siunitx} \usepackage{booktabs,makecell} \...
3
votes
1answer
27 views

Last Column problem with csvsimple and siunitx

I don't understand why it gives me the error Extra }, or forgotten $. <recently read> } in the part ...entoIdraulico & \RendimentoMeccanico } \\ if I change in S the last c of the part \...
2
votes
1answer
49 views

Double Subscript in Math Mode

\usepackage{amsmath} \usepackage{siunitx} \begin{equation} 2I_{x}S_{z} \overset{\ang{90} \text{Pulse_{I_y}}}}{\rightarrow} \end{equation} For some reason this is not working. For the overset ...
2
votes
1answer
15 views

group separator with savetrees

I am trying to have a group separator between 3-digits groups. However the package savetrees removes the group separator. Here's my MWE: \documentclass{article} \usepackage[utf8]{inputenc} \...
0
votes
1answer
39 views

In siunitx, is there a possibility to use a decimal comma instead of a decimal point? [duplicate]

There is no way for this $\SI{-0,8}{\meter\per\square\second}$ to produce a , instead of a . and for there to be a \cdot between the units? (I have no idea how to show rendered LaTeX text here.) ...
1
vote
2answers
46 views

How to use siunitx to align decimal points in a table column [duplicate]

Could any of you tell me how do I align the decimal points in the 8th column and why is it that I’m not seeing vertical column dividers in the first row except before classes? \begin{center} \begin{...
1
vote
0answers
23 views

Syntax error when using \num inside \SI

I'm using the siunitx, i.e. in the preamble of my document I'm including \usepackage{siunitx}. If I write in my document $\num{1234}$ it works very well, but if I try to use $\SI{\num{1234}}{s}$ I'm ...
2
votes
0answers
40 views

siunitx changed something and when I comment it out, pdflatex freezes

I was using a latex template (provided by a journal) to write a paper with the journal's .cls file . These are the style files provided separately: AMSbsy; AMSfonts; AMSgen, AMSsymb, natbib, upmath ...
2
votes
1answer
52 views

Alignment in siunitx table

Consider the following example: \documentclass[ a4paper, 12pt ]{article} \usepackage[ hmargin = 2.4cm, vmargin = 3cm ]{geometry} \usepackage[ locale = DE, detect-weight = true, detect-...
4
votes
1answer
41 views

Represent a 2D point using siunitx

I want to represent a 2D point in a space with SI units, something like (2,1mm; 2mm) or (2,1; 2)mm, whatever is considered best in the world of typography. Is there a proper way to do this with with ...
5
votes
3answers
85 views

Header of table with math mode, align to decimal dot

I have to create a table with math symbols in the header and numbers in the body. I would like to align all the numbers to the decimal dot. To do that I used the siunitx package. The problem is that I ...
3
votes
1answer
38 views

Rounding off before plotting

Is it possible in latex to directly round off numbers from tables before plotting? I tried using round-precision from siunitx package, but this does not seem to work. MWE \documentclass{...
1
vote
0answers
39 views

Problem using `siunitx` with `fourier` in `tikz`

For my reports I'm using both the packages fourier and siunitx at the same time. I recently noticed that units automatically enclosed in brackets using the library units for pgfplots are shown in a ...
2
votes
1answer
46 views

Alignment of text in siunitx package

I made a table using siunitx package. In one of the column there is text depicting chemical formulae. Is it possible to align only this column to the left. \documentclass{article} \usepackage{caption}...
5
votes
1answer
87 views

How to get 5 x 5 mm^2 in siunitx package

I am started using siunitx package and I want something like, 5 x 5 mm^2 so I used below syntax, \SI[output-product = \times]{312 x 112}{mm^2} However with this I am getting, 5mm^2 x 5mm^2 ...
3
votes
1answer
64 views

How to typeset sampling rate using siunitx package? [duplicate]

I want to show 1 GS/s (one giga sample per second) in my article. How to make use of siunitx package to produce the rate correctly? I assume there to be something better, than \SI{1}{GS/s}. I would ...
8
votes
2answers
82 views

Number format in matrix, like siunitx

I'd like to know how to format numbers in matrix of amsmath without repeat sinuitx commands, like \num or exponencial expressions. I want to show numbers with grouped digits, and write engineering ...
13
votes
2answers
757 views

Using siunitx when submitting to APS

Just got to know the pretty amazing siunitx package. I started converting all the units in my last draft for a publication, but I'm wondering now if maybe it is useless if the publisher does not ...
11
votes
1answer
495 views

How can I write the unit Einstein in LaTeX (siunitx)? [duplicate]

I am currently writing my master's thesis with LaTeX and most things really go super good and a lot better than in Word, but I can't seem to get this one working. What I want: 60 yE/m2s (I hope you ...
9
votes
1answer
124 views

Hightlight specfic digits within siunix's \num

I would like to highlight specific digits in a number. Since the number is large I would like to use \num{} from the siunitx package. Of course I can do it manually as in the MWE below, but was ...
0
votes
0answers
54 views

How to select monospaced numerals for tables only when using mathspec?

For one of my documents I used OldStyle numerals in regular text. For math I use Lining numbers. For tabular material I would like to use monospaced lining numbers if these numbers are math-related (I ...
1
vote
0answers
42 views

Siunitx error: “Runaway argument? Paragraph ended before \SI was complete”

Do siunitx macros need special characters after them? The below code throws a 'runaway argument' error. But if I add a ; after [\$] the code complies. And if I add a ., the code compiles, but the . ...
8
votes
1answer
278 views

Swap the meaning of \litre and \liter (or make litre = liter)

In Canada the spelling litre is standard, though both liter and litre are common and accepted. However, the unit is always written US style, mL. It turns out that in siunitx \litre and \liter are ...
1
vote
1answer
37 views

Problem with table spacing when aligning by decimal point?

Please see attached MWE and pdf. The problem seems to be with the column 'Test 1'? Any suggestions would be very much appreciated, I have tried altering each variable but I cannot work out where the ...
6
votes
1answer
4k views

Degrees, as numbers or units in SI system

When typesetting degrees the correct way is to make the degrees symbol part of the number (without the space between the degree symbol and the number.) Technically in the SI system then degrees C or ...
2
votes
1answer
41 views

tabularx/siunitx table: column of integers not properly aligned

I have adapted a table format recently suggested on t.SE, which works well except for two issues. MWE is below. \usepackage{array} \usepackage{dcolumn} \usepackage{tabularx} \usepackage{...
1
vote
1answer
38 views

Round numbers in a latex table with special character header

I am trying to round numbers in the following table. \begin{table}[H] \centering \begin{tabular} {c| cccc} T(sample size) & $\theta_0$ & $\theta_1$ & $\theta_2$ & $\theta_3$ \\ \...
0
votes
0answers
30 views

Siunitx - Tabular, using product

I'm trying to use siunitx in a table and I want to use a product. Is there a way that I can configure the S column type such that it accepts products? Something like this. This looks very strange. ...
4
votes
2answers
122 views

Aligning combination of numbers and parentheses in siunitx table

I have this table and would like to align the columns by the parentheses. Note that I want to have both the number and the percentages (in parentheses) in one column. Input \documentclass[12pt]{...
2
votes
0answers
30 views

How can I set individual column alignment while using siunitx?

I'm using the following code to make a table that will many many more rows. I want to make it so that the columns that contain numbers will be right and left justified, like the Year row looks like. ...
4
votes
2answers
2k views

siunitx: specifying custom command as input-symbol

This is a follow up from siunitx uses math mode for symbols - workaround needed when using different fonts for math and text. The problem has been solved thanks to David, however there is a problem ...
2
votes
0answers
34 views

How to use acronym as new SIunit with acronym and siunitx packages?

I'm using acronym and siunitx packages and I would like to use an acronym as a SI unit. Example: \documentclass{book} \usepackage{siunitx} \usepackage[footnote]{acronym} \chapter*{Acronyms} \begin{...
0
votes
0answers
75 views

Greek Mu in LaTeX matplotlib with siunitx

When running the following minimum example: import matplotlib.pyplot as plt plt.rc("text", usetex=True) plt.rc("font", family="serif", size=12, serif=["Computer Modern Roman"]) plt.rc("text.latex", ...
2
votes
3answers
71 views

Alignment in tables using siunitx

I am using the siunitx package to align some numbers in a table. See below for preamble \documentclass[12pt]{report} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{booktabs} \...
2
votes
1answer
55 views

siunitx package gives an error message

I try to type some units in my LaTeX document but somehow it is not working. What am I doing wrong? \documentclass[a4paper,10pt,fleqn]{article} \usepackage[ polutonikogreek, latin, ...
14
votes
3answers
12k views

How do I get expl3 from CTAN?

My real problem is that I am trying to use a package which depends on siunitx, and it complains on compiling with the following error: (/usr/share/texmf/tex/latex/siunitx/siunitx.sty ! Package ...
1
vote
0answers
37 views

Adjusting column width in siuntix table

I have a table that I am trying to adjust the column width of, to make it a bit smaller. I am using \renewcommand{\tabcolsep}{.00001pt}to do this. However, one column does not seem to respond to this ...
0
votes
0answers
28 views

Too many math alphabets when using mathdesign, bm and siunitx [duplicate]

Here is the MWE \documentclass{article} \usepackage{amsmath} \usepackage[utopia,greekfamily=didot,greekuppercase=italicized]{mathdesign} \usepackage{bm} \usepackage{siunitx} \...
4
votes
1answer
60 views

Inconsistent spacing of suffix in siunitx formatted table

I want to produce a table with two prices in a row, using siunitx to achieve a pleasant and consistent display of the numbers. Trying not to repeat the currency symbol in the data rows, I insert it as ...
1
vote
1answer
37 views

How to colour a cell and keep the contents in maths-mode?

I am trying to colour certain table cells in some siunitx S columns. The cell colour change with xcolor/colortbl works, but it seems to also change the cell contents to text-mode, which has ...
3
votes
1answer
150 views

Weird asterisk in ToC and section* not working when using siunitx

I have a weird problem with siunitx and redefining section. Here is a screenshot of the problem: As you can see, an asterisk appears in the ToC, aswell as the \section* command not working properly....
1
vote
3answers
59 views

Can someone help me out with odd spacing in a multicolumn multirow table using siunitx?

I wanted to put my data in a multi column and multi row table, whilst aligning the entries by decimal point. For that I am using the package siunitx. There problem lies within the formatting of the ...
5
votes
1answer
58 views

Bad weight detection for unit in math mode with siunitx?

Here is a (minimal) code example showing the problem. \documentclass{article} \usepackage{luatextra} \usepackage[bold-style=ISO]{unicode-math} \usepackage[noload=abbr]{siunitx} \sisetup{decimalsymbol=...