josephwright / josephwright/siunitx

Problems with alias commands for \tabularnewline

Open
#335 1 comment 0 reactions 1 assignee View on GitHub

@josephwright is already working on this.

Since May 25, 2018.

bug
Dominant language
TeX
Stars
407
Forks
29
Avg merge
11h 20m
Merged PRs (30d)
3

Description

I'm not sure if siunitx can do something about it, but I just came across this problem in a document which uses the ctable package:

\documentclass{book}
\usepackage{siunitx}


\begin{document}
%works:
\begin{tabular}{lS}
abc & 1.230\textsuperscript{*} \tabularnewline
\end{tabular}

\begin{tabular}{lS}
abc & 1.230\textsuperscript{*} \\
\end{tabular}

%fails
\def\NN{\tabularnewline}

\begin{tabular}{lS}
abc & 1.230\textsuperscript{*}\NN
\end{tabular}

\end{document}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.