Latex (texmaker) table \cline -
i'm having problem creating table in latex.
so want create table when use \cline
gives me
error ! paragraph ended before \@cline complete.\par
and more.
i'm using \usepackage{multiraw}
, \usepackage{tabulary}
tables.
the table:
\begin{table} \centering \begin{tabular}{|c|c|c|c|c|c|c|} \hline \multirow{2}{*}{laktóza $ [\mathrm{mmol \cdot dm^{-3}}] $} & \multirow{2}{*}{} & \multicolumn{5}{c|}{onpg $ [\mathrm{mmol \cdot dm^{-3}}] $} \\ \ & & \multicolumn{1}{c|}{0,10} & \multicolumn{1}{c|}{0,25} & \multicolumn{1}{c|}{0,50} & \multicolumn{1}{c|}{1,0} & \multicolumn{1}{c|}{2,0} \\ \ \hline \multirow{2}{*}{0} & $ v_{onpg} \enskip [\mathrm{\mu l}] $ & 10 & 25 & 50 & 100 & 200 \\ \cline{2-7} & $ v_{roztok \enskip z} \enskip [\mathrm{\mu l}] $ & 990 & 975 & 950 & 900 & 800 \\ \ \hline \end{tabular} \end{table}
thanks every help.
\documentclass{article} \usepackage{multirow} \usepackage{tabulary} \begin{document} \begin{table} \centering \begin{tabular}{|c|c|c|c|c|c|c|} \hline \multirow{2}{*}{laktóza $ [\mathrm{mmol \cdot dm^{-3}}] $} & \multirow{2}{*}{} & \multicolumn{5}{c|}{onpg $ [\mathrm{mmol \cdot dm^{-3}}] $} \\ & & \multicolumn{1}{c|}{0,10} & \multicolumn{1}{c|}{0,25} & \multicolumn{1}{c|}{0,50} & \multicolumn{1}{c|}{1,0} & \multicolumn{1}{c|}{2,0} \\ \hline \multirow{2}{*}{0} & $ v_{onpg} \enskip [\mathrm{\mu l}] $ & 10 & 25 & 50 & 100 & 200 \\ \cline{2-7} & $ v_{roztok \enskip z} \enskip [\mathrm{\mu l}] $ & 990 & 975 & 950 & 900 & 800 \\ \hline \end{tabular} \end{table} \end{document}
this code compiles , output should in thoughts:
some \
after \\
, before \hline
not supposed , produced errors (compare lines 5, 6 , 9 of code mine).