diff options
Diffstat (limited to 'macros/latex/contrib/siunitx/siunitx.tex')
-rw-r--r-- | macros/latex/contrib/siunitx/siunitx.tex | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/macros/latex/contrib/siunitx/siunitx.tex b/macros/latex/contrib/siunitx/siunitx.tex index a97ab0bc58..c37e3682e0 100644 --- a/macros/latex/contrib/siunitx/siunitx.tex +++ b/macros/latex/contrib/siunitx/siunitx.tex @@ -2418,20 +2418,20 @@ to the layout of tabular material (Table~\ref{tab:opt:tables}). \DescribeOption{table-alignment-mode} The method used by \pkg{siunitx} to align numbers is selected using the \opt{table-alignment-mode} option, which may be one of \opt{marker}, -\opt{format} or \meta{none}. With the standard setting, \meta{marker}, the +\opt{format} or \meta{none}. With the standard setting, \opt{marker}, the package centers the decimal marker in a tabular column, potentially leaving -white space at the shorter end of a number. The \meta{format} mode uses -information from the \meta{table-format} key to construct a model: this is then +white space at the shorter end of a number. The \opt{format} mode uses +information from the \opt{table-format} key to construct a model: this is then used to define the space available to a number. For asymmetrical numbers, this method is strongly preferable. Finally, \opt{none} disables alignment entirely: numbers are simply parsed. \DescribeOption{table-number-alignment} -When \opt{table-alignment-mode} is set to \meta{format} or \meta{none}, the +When \opt{table-alignment-mode} is set to \opt{format} or \opt{none}, the placement of the number \enquote{block} within the cell as a whole is set by -the \meta{table-number-alignment} option, which may be one of \meta{left}, -\meta{center} or \meta{right}. (When \opt{table-alignment-mode} is set to -\meta{marker}, the decimal marker is always centered in the cell.) The +the \opt{table-number-alignment} option, which may be one of \opt{left}, +\opt{center} or \opt{right}. (When \opt{table-alignment-mode} is set to +\opt{marker}, the decimal marker is always centered in the cell.) The different alignment choices are illustrated in Table~\ref{tab:S:align}, which uses somewhat exaggerated column headings to show the relative position of the cell contents. @@ -2485,7 +2485,7 @@ Table~\ref{tab:S:parse}. \DescribeOption{table-format} When the \opt{table-alignment-mode} is set to \opt{format}, \pkg{siunitx} uses -the information set in \meta{table-format} to construct a \enquote{model} which +the information set in \opt{table-format} to construct a \enquote{model} which defines the space to reserve for a number. The \opt{table-format} key is interpreted in much the same way as a table cell. The numerical part should consist of a number showing how many figures to reserve in each part of the @@ -2805,7 +2805,10 @@ the numbers themselves right-aligned (Table~\ref{tab:width:special}). Cell contents which are not part of a number can be protected using braces, as illustrated. Cells which contain no numerical data at all are aligned using the setting specified by the \opt{table-text-alignment} option, which recognises -the values \opt{center}, \opt{left} and \opt{right} (Table~\ref{tab:S:text}). +the values \opt{center}, \opt{left}, \opt{none} and \opt{right} +(Table~\ref{tab:S:text}). The setting \opt{none} is intended for use with +the package \pkg{tabularray}, which carries out its own alignment of textual +values. \begin{LaTeXdemo}[code and float] \begin{table} \caption{Aligning text in \texttt{S} columns.% |