3
votes
3answers
577 views

Centering siunitx columns

I have the following table, with the decimal aligning handled by siunitx (MWE): \documentclass{scrartcl} \usepackage{booktabs} \usepackage{multirow} \usepackage{siunitx} \sisetup{ ...
4
votes
1answer
64 views

Align missing data in siunitx S column type

How can I align missing data inside a S column type like in the below image? If I just add {\textemdash}, the dash is not centered, example: \documentclass{article} \usepackage{siunitx} ...
3
votes
1answer
75 views

Siunitx - significant stars (***) far away

I'm testing Stata → LaTeX integration, and reading some guides, I was satisfied with the results. Unfortunately, it seems that one can only use the dcolumn package in Stata. Knowing that the siunitx ...
5
votes
2answers
78 views

alignment of numbers in exponential format in a table with complicated header rows

I have a table that contains a lot of numbers. I have been defining new column types to allow me to specify column widths and allow \newline within a cell. Some of my columns of numbers are in ...
1
vote
1answer
54 views

How to get rid of an error when I load array or siunitx?

When I load array or siunitx or (probably other packages that I haven't tried), I get an error saying: ! Package array Error: Illegal pream-token (\specifier): `c' used. ...
3
votes
1answer
76 views

Alignment in Siunitx with Comma separators

How can I right align the following two columns, just specifying that there will be at most 5 integer digits and never any decimals? I can't seem to get the right combination of options. I can align ...
6
votes
2answers
105 views

Formatting table with siunitx: problem with parentheses and signs

I basically need to create a regression table with coefficients on one line, and t-statistics in brackets on the second line. However, I have a problem when the t-statistics are negative. When I ...
4
votes
2answers
115 views

Table, siunitx, render + sign

I have a table with number formatting through siunitx. In one column, I have values which show an improvement (or worsening) of one approach over another. To make it really clear, that I'm giving a ...
3
votes
2answers
131 views

Removing space around tabular columns set with siunitx

OK, first off, this table is horrendous looking and desperately needs help. But what I'd really like to know is how to eliminate some of the extra white space between the columns set with S in the ...
2
votes
0answers
59 views

Put brackets around value and uncertainty with exponent in tables with siunitx

I have a number with an exponent and an uncertainty that I want to display in an S-column in a table. When I just put it in, the spacing is terrible, and if I tell the column how much space to reserve ...
5
votes
2answers
137 views

How to put numbers in parenthesis in the S column using siunitx package

In the following minimal code, when I replace the l columns by S I get an error message saying invalid-number!! Invalid numerical input '(4.36)'.!! See the siunitx documentation for further ...
1
vote
0answers
51 views

siunitx table leading zeros

How to preserve the leading zeros of the errors in a table using siunitx' S column type. \documentclass[ngerman,english]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
2
votes
0answers
74 views

siunitx table alignment

I want to align both the numbers and the text to the left using siunitx' S column type. I tried: \documentclass[ngerman]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
4
votes
1answer
66 views

Improve legibility in a siunitx table

I am a rather basic user of LaTeX, so please be kind. ;) I am using the siunitx package to align numbers on tables, and this is a rather similar question to this one: Centering table column titles ...
5
votes
2answers
122 views

Centering on the decimal separator, figure font selection

I'd like to format a column with numbers with a decimal point. In my body text I use old-style figures for numbers, and lining figures in equations. If I use dcolumn my tables use lining figures, ...
12
votes
2answers
153 views

'e+08' (don't suppress 0) notation in columns with S-specifier

for symmetry reasons in a large table I want the scientific format with 2 digits (i.e. e+08). By default it suppresses the 0. Here is what I do: \documentclass[]{article} \usepackage{siunitx} ...
5
votes
1answer
142 views

Problem aligning binary and hexadecimal numbers in siunitx table

Could you tell me what's wrong with next code? I want to get a three columns tabular where numbers are typeset with typewriter family and centred below its header. Numbers won't have any decimal part, ...
1
vote
0answers
42 views

Problem with uline and table-format in siunitx table

I asked a previous question about underlining data in a table when using the siunitx S column definition (see Use of underline and siunitx in a table). The advice given was perfect until I added ...
3
votes
1answer
70 views

Use of underline and siunitx in a table

I have a table of numbers that are aligned using the 'S' format of siunitx (so they are aligned by the decimal point). I need to mark the statistically significant numbers somehow, and using bold font ...
1
vote
0answers
57 views

Number-Alignment with siunitx in tables [closed]

Update... after a update to recent version of siunitx, everything is fine now. Thanks a lot @daleif and @crissov :-) \documentclass[ngerman,a4paper]{scrartcl} \usepackage[utf8]{inputenc} ...
7
votes
2answers
198 views

Number alignment in tables with some values in partial boldface (all but the decimal point)

I want to align decimal values in a table with some values printed in bold. Just by itself, this is no problem. We can use the siunitx package and \robustify\bfseries to do the trick as described, ...
1
vote
0answers
51 views

uncover cells in siunitx table beamer

I wish to show a calculation and update a table to help keep track of things. I use siunitx and booktabs in my beamer presentation. I want to have the numbers in the table aligned on the decimal ...
4
votes
1answer
53 views

Unwanted space between negative number and footnote marker

I have managed to produce a table that looks like I imagined it to, so all is well there. The only problem I am having is with my footnote markers. I am using threeparttable and siunitx, and I want to ...
4
votes
1answer
149 views

Serious problems with table layout

I have some issues when creating my OLS regression in LaTeX and really hope, that some of you could help me. (I do not know how to make more columns and to add text like: ...
3
votes
1answer
118 views

Optimizing size (font AND width) of tables produced with dcolumn/siunitx

I have a couple of tables in my document, and it's time to finalize them. This means I want to optimize: 1) the size of the font (if possible obtain \normalsize as in the rest of the document, or at ...
2
votes
1answer
85 views

How to correctly use siunitx to align number in the center of a table for number with preamble

I would like to have my numbers aligned left but centered in a table as in this solution, which I also tried to apply. Now my numbers are of the form ~24%. For a correct alignment I tried to protect ...
2
votes
1answer
260 views

Aligning the decimal point using siunitx and longtable?

I have just discovered that I couldn't do alignment of the decimal points using the siunitx and longtable packages. It throws errors, just to mention some for e.g.: Invalid numerical input 'e' Col1 ...
6
votes
1answer
102 views

siunitx overfull hbox dependent on table-format

There are a few similar questions (see here and here) regarding overfull \hboxes in siunitx tables but neither solves/explains the following. Consider this MWE: \documentclass{article} ...
2
votes
1answer
173 views

Alignment of siunitx S-column looks bad with big numbers

I have to put a bunch of numbers into a lab report, and I currently use siunitx with tabular and the S column type. It looks great for small numbers and large column heads. However, for small heads ...
2
votes
2answers
217 views

Align position of decimal point within tabularx

I have made a table with 5 columns, of which I'd like the last 4 to be of the same width. Therefore I was told I should use tabluarx. Using this package my output looks fine, but I have also numbers ...
8
votes
1answer
329 views

Selectively use scientific notation in siunitx “S column”

My question is similar to Scientific Notation Only For Large Numbers and Adjust the exponent to switch between notations using siunitx I have a table which, for the most part, has numbers between ...
6
votes
1answer
307 views

Alignment at specific character with S column from siunitx

To avoid starting a new question yet again, I'll use this tread as the problem is the same as the first one. \documentclass{article} \usepackage{booktabs,dcolumn} \usepackage{calc} ...
6
votes
1answer
105 views

'e+0' notation in columns with S-specifier

I know it sounds silly but I want to have the scientific notation e+0 in a table with S specified columns. Currently it gives me only e0. It just looks better in my table to have the zero with sign, ...
8
votes
2answers
519 views

siunitx and 'e' notation in Tables with S column

I have a problem using \sisetup{output-exponent-marker = \text{e}} in my table. I use the S-columns provided from the siunitx package. It does change to the 'e' notation but it does not delete the ...
2
votes
1answer
238 views

siunitx: bold single numeric cells + mathspec

I need to bold and align numeric values in a table while using both mathspec and siunitx packages. I've looked at siunitx: Bold single numeric cells for bold and alignment in a tabular environment ...
2
votes
2answers
307 views

Alignment of table header in column with decimal numbers using siunitx

I have a table with decimal numbers aligned at decimal point. In the column header, I have a % sign. In the code snippet given below, the percent sign is aligned at the left in the column, but I would ...
3
votes
1answer
144 views

siunitx tables and commands between columns

I'd like to add parenthesis around some columns in a table, using the siunitx package. I'm using the > and < column specifiers, and they seem to work... except in the last column, where some ...
4
votes
1answer
119 views

Why do I have to choose between global and local settings for siunitx tabular behaviour?

This is a follow up to Numbers in tables: align by decimal point *and* flush right?. In a tabular set with siunitx, I can give formatting options or in the \sisetup{} command or in the ...
8
votes
1answer
236 views

LaTeX's datatool package together with siunitx

I want to use the datatool package to read csv files and parse them to LaTeX tables. Furthermore I want to use siunitx to format the numbers from the csv file. Have a look at the following example: ...
7
votes
1answer
410 views

\usepackage[group-separator={,}]{siunitx} Not working with longtable?

I have a table with very long counts (in the millions), so I would like to add commas. I have tried to use siunitx in a variety of ways in the preamble: \usepackage[group-separator={,}]{siunitx} ...
2
votes
1answer
199 views

How can I align numerical and angle values in a table using siunitx?

As described in DIN 461, units such as "Degree", "Minute" or "Second" should stay with their numerical value when labeling the tics of a coordinate system. I have no proof, but I think that this rule ...
0
votes
0answers
170 views

typeset large uncertainties using siunitx

I have some entries in a table where the uncertainties are very large compared to the value due to outliers in the data: \documentclass{article} \usepackage{siunitx} \usepackage{booktabs} ...
6
votes
1answer
246 views

\bfseries and alignment in table

I'm trying to highlight some decimal-point aligned entries in two large tables which are arranged in two columns. I'm using \bfseries to do this and unfortunately this seems to be affecting the ...
4
votes
1answer
139 views

How to display numbers in the format 12.3 (4.56) in a table column?

I would like to print numbers in a table in the form 12.3 (4.56) using siunitx. How can this be achieved? I'm a bit worried that siunitx changes the numbers in various ways and I would like to ...
3
votes
2answers
149 views

How to vertically align 'numbers' in a table? [pairs of numbers given as strings]

I display two sorts of values (say, A and B) in one table. The values are generated in R and I automatically create strings like "A (B)", so all values of type B are put in parentheses and are ...
12
votes
1answer
641 views

Scientific Notation Only For Large Numbers

I have a table full of numbers. Most of them are floating point numbers that are less than one, some are integers from 1-100, and a few are large (×10^75). I know how to set the precision of the ...
2
votes
1answer
67 views

Odd behaviour when dashes are add in a table?

Using the following MWE : \documentclass[12pt,a4paper]{report} \usepackage[lmargin=3.81cm,tmargin=2.54cm,rmargin=2.54cm,bmargin=2.52cm]{geometry} \usepackage{booktabs} \usepackage{siunitx} ...
4
votes
0answers
408 views

Align decimal marker with thousands separator using siunitx

My table consists of two groups of rows. The first group contains large values (X,XXX). The second groups contains smaller values (0.XXX). Siunitx aligns all numbers based on the position of the ...
3
votes
1answer
247 views

Why is the tnote of my threeparttable's table cheekily protruding? How can the width be (automatically) adjusted here?

Why is the tnote of my threeparttable's table cheekily protruding? How can the width be (automatically) adjusted here? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tabulary} ...
1
vote
1answer
337 views

Too narrow S-column in siunitx

I'm making a small table with numbers and units given with the \SI{num}{unit} call. However, the units stretches outside the table width, such that the booktabslines (or any other line) looks too ...