{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

2
votes
1answer
12 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
33 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
38 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
21 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
36 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 ...
3
votes
1answer
17 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 \...
4
votes
1answer
39 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 ...
4
votes
3answers
78 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 ...
2
votes
1answer
48 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-...
2
votes
1answer
29 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
30 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
43 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
81 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
54 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
78 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 ...
11
votes
1answer
490 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 ...
1
vote
0answers
38 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 . ...
0
votes
0answers
46 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 ...
8
votes
1answer
275 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 ...
2
votes
1answer
37 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
34 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$ \\ \...
4
votes
1answer
182 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.
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
109 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
29 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. ...
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
58 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
67 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} \...
1
vote
0answers
35 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
27 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} \...
1
vote
1answer
35 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 ...
2
votes
1answer
52 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, ...
3
votes
1answer
146 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
1answer
32 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 ...
1
vote
3answers
54 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
55 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=...
5
votes
1answer
62 views

Is there an incompatibility between siunitx and skmath packages?

Is it just me, or does output not look like it is supposed to?? \documentclass{article} \usepackage{skmath} \usepackage{siunitx} \begin{document} \num{\pi} \end{document} which gives: $\pi$ works ...
1
vote
0answers
47 views

siunitx: Problems with xparse after update on 2016-03-31 [duplicate]

Dear community members, after today's (2016-03-31) update of packages via TexLive Utility severe problems with siunitx showed up on Mac OS 10.10.5 + TexShop. siunitx calls xparse, which then outputs ...
3
votes
3answers
47 views

error when using \num command from siunitx package with an array from arrayjob package

I want to use the command \num from the siunitx package with some numerical data stored in an array data structure of the arrayjob package but I get an error message that I understand but I can't ...
3
votes
1answer
50 views

Too many math alphabets in beamer

This beamer attempt produces the error "Too many math alphabets used in version normal.". Using the article class produces no error as does removing either chemmacros or siunitx, but I need those ...
2
votes
1answer
57 views

Bold math with siunitx, fourier and amsmath problem

With this configuration I can't have bold siunitx otherwise than using \pmb, but with an ugly side effect : \documentclass[margin=5pt]{standalone} \usepackage{fourier} \usepackage{fontspec} \...
2
votes
0answers
37 views

Various issues with siunitx's option exponent-to-prefix

I am using this to collect some of my thoughts on the use of exponent-to-prefix because I know the developer is around here. My question could be titled "Will those three things be fixed in a future ...
3
votes
2answers
76 views

Formatting numbers with percentage points (p.p.)

I am using the siunitx package for formatting numbers along with certain units. The package is included with the following code: \usepackage[ detect-weight, exponent-product=\cdot, locale ...
1
vote
1answer
25 views

siunitx: how to get bold, aligned and separated in a table? [duplicate]

I have the following siunitxtable: \sisetup{separate-uncertainty=true} \begin{tabular}{ l S[table-format=6.0, table-figures-uncertainty=5] S[table-format=6.0, table-figures-uncertainty=5, detect-...
5
votes
1answer
76 views

Problem with aligning numbers with brackets surrounding them

english is not my native language, but I will try to explain my question the best way I can. My problem is the extra spacing between the L and T column which apparently comes when I write the numbers ...
0
votes
0answers
39 views

Decimal points interpreted as colons in Adobe Reader but not Chrome, et al

I have a maddening issue wherein the decimal points resulting from the rendering of siunitx's \SI and \num commands display properly in a PDF but are interpreted as colons by Adobe Acrobat Reader DC (...
0
votes
0answers
55 views

\ohm does not work with siunitx

I'm working with the siunitx-package and have some trouble with the \ohm command. Here is some code I wrote \documentclass[11pt,ngerman]{scrreprt} \usepackage[utf8]{inputenc} \usepackage{babel} \...
1
vote
1answer
39 views

Latex compatible code for both siunitx version 1 and 2

On one system, I have siunitx version 1 and on another, I have version 2 (I think). I already converted my code to be compatible with version 1, so that my table looks like: \begin{tabular}{@{} |c|S[...
2
votes
1answer
52 views

siunitx per-mode and math in s-column

I am trying to use an siunitx s-column with per-mode = reciprocal for an units column but want to have my unit multiplied with a power. If there is a native way to do this with siunitx I missed it, so ...
0
votes
1answer
71 views

Resolve rowcolor and column separator clash?

I want to create a table with Text aligned around the separator "V-" and color it using \rowcolor. The normal column separator @{V-} doesn't work with \rowcolors, thus I'm searching for a way to do it ...