Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

There seems to be a problem between the CIFA document class and the booktabs package. When I compile the following code, the horizontal lines are not displayed:

\documentclass{cifa}
\usepackage{booktabs}

\begin{document}
\begin{table}
    \centering 
    \begin{tabular}{cc}
        \toprule
        $Cell_{11}$ & $Cell_{12}$ \\
        \midrule
        $Cell_{21}$ & $Cell_{22}$ \\
        \bottomrule
    \end{tabular}
    \caption{Bad table}
\end{table}
\end{document}

If I use the article document class, the example compiles correctly. Any workaround?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

The thickness of the rules is defined by booktabs relative to the main document's font. However cifa.cls forgets to say \normalsize (which every class should do), so booktabs sets the thickness to a fraction of zero (because the font has not yet been chosen).

\documentclass{cifa}
\normalsize

<other packages>
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.