这里有什么错误?谢谢
\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}
编辑
\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
表格序言的位置不对。它应该位于 tabular 后面,而不是 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}
答案2
- 每个问题请提出一个问题
- 相反,
\multicolumn{5}{*}{Složka 2}
你应该写例如\multicolumn{5}{c}{Složka 2}
(*
不是有效的列说明符)