{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

1
vote
1answer
24 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
122 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
24 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
83 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
25 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
32 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
32 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
58 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
32 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
32 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
49 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
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
1answer
23 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
43 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
51 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
0answers
46 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
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 ...
3
votes
1answer
43 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
49 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
29 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
47 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
23 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
64 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
35 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
45 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
30 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}{@{} ...
2
votes
1answer
44 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
59 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
2answers
171 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: ...
3
votes
2answers
39 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
46 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
1answer
65 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
49 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} ...
1
vote
2answers
69 views

Dash when using radians in physics

So I have a number that is in units of millimeters-milliradians. Typically, it might be expressed as mm-mrad. How do I get that dash using siunitx?
1
vote
1answer
32 views

Having issues with siunitx matching the times font in a new SAE class

I worked hard to find a MWE for this issue, stripping out just about everything from my preamble and my SAE class file until I discovered that it seems the siunitx package does not play well with the ...
4
votes
1answer
40 views

Typeset siunitx-like percentage value in math mode

I'd like to typeset "10 %" with exactly the same spacing between 10 and % as in \SI{10}{\percent}. For some reason I'd rather not use siunitx in this particular instance. How do I replicate the ...
2
votes
1answer
25 views

Tight box around siunitx degree

I want the box around the degree symbol to be like the one around the exponent on the x. I thought \mbox{} would do it, but it does not seem to in this case. Code: \documentclass{article} ...
4
votes
1answer
46 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 ...
4
votes
2answers
82 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 ...
7
votes
1answer
66 views

Cannot define new unit with siunitx

I've been reading almost two hours through various posts that seem to have the same problem but none of the solutions worked for me. I want to define new units (in my case it's \thermal and ...
0
votes
0answers
33 views

Zero exponent with explicit plus in siunitx

Is it possible to have an explicit + in front of a zero exponent in scientific notation using siunitx package? Here is my MWE: \documentclass{article} \usepackage{siunitx} ...
2
votes
0answers
56 views

Table title and notes not appearing in PNAS

I'm trying to prepare a manuscript for PNAS and am running into issues with a table. As in this question/answer, the table is placed after the \end{article}. However, when compiling the document, the ...
5
votes
2answers
57 views

How to print tabular confidence intervals as [x, y] with siunitx?

What would be the recommended way to print a confidence interval as [x, y] in an siunitx S column? At the moment I have a two S column solution: \documentclass{article} \usepackage{siunitx} ...
4
votes
1answer
52 views

Indexing with Binary Units using siunitx package

As per How to overwrite siunitx's binary prefixes, any changes to the binary prefixes need to be deferred to be after \begin{document}. However, it seems that if I am using those same binary ...
3
votes
1answer
80 views

Use libertine numbers in math mode and with siunitx

I am here again to seek your help. I would like all numbers in my document to be the same (in text or math mode). Now I have Please note also the size difference. What is the way to have all ...
1
vote
1answer
22 views

siunitx: Hortizonal alignment for S columns

I am trying to present tabular groups of means and standard deviations in the format M (SD). In the MWE how can I "tighten up" the horizontal alignment of each "M (SD)" group? I would like them to be ...
2
votes
1answer
54 views

siunitx: What is the correct way to output mean and standard deviation as “M (SD)” in an S-column?

I am trying to use siunitx in a psychology results table to line up decimals, and the table looks like this: \documentclass[]{article} \begin{document} \begin{table}[h] \begin{tabular}{@{}cc@{}} ...
1
vote
0answers
67 views

What is the way to write f=1 Hz with the siunitx package? [closed]

By using the siunitx package I know how to write: 1 Hz \SI{1}{\hertz} But, how to write ?: f = 1 Hz