5
votes
2answers
70 views

Table alignment problem

So I wasn't happy with how esttab was formatting my regression tables from the statistical program Stata. So I instead I decided to attempt to build my own skeleton table, which had better formatting, ...
6
votes
2answers
114 views

Basic S Column Alignment with siunitx package

OK, what am I missing here? Why is the S column not aligning on the decimal: The desired result is the data aligned on the decimal and centered within the column: Code: \documentclass{article} ...
1
vote
2answers
55 views

\num with parameters in siunitx table

I have a couple of different methods to solve a diven problem and I want to compare them in a table. My aim is it to automatically add the relative deviation. I got some problems using siunitx within ...
0
votes
0answers
27 views

Control stargazer table output in combination with mathpazo and siunitx

I like the idea to control all my numeric outputs with the smallest number possible of packages. I use mathpazo to control my fonts and siunitx to control formatting. Yet when I knit a LaTeX table ...
3
votes
3answers
589 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
66 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
91 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
93 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
65 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
92 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
119 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
128 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
143 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
67 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
159 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
61 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
93 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
71 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
129 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, ...
13
votes
2answers
159 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
164 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
47 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
79 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
65 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
205 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
53 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
57 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
156 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
130 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
94 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
283 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
110 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
198 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
265 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
355 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
346 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
109 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
593 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
253 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
340 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
150 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
127 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
246 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
437 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
216 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
176 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
272 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
143 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
156 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
668 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 ...