My apologies first as it may be that if i spent a sufficient amount of time playing and reading the siunitx manual, that I might be able to figure this out. About an hour has failed to yield the answer though.
I have a tabular environment and an S column. I wish for all the numbers in this column to be surrounded by () and written in italics (though the () themselves would not be in italics). I'd like this to happen while the alignment features of siunitx are still in operation.
I have tried the bracket-numbers=true option in combination with defining [...,open-bracket=(, close-bracket=),...] in this siunitx package options. Even for stand alone numbers \num[bracket-numbers=true]{12345} this does not appear to provide parenthesis.
Also for the italics part, I can put my number in \textit{1.2345} in the column, and this will work, but to my mind lacks elegance, e.g. it does not keep the specified alignment, just treats it as text.
Does any one have a solution. Many thanks
group-digits = false. On the alignment of material after the cell contents, look at thetable-align-text-postoption (again, you seem to want this setfalse). I should add that of course this is all something of an abuse of the system! – Joseph Wright May 31 '11 at 17:06table-align-text-post=truewith\tnote{a}then the "a" appears inside the text... i.e. where is would have been if there were no parenthesis and if grouping was turned off (whether it is or isn't turned off). This is despite having the thetable-space-text-pre={(}andpostparameters set.input-symbolit is treated as a digit for spacing purposes. Thus in my first approach(1.234)'appears' to have four digits after the decimal. – Joseph Wright May 31 '11 at 17:47\tnoteas a robustcommand. I'm guessing that\tnoteis defined in one of the packages I have running. Am I right that I don't need to use theDeclarRobustCommandif\tnoteid already defined? – aghsmith May 31 '11 at 18:12\tnotewas just for the example. – Joseph Wright May 31 '11 at 18:35