I'm using booktabs and siunitx to create a table. I want to use multirow and also to align on decimals using the siunitx package's column type S as below:
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
I believe you're out of luck here. \multirow sets its contents in a \parbox and there is no way I can see that siunitx can access and do its magic with it.
Hi and thank you for the solution, it sort of works If I have titles on my columns this seems to mess with the table format. HOWEVER, this goes away if I include the xcolor package. Does anyone know what's going on? Anyway, with xcolor it works so I am happy! Thank you!
I can't find anything messed up, neither with nor without »xcolor«. However, anything like titles in S columns needs to be enclosed with braces. But since you've done that I assume you already know that...
That's strange. If I comment out that package in the mwe in writelatex I see something happening to the one number in the double row. Anyway, it's not broken anymore so no need to fix it.
Brynolf wrote:That's strange. If I comment out that package in the mwe in writelatex I see something happening to the one number in the double row.
Indeed... I didn't test it on writelatex at first but on my own machine where I didn't see anything. (I also didn't expect any different output.) Since you say there's nothing to fix I won't investigate.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p