{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

4
votes
0answers
173 views

unicode-math + siunitx + lualatex = long compile times. Why?

The following MWE, compiled under several situations (with appropriate lines removed) gives the following timings (with all output files removed between runs), as timed by Measure-Command on Windows 7 ...
4
votes
0answers
255 views

How to define a style for drawings using a special font and siunitx?

I would like to define a style (e. g. style=techDraw) that gives me the possibility to define the behavior of all technical drawings made by tikz or imported as pdf_tex a. s. o. when the style ...
3
votes
0answers
43 views

Color a subset of digits in SIUNITX

I am writing a presentation with Beamer, where I show the benchmarks of a program I wrote. This involve comparing a lot of number coming from different sources. These numbers can differ only in the ...
3
votes
0answers
166 views

Round numbers while using plus/minus sign

I'm working currently with the siunitx-package and I would like to use scientific-notation mode, while rounding the numbers. It all works well until I use the \pm command to seperate the uncertainty ...
3
votes
0answers
57 views

Conflict between siunitx and sansmath?

I use the following preamble to get a sans serif font in my docs: \usepackage{lmodern} \renewcommand*\familydefault{\sfdefault} \usepackage[T1]{fontenc} The siunitx package works well with this, ...
3
votes
0answers
244 views

Knitr and numbers

I return to a question, which is few months old and then maybe not yet the best practice around. I use the siunitx package in my documents along with knitr to compile my R chunks. As far as I ...
3
votes
0answers
541 views

Typography of unit symbols for Molar and Liter in siunitx

The siunitx manual suggests using \DeclareSIUnit\Molar{\textsc{m}} as the symbol for Molar but this creates a small cap M. This is (apparently) how Molar was defined in version 1 of siunitx. However, ...
3
votes
0answers
191 views

Change fonts for units in siunitx

In the rules of typography for my language there is a rule, that units (only units, not numbers) should be displayed in different font than the rest of the text. E.g. if all of the text has serif ...
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 ...
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{...
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 ...
2
votes
0answers
52 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} \...
2
votes
0answers
57 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 ...
2
votes
0answers
41 views

How to change rounding precision across rows in a table?

I use the package siunitx to print tables. In the following table, I would like to have a different rounding precision and number of printed decimal places for each row. \usepackage{siunitx} \...
2
votes
0answers
83 views

Siunitx does not format numbers

This is my code for the table, I was expecting siunitx to add the comma to the numebers with more than 3 digits, i.e., 3456 -> 3,456 but it does not happen, the numebers without decimals are shown as ...
2
votes
0answers
218 views

Problem adding caption with siunitx

I am using latex/beamer(texlive) to compile a document and I am getting an error. Apparently it has something to do with siunitx package. Here is a minimum working example. \documentclass[10pt]{...
2
votes
0answers
185 views

siunitx package use with tex4ht and generation of invalid mathml for units

This file \documentclass{article} \usepackage{siunitx} \begin{document} \SI{10}{\square\meter} $\SI{10}{\square\meter}$ \end{document} Builds fine in padlatex, but fails in the HTML generated by ...
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 ...
1
vote
0answers
10 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 \...
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 ...
1
vote
0answers
36 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 . ...
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 ...
1
vote
0answers
38 views

Drawing a force parallelogram on scale with \tkzCalclength and \tkzGetlength and siunitx

For making exercises on different scale and different force vectors I want to make drawings like this: The code is: \documentclass{article} \usepackage{tkz-euclide} \usetkzobj{all} \usepackage{...
1
vote
0answers
118 views

Replace missing character (minus) in text font for use in siunitx with fontspec

I'm forced to use a commercial (Univers) font in my presentations, which obviously does not contain a dedicated \minus sign, which is called by siunitx. (Though I'm not sure if it is \minus or ...
1
vote
0answers
105 views

Problem with packages siunitx, datatool and xkeyval

After having read several articles concerning the siunitx problem I am still struggling with my problem. Your comments and your help is highly appreciated. The following error occurs when I switch on ...
1
vote
0answers
30 views

multiple tabular environments using siunitx

Does anyone know of a way to create several decimal-aligned tables within an enumerate environment? This is NOT a table, but it is a set of enumerated items with explanations and numerical data ...
1
vote
0answers
474 views

Control stargazer table output in combination with mathpazo and siunitx

I like the idea to control all my numeric outputs with the smallest number possible of packages. I use mathpazo to control my fonts and siunitx to control formatting. Yet when I knit a LaTeX table ...
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 ...
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. ...
0
votes
0answers
53 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", ...
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
54 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} \...
0
votes
0answers
41 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} \sisetup{exponent-product=\...
0
votes
0answers
177 views

Package siunitx

I'm trying to use the package siunitx. Today (9th January 2016), I've made all the updates and the installations required to used it (l3Kernel and l3packages). And I'm still getting the following ...
0
votes
0answers
48 views

Table formatted with siunitx - zero per cent not showing

This is my MWE %!TEX option = --shell-escape \documentclass[ 10pt,journal,compsoc,twoside]{IEEEtran} \usepackage{siunitx} \usepackage{graphics} \usepackage{setspace} \usepackage{...
0
votes
0answers
78 views

How to use tabularx and siunitx together with siunitx 2.6h / texlive 2015

This is a follow up question of this question: How to use siunitx and tabularx together? Updating to texlive 2015 (with siunitx 2.6h) seems to have broken the accepted answer. So the question is How ...
0
votes
0answers
140 views

siunitx and summary statistics below table - separate alignment block possible?

I am using siunitx to format tables as it is very handy with aligning, rounding etc. However, I typically have summary statistics in a separate part below the table. Since these often only contain ...