# Tag Info

1

(I didn't bother with vertical lines) In comparison to your MWE the following changes were done in the following MWE: defined is robust command for command \B which is used instead of \bfseries added is mode=text redefined is table-format added is space for * \documentclass{book} \usepackage{siunitx} \usepackage{booktabs, tabularx, threeparttable} \...

5

Changing it to use 0.6 in all cases \Si uses text mode ......\hbox(5.814+0.108)x11.475, direction TLT .......\TU/STIXTwoText(1)/m/n/9 0 .......\TU/STIXTwoMath(1)/m/n/9 . .......\TU/STIXTwoText(1)/m/n/9 6 but \hphantom is using math mode .....\hbox(6.021+0.117)x7.785, direction TLT ......\TU/STIXTwoMath(1)/m/n/9 0 ......\TU/STIXTwoMath(1)/m/n/9 . and as ...

7

The widths of the digits are not the same in STIX Two Math at \footnotesize. Why? Ask STIX. \documentclass{scrartcl} \usepackage{fontspec} \usepackage{unicode-math} \setmainfont{STIX Two Text} \setmathfont{STIX Two Math} \usepackage{mathtools} \usepackage{siunitx} \begin{document} \footnotesize $$X = \SI{4.8}{\henry}$$ \(X = \hphantom{.} \SI{10}{\...

0

You might try the footnote package and its \savenotes and \spewnotes. It should be noted that the current version of the package is 20+ years old. I'm not aware of significant downsides with the package, though… \documentclass{book} \usepackage[paperheight=5cm]{geometry} \usepackage{siunitx,footnote} \usepackage[footnote]{acronym} \begin{document} \chapter*{...

2

Of the 3 approaches you've given, only \sagestr{out1} has a chance of working. That's because it's a 3 step compilation process: first run is LaTeX and this must compile without error, second is Sage, 3rd is LaTeX substituting Sage results into LaTeX code. The part in bold explains why the other 2 approaches won't work as is (possible with expl3 code, I ...

9

To add symbols, you have the key input-symbols, but this one is a comparator, so you just have to set the table-comparator switch to true: \documentclass[oneside,11pt]{book} \usepackage[semibold,tt=false]{libertine} \usepackage{libertinust1math} \usepackage[ expansion = false , tracking = smallcaps , letterspace = 40 , final ]{microtype} \usepackage[...

5

Try the following: \documentclass[12pt]{article} \usepackage[semibold,tt=false]{libertine} \usepackage{libertinust1math} \usepackage[expansion = false, tracking = smallcaps, letterspace = 40, final] {microtype} \usepackage{booktabs} \usepackage{siunitx} \begin{document} \begin{center} \begin{tabular}{c ...

3

Put the \SI{\sim 6}{} instead of \sim and it is works in pdfLaTeX. Happy new year :-). See the explanation here: How to correctly use siunitx to align number in the center of a table for number with preamble \documentclass[oneside,11pt]{book} \usepackage[semibold,tt=false]{libertine} \usepackage{libertinust1math} \usepackage[ expansion = false , tracking ...

2

I think the key to getting siunitx's macros \SI and \num and the S column type to work you want them to is to execute \DeclareSymbolFontAlphabet{\mathrm}{operators}, an instruction which you provided in your query a few weeks ago but left off from the code in your new query. The following code produces the exact same desired output -- oldstyle numerals ...

2

New Answer You can set \SI and \begin{tabular}{S} to use a different font with the option text-rm=. Here is a MWE that sets both up to use fixed-width, old-style numbers: \documentclass{article} \usepackage{unicode-math} \setmainfont{NewComputerModernBook}[Numbers=OldStyle] \setsansfont{NewComputerModernSansBook}[Numbers=OldStyle] \setmonofont{...

3

In the following MWE, I made these changes in comparison to the original code: I corrected the wrong table-format options. For the first column, you should use -2.2(1) to account for the uncertainty, for the second column, use 3.2(1) to account for the uncertainty and the three digit number in the second row. (See also my answer to your previous question) ...

Top 50 recent answers are included