# Tag Info

7

Don't use \@startsection in the KOMA-classes, the definition of the sectioning commands in KOMA are different. Use the tools offered by the class: \documentclass{scrbook} \usepackage{siunitx} \RedeclareSectionCommand[ beforeskip=2ex plus 1ex minus 1ex, afterskip=0.5ex plus 0.5ex minus 0.5ex, font=\Large\bfseries]{section} \begin{document} ...

6

Not every font has the correct glyphs in \mathrm to work 'out of the box'. Here you probably want \documentclass{article} \usepackage{skmath} \usepackage{siunitx} \sisetup{math-rm = \ensuremath} \begin{document} \num{\pi} \end{document}

6

I think this is the most recent siunitx' manual. Here the word percent appears only five times, and I cannot find permille or similar. A possible answer can be found here, that is, you can put the following declaration in the preamble \DeclareSIUnit\permille{\text{\textperthousand}} and then use it just as the \percent macro of siunitx. ...

4

I do not know another solution but tweaking around with two columns. Is there a reasons why you do not want to use two? % arara: pdflatex \documentclass[12pt]{report} \usepackage{booktabs} \usepackage{siunitx} \usepackage{caption} \begin{document} \begin{table} \centering \caption{My caption} ...

4

Global options can be overwritten locally in the optional argument of \SI: \SI[prefixes-as-symbols]{1}{\hecto\pascal} Full file: \documentclass[a4paper,10pt,fleqn]{article} \usepackage{siunitx} \sisetup{ locale=DE, per-mode=fraction, separate-uncertainty, exponent-to-prefix, prefixes-as-symbols=false, ...

3

At present I don't have a 'do X' fix for this, but I can explain why the issue arises and note that I am giving it some thought. The 'traditional' math font set up in TeX uses a series of different font families to deliver different appearance. Inside siunitx, I use this to detect \mathsf and \mathtt (as opposed to roman text) by looking at the \fam value. ...

3

Probably you like to obtain something like this: Your problem is consequence that \multicolumn{3}{c|}{...} is wider than columns widths which it span. So I enlarge their width with new formatting (see code). Beside this I clean up your code (which contain bunch of errors) all unnecessary \multicolumns and wrong coding of uncertainties. ...

3

I simplified your code, added some padding between rows thanks to the makecell package, and propose another, better-looking solution code, without vertical lines, using booktabs: \documentclass[12pt, oneside]{article} \usepackage{geometry} \geometry{a4paper} \usepackage{amssymb} \usepackage{array} \usepackage{booktabs} \usepackage{amsmath} ...

3

Maybe something like this: \documentclass[12pt]{report} \usepackage{booktabs} \usepackage{siunitx} \begin{document} \begin{table} \centering \sisetup{ table-figures-integer = 4 , table-figures-decimal = 0 , table-space-text-post = {~(\SI{99}{\percent})} , table-number-alignment = center } ...

1

It has to be \newcommand*{\blue}{{\cellcolor{blue!25}}} with an extra set of curly braces.

1

Even though I'd do some things a little bit different myself, I will simply answer the specific questions you asked. To get the integer numbers centered in the column, wrap them in a group as in {4,438}, as these groups are not parsed by siunitx. Also, I wrapped your column headings in groups to get them centered. Optionally you can use ...

Only top voted, non community-wiki answers of a minimum length are eligible