{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

2
votes
0answers
45 views

How to I fix my axis to suit the correct order of magnitude? [duplicate]

Problem: It's the times ten to the 3 bit part which bothers me. Not just that is exists but also because it's positioned itself in a strange place. My files is formatted so it is in MHz so I don't ...
2
votes
1answer
255 views

number with subscript in siunitx

I would like to use output-decimal-marker = {--} in siunitx to align a column with molecular transitions where the states are separated by --. However I get a Missing $ inserted error when the state ...
6
votes
1answer
255 views

ctable and siunitx: Last column does not center correctly (possible incompatibility?)

I would like to use ctable in my thesis for tables and graphics and I also would like to use siunitx for formatting numbers and aligning numbers on the decimal marker in tables. Everything seemed to ...
0
votes
1answer
1k views

Siunitx installation: I can't find file l3docstrip.tex

I have some problem trying to compile siunitx. When I do latex siunitx.dtx, I get the following message: ! I can't find file `l3docstrip.tex'. l.77 \input l3docstrip.tex Where am I supposed to find ...
3
votes
2answers
427 views

Siunitx's \micro symbol has serif

I am trying to reproduce the look of the micro symbol in the siunitx documentation; see for instance the following picture: However, when compiling the following code: \documentclass{article} ...
4
votes
1answer
190 views

Wrapping or adding line breaks in header cell of siunitx's S-type column

When using the siunitx package, is it possible to either "wrap" or insert line breaks in the header cell of an S-type column (see Section 4.6 of the documentation)? I have a relatively long table ...
6
votes
1answer
578 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 ...
14
votes
2answers
779 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
289 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
466 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} ...
7
votes
2answers
221 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
477 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
232 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
194 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
197 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
225 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
288 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
234 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
552 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
677 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
185 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
213 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
1k 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
1k 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
187 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
614 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
213 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
1k 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
269 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
300 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} ...
3
votes
1answer
239 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
357 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
329 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
329 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
359 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
377 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
484 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
662 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
353 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
399 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
286 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
1k 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
505 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
181 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
184 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
618 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
1k 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
221 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
475 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
1k 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 ...