In plain TeX \cr
is used to mark the end of a row in a table.
In LaTeX \\
is usually used instead.
\\
takes an optional argument, which \cr
does not support. But I never use that anyway, I prefer booktabs' \addlinespace
.
As I have found out recently \\
does not always work, see this bug which was closed with this commit which adds a subsection to the documentation explaining that \cr
should be used instead. If the last column of a table is a S
column (defined by the siunitx
package) and text is appended to this column (with the array
package's <{...}
syntax) the spacing is wrong when using \\
but correct when using \cr
.
So I am wondering: Why not always use \cr
instead of \\
to denote the end of a row in a table?
\\
is that it facilitates some constructions of tabular contents because TeX does not see the hidden\cr
. In fact one sometimes wishes the&
too had been abstracted by LaTeX.tabular
andarray
, but also environments likecenter
.\cr
does not.siunitx
...