Questions tagged [siunitx]

{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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

LaTeX package error: Conflict between siunitx rounding precision and hyperref

I want to round numbers in my tables and have content for my document. However, when I typeset the MWE \documentclass{article} \usepackage{siunitx} \usepackage{hyperref} \usepackage{xifthen} \sisetup{...
user avatar
  • 1
4 votes
2 answers
87 views

Negative decimal numbers missing decimal point in table using siuntix to align by decimal point

I'm trying to align the numbers within this table so that the decimal points are always underneath each other. This seems to work with the siunitx package. However, I have come across two difficulties:...
user avatar
  • 41
3 votes
2 answers
75 views

list of macros as arguments to another macro

I would like to use some macros as arguments with xparse. I need it because I use siunitx. Here is a simplified code which compiles: \documentclass[a4paper]{article} \usepackage{xparse} \usepackage{...
user avatar
7 votes
1 answer
56 views

conflict between siunitx and unicode-math (greek letter unit)

In optics, the "dioptre" unit's symbol is δ (lowercase delta). As long as I don't use unicode-math, the following code gives the expected result, but with it, the unit is missing in the ...
user avatar
  • 495
0 votes
0 answers
25 views

Undefined control sequence when usage of Glossaries and Siunitx

I'm getting the Error >Undefined control sequence< when I use the command \si{\ohm} when defining an entry with \newglossaryentry{}{}. Has one an idea how to fix this problem? % Used Packages \...
user avatar
3 votes
2 answers
75 views

Siunitx conflicts with textbf

I've recently updated my computer from TeXLive 2019 to TeXLive 2022, and a document that compiled perfectly with the 2019 version raises an error with the new version. The problem occurs when i try to ...
user avatar
0 votes
0 answers
32 views

\xfrac or \nicefrac in siunitx package

Is there a way of presenting 1/2 kg using siunitx by displaying the number fraction in \xfrac or \nicefrac? \SI[parse-numbers=false]{1/2}{\kg} command DOES NOT do it!
user avatar
  • 337
0 votes
1 answer
33 views

How to align uncertainty with siunitx in table

I have a table that contains SI units using the siunitx package which have different digits of uncertainties. How can I easily go about aligning them to the \pm? I've tried playing around with the ...
user avatar
0 votes
0 answers
23 views

siunitx.sty not found, local package repository for offline installation of MiKTeX

I try to create a offline repository for a MiKTeX installation. I have around 30 packages inside the repo and the only one which is not working is siunitx. I added the following files for siunitx to ...
user avatar
1 vote
1 answer
33 views

siunitx: Bracket Around Some Units

Writing a paper and am trying to figure out how to recreate the industry standard for spectral efficiency units. The standard is to use "(bits\s)\Hz" for the units. Is there anyway to ...
user avatar
  • 77
3 votes
1 answer
52 views

siunitx: Adding commas when printing a variable

I have an itemized list which adds numbers to a counter. At the top (after you compile it twice) it prints the total sum. It works correctly but I am trying to add commas to the sum, so it will print &...
user avatar
0 votes
0 answers
28 views

siunitx: Adding brackets to numbers breaks last column

When putting round brackets around the numbers in all odd columns, in the very last column a weird horizontal space is included: Here is the MWE: \documentclass[10pt,a4paper]{article} \usepackage[...
user avatar
  • 277
3 votes
1 answer
72 views

vertical alignment of different units with siunitx

I am trying to align the comma, but I am not able to. I have already looked for the solutions on the forum but I just can not find a working solution. There must be something I am overlooking. Also ...
user avatar
  • 249
3 votes
1 answer
28 views

Use texttt and non-italic characters in siunitx

In my preamble: \sisetup{detect-all} \DeclareSIUnit\bin{b} \DeclareSIUnit\hex{h} And body: \begin{aligned} \text{input} &= \SI[parse-numbers = false]{\texttt{...
user avatar
  • 175
1 vote
1 answer
45 views

Problems with newcommand and counter for filling a longtable

I am trying to create a form for orders. The heart of this document is a srclttr2 with a longtable to even get a nice document for long orders. To make this template more flexible/easy I would like to ...
user avatar
  • 11
3 votes
1 answer
57 views

SIunitx and non-integer exponents

I'm going through a number of old documents where I used siunitx to display numbers in scientific notation with non-integer exponents, like: \documentclass{article} \usepackage{siunitx} \begin{...
user avatar
  • 495
1 vote
1 answer
43 views

beamer: sans-serif / serif question related to siunitx

I puzzled today for an hour to get the unit sans-serif. I found that \usefonttheme[onlymath]{serif} helps but I am not sure if this is the correct way. Question: Is it logical that I need \...
user avatar
0 votes
0 answers
90 views

Siunitx qty in TexStudio not working

I try to use the siunitx package in TeXstudio, as far as I know \si is the old version and \qty is the new version. I tried following: \documentclass{article} \usepackage{siunitx} \begin{document} \...
user avatar
  • 23
4 votes
1 answer
53 views

Use of \numlist in macro

I am writing exam questions. Some of these questions should be answered on graph paper, so I wrote a macro to (a) save time by avoiding re-typing the same instructions numerous times, and (b) ensure ...
user avatar
  • 1,123
0 votes
1 answer
54 views

decimal point in \si

i am using the following command: $\si{202.889*202.915*185.759}{\angstrom}$ the numbers are shown without decimal points, and \SI is not working for me. my permeable file has the following packages: ...
user avatar
  • 63
2 votes
1 answer
37 views

Loading siunitx units in preambule for use in glossary

I'm trying to build a glossary where some terms are constants with units, and I'm hitting the problem than the units of siunitx are not defined. \documentclass{article} \usepackage{glossaries-extra} \...
user avatar
  • 33
2 votes
1 answer
55 views

Cannot load abbreviations with siunitx v2

I use MacTeX, and the current distribution comes with siunitx v2 (\ProvidesExplPackage {siunitx} {2020/02/25} {2.8b}). I would like to use units such as \ms and \hertz which require the abbreviations ...
user avatar
  • 295
1 vote
1 answer
73 views

Units of solubility in water?

I am trying to write the units for solubility of a chemical substance (\ce{KNO_3}) in 100g of water. Currently, I am using: \SI{}{\gram / 100 \gram \ce{H_2O}} or \SI{}{\gram / 100 \gram of water} ...
user avatar
  • 445
1 vote
1 answer
65 views

Decimal exponents numbers

In chemistry, one often has to use decimal exponents: 10^{-4.6} for the value of a reaction constant. I'm usually using siunitx to type numbers in scientific notation with \num{4e5} for instance. ...
user avatar
  • 899
2 votes
2 answers
63 views

How to align only $\pm$ uncertainties in table with siunitx package

I have a table of the form where the associated code is \begin{table} \centering \begin{tabular}{ll*{4}{S}} \toprule STD & Working point [V] & 9680(5) &...
user avatar
  • 121
4 votes
1 answer
144 views

Is it possible to force siunitx to output a decimal after the ones place?

Conventional treatment of significant figures means that "60" has one significant figure and "60." has two significant figures. The decimal after the ones place implies that the ...
user avatar
  • 1,139
1 vote
1 answer
52 views

Bold number in siunitx column with SF font

I would like to achieve exactly the same thing that was questioned and answered here but with SF font. This works: \documentclass[11pt]{standalone} \usepackage{siunitx} \sisetup{detect-weight, ...
user avatar
1 vote
1 answer
25 views

How to increase the spacing between the numbers and the product symbol in the siunitx package when the mode option is match?

I am using the siunitx package for my text. To print bold numbers and units (within \textbf{ }) I am using the options mode=match and reset-text-series=false (see MWE). However, this way the space ...
user avatar
2 votes
0 answers
42 views

sinunitx: prefixes and exponents confusion with complex numbers [closed]

I want siunitx to typeset a complex quantity. My numerical input is (0,25 + 0,25i). MWE: \documentclass[ngerman]{scrartcl} \usepackage[locale = DE]{siunitx} % \sisetup{ exponent-mode = engineering, ...
user avatar
  • 51
3 votes
0 answers
74 views

Trailing zeros vs rounding in siunitx

I want to typeset U=220kV and C=12,8nF. This is my MWE: \documentclass[ngerman]{scrartcl} \usepackage[locale = DE]{siunitx} \sisetup{ exponent-mode = engineering, prefix-mode = combine-exponent } \...
user avatar
  • 51
3 votes
1 answer
42 views

Option "inter-unit-product" not working in siunitx package

I am unable to insert a \cdot between the units when using the siunitx package. Here is my MWE: \documentclass[a4paper,12pt]{article} \usepackage{microtype} \usepackage{siunitx} \sisetup{mode=text} \...
user avatar
  • 487
0 votes
1 answer
23 views

Proper way to use formatting in tabular with siunitx

My question is similar to siunitx: aligning numbers by decimal points in tables doesn't work for bolded or italicized numbers , except I would like to apply formatting to a row or a specific cell, ...
user avatar
  • 1,054
6 votes
1 answer
142 views

How to change the spacing around the plus-or-minus symbol in siunitx

is it possible to customize the space inserted before and after the plus-or-minus symbol using siunitx? My problem is the following: when used in math mode, a space is inserted before and after the ...
user avatar
  • 427
1 vote
1 answer
52 views

Is there a list of named arguments that have changed in siunitx v3?

I'm trying to update and compile some old documents, and I've run into an error on the line following \RequirePackage[siunitx] (! Undefined Control Sequence. \@nnil -> \@nil on another \...
user avatar
  • 8,290
0 votes
1 answer
49 views

Using the siunitx package's table-column-width option as a workaround for long multicolumn heading problem

I'm using the booktabs and siunitx packages to typeset scientific quantities in a table. It is known that for long column headings -- created using the multicolumn command in the booktabs package -- ...
user avatar
  • 1,137
0 votes
0 answers
38 views

Best practices for use of siunitx package's table-format option in tables

I have a table that makes use of the siunitx package's S table format. In the MWE below, my table contains parameters that have various numbers of digits/significant figures: The alpha parameters ...
user avatar
  • 1,137
1 vote
0 answers
97 views

How to insert unit with Siunitx?

I simply want to insert a unit in my document how should I use this package? Where can I find this information in the user manual? \documentclass{article} \usepackage{siunitx} \begin{document} The ...
user avatar
  • 989
1 vote
0 answers
50 views

siunitx does not scale \percent for beamer [duplicate]

I recently started using siunitx and came across the following problem: In my beamer slides \percent ist not scaled according to the definition in the preamble. Other units are scaled correctly. ...
user avatar
1 vote
1 answer
72 views

siunitx : How to align \qty value numbers in tables

I would like to make a table with values followed by its units, in which the numbers of the values are aligned according to the "rules" of the siunitx-package. I can do this with two columns ...
user avatar
  • 187
3 votes
1 answer
56 views

Set siunitx font size

I'm currently using \usepackage{siunitx} \sisetup{detect-weight, detect-mode} to place measurements with the same size of the surrounding text, but for dyslexic students, I would like to scale up ...
user avatar
  • 153
1 vote
1 answer
72 views

unicode degree symbol from siunitx

I'd like the unicode "degree sign" ° from siunitx's \ang and \SI{10}{\celsius}. But, from this code \documentclass{article} \listfiles \usepackage{siunitx} \sisetup{ text-degree=°, math-...
user avatar
  • 515
4 votes
1 answer
97 views

Siunitx formatting rendered differently on Overleaf compared to local compilation

I recently noticed that the following LaTeX code renders differently on Overleaf compared to my local compilation: \documentclass{article} \usepackage{booktabs} \usepackage{siunitx} \begin{document} ...
user avatar
  • 164
4 votes
1 answer
194 views

SetCell from tabularray in S column (siunitx) not working?

I'd like to get the \SetCell command from tabularray to work in my tabular. I prefer to write my tabulars with tabularray as it can usually save you time and can make configuration easier, but the \...
user avatar
6 votes
2 answers
179 views

siunitx in apparent conflict with cmbright

I have recently upgraded from an old machine on which I use siunitx with the cmbright package to get a sans serif font. However, this produces a slightly bold(er) font for the unit now which should ...
user avatar
  • 419
4 votes
2 answers
94 views

product-units mode with siunitx package

I am trying to combine two or more values with one SI comment. For example, I would like to write 2 x 5 mL instead of 2 mL x 5 mL. I guess and as I saw before: How can I manage to get something like ...
user avatar
  • 41
5 votes
1 answer
694 views

How to avoid \qty conflict with physics and siunitx

I am trying to use both the physics and siunitx packages, which both have a definition for the command \qty. I want to ignore the one from physics and use only that from siunitx. This is my minimum ...
user avatar
  • 51
4 votes
3 answers
291 views

Greek letter mu smaller than Latin characters in text and siunitx when using Noto font

As per the title, when using the noto package to change the default font to Noto Sans I've noticed that the Greek letter mu inserted by siunitx doesn't match the font size of the regular text. The ...
user avatar
  • 95
0 votes
1 answer
47 views

siunitx and using words for small values

Quick question. I was always taught to use words for small values in my writing, like "I had three apples" instead of "I had 3 apples". In my current project, I am not sure which ...
user avatar
  • 77
0 votes
2 answers
65 views

Writing out unit using siunitx

Which setting did I have to use to acchive the Unit is written out, using the package siunitx? Little example: \SI{8}{\m} I would like the output like: "8 Meter" Is that possible?
user avatar
0 votes
1 answer
34 views

Defining SI units inside a \newcolumntype within a minigloss

We want to program a \newenvironment{minigloss}. Inside this minigloss we want to make a table with three columns: parameters, explanation of the parameter, unit. However we are not sure how to ...
user avatar
  • 1

1
2 3 4 5
30