0

What is the mistake here? Thank you

\documentclass[12pt,a0paper]{report}
\usepackage{booktabs, makecell,amsmath, graphicx}
\usepackage{multirow}


\begin{document}
\begin{table}{llllllllll}  
\begin{tabular}
Dráha&  Parametr&   Hodnoty&    Krok&   $\chi^2$&   Dráha&  Parametr&   Hodnoty&    Krok&   $\chi^2$\\

\end{tabular}
\end{table} 
\end{document}   

EDIT

\documentclass[12pt,a0paper]{report}
\usepackage{booktabs, makecell,amsmath, graphicx}
\usepackage{multirow}


\begin{document}
\begin{table} 
\begin{tabular}{llllllllll} 
\multicolumn{5}{*}{Složka 1+3}& \multicolumn{5}{*}{Složka 2}    \\
Dráha&  Parametr&   Hodnoty&    Krok&   $\chi^2$&   Dráha&  Parametr&   Hodnoty&    Krok&   $\chi^2$\\


\end{tabular}
\end{table} 
\end{document}  
1
  • 1
    \multicolumn{<num>}{<align>}{<stuff>}. <align> should be center, left, right or p{<len>} for a paragraph-style alignment.
    – Werner
    Commented Dec 30, 2018 at 18:37

2 Answers 2

3

The tabular preamble is at the wrong place. It should be behind tabular, not table:

\documentclass[12pt,a0paper]{report}
\usepackage{booktabs, makecell,amsmath, graphicx}
\usepackage{multirow}


\begin{document}
\begin{table}
\begin{tabular}{llllllllll}
Dráha&  Parametr&   Hodnoty&    Krok&   $\chi^2$&   Dráha&  Parametr&   Hodnoty&    Krok&   $\chi^2$\\

\end{tabular}
\end{table}
\end{document}
1
  • Thank you and please what is the problem in the code in edit?
    – Elisabeth
    Commented Dec 30, 2018 at 18:01
1
  • please one problem per question
  • instead \multicolumn{5}{*}{Složka 2} you should write for example \multicolumn{5}{c}{Složka 2} (*is not valid column specifier)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .