{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

6
votes
1answer
470 views

asymmetric errors with exponential

I'm using siunitx, but I don't see how to put an asymmetric error, like this one, in text nor in a tabular environment: $\left( 1.09^{+0.28}_{-0.23} \right) \times 10^{-3}$ Is there a way with ...
12
votes
2answers
592 views

Why do the standard siunitx settings not detect font weight?

Using KOMA-script I got a bold font for chapter/section titles. I had a unit, \SI{1}{\something}, in one of them which was not set in bold font. Giving siunitx the following options ...
4
votes
2answers
231 views

Problem with \SIlist with two values and list-final-separator = {, }

First and foremost, thanks to Joseph Wright for developing and maintaining siunitx package. I have a problem with \SIlist macro. The desired result: 3.23 (dd, J = 3.9, 0.9 Hz, 1H). and I'm ...
4
votes
2answers
434 views

Font mismatch with Linux Libertine and siunitx package

Following example: \documentclass{scrbook} \usepackage{amsmath} \usepackage{amssymb} \usepackage{microtype} \usepackage{siunitx} \usepackage{fontspec} \setmainfont{Linux Libertine O} ...
6
votes
2answers
187 views

siunitx does not work with overline

When I am typing a laboratory for physics, I tried using \overline inside SI from the siunitx package, like so: \begin{align} \begin{split} s &= \frac{d}{t}\\ &= ...
8
votes
1answer
396 views

pgfplots - x unit with siunitx

I want to use x unit=something to draw the units to an axis. In the manual I find this to use siunitx to do so: \pgfplotsset{ unit code/.code 2 args={\si{#1#2}} } Now I make a plot: ...
6
votes
1answer
176 views

coordinate number format \ang{}

In a table, I am listing several coordinates. I want to use a number format such as this W 95°13'14'' W 95°03'00'' ... I am using the \ang{} environment of the siunitx package. ...
6
votes
1answer
180 views

Align math contents in a table

While trying to display some data in a table, I use tabu and siunitx. I want the content to be centered by the dot. However, the cell at last column, first row is not centered. ...
4
votes
1answer
182 views

Aligning Tuples of Decimals with PgfplotsTable

In this question, Jake gave an awesome answer that shows how PgfplotsTable can be used to read tab-delimited data from a file, and typeset the parsed decimals in scientific notation such that all of ...
15
votes
2answers
212 views

siunitx not using kerning units correctly ahead of a sentence-ending dot (period, full stop)

If the unit is the final character in a sentence, the sentence-ending dot is not kerned correctly. MWE: \documentclass{article} \usepackage{siunitx} \usepackage{mathpazo} \begin{document} ...
1
vote
1answer
267 views

siunitx with svg graphics

I am using pdfLaTeX (TeX Live 2011) to compile a document. Unfortunately it does not compile. Again, my example compiles flawlessly with TeX Live 2009. I include an SVG/PDF graphics following this ...
7
votes
1answer
199 views

Using siunitx in captions?

I am using pdflatex(texlive 2011) to compile a document. Unfortunately it does not compile. ! Undefined control sequence. \metre ->\ERROR l.69 ...feld \num{6}{\metre} mal \num{6}{\metre}} ...
6
votes
2answers
484 views

Vector notation in siunitx

I'm trying to use the siunitx package to format a number which is a vector (using \hat{x} to represent a vector in the x direction). Using \hat{x} leads to complaints about invalid tokens. After ...
2
votes
2answers
534 views

Table out of margin

I created this table using siunitx package since values must to be represented in scientific notation. Unfortunately the table goes out of margin. How can I fix the issue? ...
4
votes
1answer
159 views

ctable decimal alignment

I'm trying to replicate siunitx's decimal alignmnent in tables, using ctables. \documentclass{article} \usepackage{ctable} \begin{document} \ctable[] {rc} {}{ \FL \textbf{Data} & ...
2
votes
0answers
165 views

Are packages siunitx and xfrac incompatible? - “redefsymbols” [closed]

Is this a bug? Where can this be reported? Can someone of you report this? Code: \documentclass{article} \usepackage{siunitx} \usepackage{xfrac} \begin{document} bla \end{document} Output: ...
20
votes
1answer
863 views

Consistant formatting with siunitx and pgf: Thousands Separator

I like the default behavior of the siunitx package in that the thousands separator is not applied to four digit numbers, but is applied when the number of digits exceeds four. In documents that ...
6
votes
1answer
871 views

Align siunitx columns in numbers table

Here is a table but it has a problem: the column of 1, 20, 50, and 100 aren't perfectly aligned to others. How can I do that? MWE \documentclass{article} \usepackage{siunitx,booktabs,multirow} ...
4
votes
1answer
158 views

Incompatibilty between siuintx and linguex?

\documentclass{article} \usepackage{linguex} \usepackage{siunitx} \begin{document} Foo \end{document} This MWE produces a plethora of error messages, regardless of the order in which those two ...
12
votes
1answer
491 views

Align numbers and separated uncertainties in tables with S columns

If I have a table like this \documentclass{article} \usepackage{booktabs} \usepackage[separate-uncertainty=true]{siunitx} \begin{document} \begin{table} \centering \begin{tabular}{ ...
5
votes
1answer
204 views

siunitx: combine “\num” and “\SI” and change order of arguments

I'm trying to combine the \num and \SI command of siunitx and change the order of the arguments. In particular, what I want to achieve is a new command ...
3
votes
1answer
874 views

siunitx S column does not align numbers without dot

I have a table that uses the S column type provided by siunitx. Unfortunately, if a number does not have a . it is not aligned properly. Yes, i could write number. but then the table will list the ...
9
votes
1answer
227 views

Store results of a calculation automatically under a new macro name

As I am now accessing values from tables via a macro to make dynamic references in the text (see here) and make calculations with it, I need a way to make the resulting variables under which the ...
7
votes
3answers
276 views

amsmath - bidi - siunitx possible bug?

MWE: \documentclass{article} \usepackage[english]{babel} \usepackage{fontspec} \usepackage[detect-all]{siunitx} \usepackage{amsmath} \usepackage[math-style=ISO,bold-style=ISO]{unicode-math} ...
2
votes
0answers
210 views

xelatex select local math font

The problem I am facing is that I am typesetting with MinionPro-Regular.otf as the main font and MinionPro-Cn.otf for the captions. However I have to declare only one math font for the whole document, ...
6
votes
1answer
318 views

Representation of complex number with exponents with siunitx (workaround)?

It looks like siunitx (by @Joseph Wright) has a limitation regarding complex numbers with exponents: \documentclass[]{article} \usepackage[]{siunitx} \begin{document} \num{1 + 2 i}\\ %ok, complex ...
11
votes
3answers
306 views

Aligning complex numbers in centre of table with siunitx

I'm trying to align complex numbers in the middle of a table column using the siunitx package for nicer alignment, but the numbers are centring based on where the decimal point would be on the real ...
3
votes
1answer
309 views

Character substitution: combine \llap{(} and \llap{-} to \llap{(-}

This is a follow up to question siunitx: specifying custom command as input-symbol . The idea is that (,) and - are wrapped into \llap or \rlap so that they do not take any space when a table is set ...
9
votes
3answers
303 views

Why is there extra whitespace to the left of this standalone document when using siunitx?

I'm using the standalone document class. Here is a minimal working example: \documentclass{standalone} \usepackage[siunitx]{circuitikz} \begin{document} Hello world \end{document} The problem ...
8
votes
1answer
324 views

Can I define a new unit that behaves like \ang in siunitx?

The siunitx package provides support for "astronomy style" placement of the degree symbol using the angle-symbol-over-decimal switch, and for simple entry of degree-minutes-second values using the ...
2
votes
0answers
388 views

\SIlist does not work though there is no problem with \SIrange [closed]

When trying to compile the following I get the error undefined control sequence \SIlist. Other parts of the siunitx package like \SIrange work perfectly well, so I really have no idea what what I am ...
5
votes
1answer
544 views

altering per-mode for a single siunitx-equation

I am using siunitx in "per-mode=symbol", and that is working very well. However now I have run into an isolated case, where I need the "per"-symbol to be ^{-1}. Here is a MWE showing what I desire: ...
11
votes
1answer
332 views

Aligning text in S columns in a way that respects the decimal marker for numerical entries

As I understand it, using various options for the S column in siunitx, I may produce columns containing both numerical and nonnumerical entries. I may have the numerical entries aligned at their ...
7
votes
2answers
364 views

Oldstyle numerals or lining numerals with units of measurement?

What is considered proper typography regarding which set of numerals to use with units of measurement? A real-life example: In the experiment, shown schematically in figure 2.2, we illuminate an ...
11
votes
1answer
251 views

Siunitx and cancel package

I want to symbolically cancel out units using the siunitx package. To do so I tried the cancel package as in the following minimal example: \documentclass{article} \usepackage{amsmath} ...
6
votes
3answers
985 views

undefined control sequence when cross-referencing with xr-hyper

I'm trying to create references between two documents. Normally it works great, but I can't figure out why using siunitx inside a chapter name, causes build errors. Simple example: doc1.tex ...
1
vote
1answer
434 views

siunitx + fouriernc = Size substitutions with differences? [duplicate]

Possible Duplicate: xfrac + siunitx gives me a font warning This document (New Century Schoolbook font in \SI) \documentclass{scrreprt} \usepackage[utf8]{inputenc} \usepackage{fouriernc} ...
2
votes
1answer
171 views

siunitx and adjectives

I would like to know if the siunitx package offers the possibility of adding an adjective after the unit, to get a hyphenated compound adjective. For instance, when typesetting "a 10 km-long road", I ...
4
votes
2answers
163 views

Typesetting image scale in SI units using the siunitx package

I use the siunitx package to consistently typeset units in my thesis. One particular typesetting format I'm interested in is the format of scales. Let's say I'm describing a 5-by-5µm image. I ...
3
votes
1answer
546 views

siunitx align numrange

ave a table with a table in which I use \numrange of the siunitx package. I would like to center align that column at the range-phrase. If I align it left, it sort of works, but if I align it center, ...
24
votes
1answer
966 views

microtype + siunitx and \micro - mysterious warnings

This code \documentclass{scrreprt} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{microtype} \usepackage{siunitx} \begin{document} \SI{10}{\micro\metre} \end{document} produces these ...
6
votes
1answer
208 views

Problem using mmap, mathpazo and siunitx

I have these packages in my preamble: siunitx, mmap, mathpazo that somehow seem to mess things up. A minimum working example that shows the error: \documentclass[a4paper]{article} \usepackage{mmap} ...
7
votes
1answer
403 views

Trying to use symbols withing the number in the siunitx package

I'm trying to use the following with siunitx: \omega_x = \SI{100\pi}{rad.s^{-1}} But it comes out wrong. There is a space placed between 10 and 0π, as if π was actually a digit rather than a ...
13
votes
1answer
882 views

Why has m/s changed in siunitx package?

I would have expected \meter\per\second to generate an output m/s. But when using the package siunitx the output is similar to ms^-1. I referred the documentation for the package and there too the ...
3
votes
0answers
120 views

Migrating from SIunits to siunitx: are there any obvious pitfall? [closed]

I understood the differences that were mentioned at the following link. Differences between SIunits and siunitx packages I am using TexStudio and MikTeX (perhaps the most recent version, considering ...
2
votes
1answer
544 views

Error: “per-mode” is undefined [closed]

The simple expression: $v_f = \SI[per-mode=fraction]{32}{\meter\per\second}$ when parsed, yields the following error: ! Package xkeyval Error: `per-mode' undefined in families `key'. However, ...
2
votes
1answer
284 views

siunitx | Alignments in Table

Consider the following (refined) MWE: \documentclass{article} \usepackage[locale=DE]{siunitx} \usepackage{booktabs} \begin{document} \begin{table} \centering \caption{S{\o}vnm{\ae}ngde blandt ...
1
vote
1answer
509 views

How to write the unit milli tesla meter?

Right now I am using mTm (code: \unit{10}{\milli\tesla\meter}). I wanted the output to look like mT-m. The SIunits package documents talks about half-high dot but doesn't mention any hyphen. Any ...
11
votes
1answer
1k views

SI units for sheet resistance using siunitx

I'm trying to get the package siunitx to output the units for sheet resistance (Ohm per square), with the square as a square box. My current solution (in text mode) is: 30-60 $\Omega/\square$ ...
3
votes
1answer
264 views

How to line break a siunitx unit

I made a new command for this unit: \SI{#1(#3)e#2}{\KBE\per\gram\of{FM}} But it is so bulky and it seems that latex can t handle the "normal" linebreak. So, my new UNIT is sometimes over the normal ...