{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

10
votes
1answer
454 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
122 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
32 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
33 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
273 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
29 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
26 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} ...
1
vote
1answer
32 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
155 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
28 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
100 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 ...
2
votes
0answers
28 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
33 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} ...
0
votes
0answers
42 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
61 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
50 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
11k 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
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} ...
4
votes
1answer
50 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
34 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
143 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 ...
1
vote
3answers
49 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
54 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} ...
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
1answer
71 views

xspace's spacing with siunitx macro does not work in math mode

To make life with LaTeX easier and faster (especially faster), I defined some macros in the preamble with the help of xspace. They work as intended in text mode, but fail in math mode. How could I ...
0
votes
1answer
64 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 ...
3
votes
3answers
45 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 ...
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
1answer
47 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
55 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
31 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
60 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, ...
5
votes
1answer
65 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
37 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
51 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
33 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}{@{} ...
4
votes
2answers
85 views

Euler-Digits + siunitx hiding certain units (like Ohm)

It's been a couple of months since I last used my TeX, so I did some updates that became availabe (using MikTeX's software - Windows 7/64bit) and as of that moment, I noticed that my siunitx package ...
2
votes
1answer
46 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 ...
4
votes
1answer
63 views

In the siunitx package, how do I get it to separate the uncertainty's exponent?

I want to have \num{1.4 \pm .7 e5} look more like Instead of like I couldn't find a switch for this in the SIunitx documentation. Is it possible to make SIunitx typeset numbers like this? MWE: ...
3
votes
2answers
177 views

Simplify table without package siunitx

I would like to simplify to generate the following table in a more simplified way, without using the siunitx package. The following table gives me a \hbox overfull and don’t know why: ...
7
votes
0answers
47 views

siunitx: bold unit in S-column header [closed]

I'm trying to insert a bold unit with \si in a tabular header in an S-column. But siunitx simply refuses to set it in bold. It only works if I use another column type (or e.g. \multicolumn{1}{c}). ...
3
votes
2answers
42 views

Display hexcode in table

I want to display some hexcode aligned in a table. This is what I got: \begin{table}[h] \caption{Dirty table} \centering \begin{tabular}{p{6cm}|p{6cm}} \textcolor{red}{0000 0000 0001 0000 0000 0000 ...
7
votes
0answers
100 views

siunitx: the detect-all option puts \celsius in math mode? [closed]

Something is wrong with the Celsius unit and the detect-all option (see below). I finally removed the detect-all option to fix the problem, but still, there may be some bug here. MWE: ...
8
votes
2answers
5k views

How to format SI units?

I get 1.0 Nm. But how to get 1.0 N.m \documentclass{article} \usepackage{siunitx} \begin{document} \SI{1.0}{\newton\meter}\\ 1.0~N$\cdot$m \end{document}
3
votes
1answer
67 views

Siunitx's Scientific Notation doesn't like huge numbers?

In the following MWE we have a \num command in the first line. It is printed as it should. But when I add [scientific-notation=true] like I saw in the manual, but it gave me an error and replaced the ...
2
votes
0answers
51 views

siunitx does not detect math font correctly

The following MWE resembles the structure of my thesis: \documentclass[fleqn]{scrreprt} \usepackage[minionint,lf]{MinionPro} \usepackage[sansmath,lf]{MyriadPro} \usepackage[detect-all]{siunitx} ...