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
    \multicolumn{<num>}{<align>}{<stuff>}. <align> should be center, left, right or p{<len>} for a paragraph-style alignment. – Werner Dec 30 '18 at 18:37
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}
  • Thank you and please what is the problem in the code in edit? – Elisabeth Dec 30 '18 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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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