I tried to use the TAB
environment in a .dtx file with l3doc
class, but It seems to make latex compilation fail.
MWE:
\documentclass{l3doc}
\usepackage{xcolor}
\usepackage{easytable}
\begin{document}
\begin{TAB}(e,1cm,1cm){|c|c:c:c|}{|c|c:c|}
a & b & c & d \\
1 & 2 & 3 & 4 \\
5 & 6 & 7 & 8
\end{TAB}
\end{document}
the error also occurs using ltxdoc
, but not with article
class for instance:
Package `easy' Warning: unrecognized command macro:->\relax \ifmmode \hbox \els
e \leavevmode \null \fi \bgroup \let \do \do@noligs \verbatim@nolig@list \ttfam
ily \verb@eol@error \let \do \@makeother \dospecials \@ifstar {\@sverb }{\@vobe
yspaces \frenchspacing \@sverb } on line 6.
! Use of \@easy@xdef doesn't match its definition.
<argument> g__hook_env/\@easy@xdef /
end_code_prop
l.6 \begin{TAB}(e,1cm,1cm){|c|c:c:c|}{|c|c:c|}
Is there a way to fix this?
Or maybe I should abandon easytable
.