I would like to use both packages draftmark and siunitx in the same document. When I do this I get the error
! Undefined control sequence.
\@BTswitch ->{\CT@arc@
\hrule \@height \@thisrulewidth }\futurenonspacelet \...
As soon as I comment out either \usepackage{siunitx} or \midrule, it works.
Here is what I tried
\documentclass[11pt,a4paper]{article}
\usepackage{siunitx}
\usepackage{booktabs,tabularx}
\usepackage[draft]{draftmark}
\begin{document}
\begin{tabularx}{\textwidth}{ll}
head1 & head2 \\
\midrule
123 & 456\\
123 & 456\\
\end{tabularx}
\end{document}
Obiviously, there is no problem when I comment out \usepackage[draft]{draftmark}
Can anyone help? Thanks.



etextoolsthat's known to be very buggy and incompatible with recent (past 2010) versions of LaTeX. You get it somewhat working if you loadtabularxafterdraftmark, but I can't guarantee further problems won't show up.draftwatermarkworks withsiunitx. Have you considered this instead?