As I understand it, using various options for the S column in siunitx, I may produce columns containing both numerical and nonnumerical entries. I may have the numerical entries aligned at their decimal points. I may have the text entries either left-, right-, or center- justified with respect to the column's width.
Is it possible to have the numerical entries aligned by their decimal, while controlling the text entries' alignment as it relates to the decimal marker?
To complicate things further, is it possible to apply alignments differently row by row? In particular, could I leave column-centered alignment for the head entry of a column, while making my special decimal marker-based alignment apply to later entries?
The following MWE sort of produces what I want with exaggerated numbers, but I have manually forced some space in the last two entries to make it happen. I want to not have to do this.
\documentclass{article}
\usepackage{siunitx}
\newcommand*\heading[1]{\multicolumn{1}{c}{#1}}
\begin{document}
\begin{tabular}{S[table-format=9.3,table-text-alignment=center]}
\hline
\heading{Title}\\
\hline
1\\
2.000\\
6\\
24.0\\
123456789\\
{\phantom{123\,456\,78}\vdots\phantom{\,000}}\\
{\phantom{123\,456\,7}$f(n)$\phantom{\,00}}
\end{tabular}
\end{document}

Note that I do want a centered title, and that ideally I actually want the remaining text entries centered with respect to a point that is roughly 0.5\ex to the left of the decimal marker. Also, note that since I have such asymmetry between integer an fractional parts, I do not think that table-number-alignment=center-decimal-marker is helpful.

\headingmacro? – Qrrbrbirlbel Oct 27 '12 at 00:01\headingmacro. As I recall parameters liketable-text-alignment=leftmade the c in my\headingcommand pointless. I may be misremembering though - I went through a lot of experimentation this morning. – alex.jordan Oct 27 '12 at 02:21\multicolumnoverrides SIunitx's stuff. And “Title” was actually typeset centered to the whole column … – Qrrbrbirlbel Oct 27 '12 at 02:28table-text-align. I want to emphasize that such a solution should leave my heading alone, and still be overrideable by \multicolumn. Hopefully, this is not actually an issue. – alex.jordan Oct 27 '12 at 02:35{Title}or use your\multicolumnsolution. Implementing this inside of SIunitx is out of my skillset as it uses heavily LaTeX3 code. This is probably something for the developer of SIunitx. – Qrrbrbirlbel Oct 27 '12 at 02:51table-text-align = decimal-center, so align text relative to the decimal. Is that correct? Different alignments in different parts of a column are not really possible in a fully-automated, as table content is collected before being processed at all. As such, you will probably have to handle table headings using\multicolumnwith the option I suggest. – Joseph Wright Oct 27 '12 at 06:45siunitxwas designed to handle. The intention of theScolumn is to align numerical columns, which it does a reasonable job of, but if you have very specific needs then there comes a point at which a custom solution is the best way forward. – Joseph Wright Oct 27 '12 at 06:59