Skip to main content
4 votes
Accepted

Get the Error with siunitx

If you modify your example so it has \usepackage{siunitx}[=v2] which forces a legacy version 2 of siunitx to be loaded, then you get the error shown: ! Package siunitx Error: Invalid token '\num ' in ...
David Carlisle's user avatar
4 votes

Multirow cell obfuscated by \hline

Like this? For above table I use tblr of tabularray package and recent syntax of siunitx package. For rotating of text in the first column I use rotating and makecell package: \documentclass[margin=...
Zarko's user avatar
  • 299k
3 votes
Accepted

Issues with siunitx, and longtable percentage column

In your example, there was an extra set of {} around each S type column and the third S type column was missing its table-formatoption. \documentclass[12pt]{report} \usepackage[letterpaper,margin=...
leandriis's user avatar
  • 63.1k
3 votes

Multirow cell obfuscated by \hline

With {NiceTabular} of nicematrix. \documentclass[margin=3mm, preview]{standalone} \usepackage{nicematrix} \usepackage{siunitx} \begin{document} \renewcommand{\arraystretch}{1.3} \begin{NiceTabular}{...
F. Pantigny's user avatar
  • 42.4k
2 votes
Accepted

How to round to ones place with siunitx table-format, e.g. "-1e-12"

You need to provide the option drop-zero-decimal=true. (The default value of the drop-zero-decimal flag is false.) \documentclass{article} \usepackage{siunitx} \newcolumntype{U}{S[ table-...
Mico's user avatar
  • 513k
2 votes

Siunitx package - NiceTabular environment - Preserve header from formatting

A version using tabularray. It has the useful guard option that allows omitting braces for cells/rows/columns with S format but with non-number material. As you can see, the first row is formatted in ...
Sergei Golovan's user avatar
2 votes

Siunitx package - NiceTabular environment - Preserve header from formatting

I spent hours trying to figure it out, and problem solved in 10mn thanks to @samcarter_is_at_topanswers.xyz. I had to add {…} for each cells that were bad formatted. \sisetup{ detect-mode=, output-...
Atiroocky's user avatar
2 votes

Showing first not-sigificant number using package siunitx

You need option retain-zero-uncertainty: \documentclass{article} \usepackage{siunitx} \begin{document} \qty{4,399(0)}{\kilo\gram} \qty[retain-zero-uncertainty]{4,399(0)}{\kilo\gram} \end{document}
Joseph Wright's user avatar
  • 261k
2 votes

Get the Error with siunitx

As Zako'comment, you can move \num{...}. \documentclass{article} \usepackage{tabularray} \UseTblrLibrary{diagbox} \usepackage{siunitx} \sisetup{output-decimal-marker={,}} \UseTblrLibrary{siunitx} \...
minhthien_2016's user avatar
1 vote
Accepted

How to extend upon siunitx to list units?

My attempt using expl3: \documentclass{article} \usepackage[sfdefault]{atkinson} \usepackage[mode=text]{siunitx} \sisetup{separate-uncertainty = true} % Defining \qtyalt macro \newcommand{\qtyalt}[2]{...
NBur's user avatar
  • 5,066

Only top scored, non community-wiki answers of a minimum length are eligible