I tried to use the Slovak language with the booktabs package.
Let's see a couple of cases.
slovakis included in the options tobabel\usepackage[english,slovak]{babel}or
\usepackage[slovak,english]{babel}or
\usepackage[slovak]{babel}`"slovak" is NOT included in the options to
babel\usepackage[english]{babel}
Similarly two cases for \cmidrule
A. \cmidrule{2-3} is included in the table
B. \cmidrule{2-3} is NOT included in the table
If both (slovak+\cmidrule) are included (case 1A), then following error occurrs
Paragraph ended before \@@@cmidrule was complete
(and a lot of other errors)
In the other cases (1B, 2A and 2B) (NO slovak or NO \cmidrule), then pdflatex is succesful
Does anybody know why 1A is wrong?
And how to use slovak and \cmidrule together (case 1A)?
\documentclass[10pt]{book}
\usepackage[english,slovak]{babel}
\usepackage{booktabs}
\begin{document}
\begin{tabular}{ccc}
A & B & C \\
%\cmidrule{2-3}
A & B & C \\
\end{tabular}
\end{document}
I have Win7, TeXstudio 2.5.2
slovakmakes the-an active character. This has to be reversed forbooktabs. (The same is true for the standard\cline.) – Qrrbrbirlbel May 02 '13 at 20:53