Hi all, in *TeX empty groups aren't harmless and I think AUCTeX shouldn't append braces to a macro when its last argument is optional. Consider for example the following code
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{booktabs}
\begin{document}
\begin{tabular}{ll}
\toprule{}
foo & bar \\
\midrule
foo & bar \\
\bottomrule
\end{tabular}
\end{document}
--8<---------------cut here---------------end--------------->8---
The first cell of the first row has a wrong spacing. The attached
patch should fix this problem. Objections or better solutions?
Bye,
Mosè
last-optional-argument.patch
Description: Binary data
_______________________________________________ auctex-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex-devel
