Code: Select all
\multicolumn{1}{|c|}{Corde 4} & 140 & 20 & 27 & 1 & 1,4 & 0,2 & 1,2 & 0,2 & 0,6 & 0,1 \\ \hline
\hhline{~~~~~~~b----}
\multicolumn{7}{r|}{Somme :} & 0,2 & 0,4 & 0,1 & 0,3 \\
\cline{8-11}
\end{tabular}
Code: Select all
\multicolumn{1}{|c|}{Corde 4} & 140 & 20 & 27 & 1 & 1,4 & 0,2 & 1,2 & 0,2 & 0,6 & 0,1 \\ \hline
\hhline{~~~~~~~b----}
\multicolumn{7}{r|}{Somme :} & 0,2 & 0,4 & 0,1 & 0,3 \\
\cline{8-11}
\end{tabular}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Code: Select all
\documentclass[10pt,oneside]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage{hhline}
\usepackage{siunitx}
\begin{document}
\begin{center}
\begin{minipage}{0.975\linewidth}
\renewcommand{\arraystretch}{1.5}
\begin{tabular}{l|c|c|c|c|c|c|c|c|c|c|}
\cline{2-11}
& \multicolumn{10}{c|}{A title}
\\ \cline{2-11}
& \multicolumn{1}{>{\centering}p{3em}|}{$x$}
& \multicolumn{1}{>{\centering}p{3em}|}{$\Delta x$}
& \multicolumn{1}{>{\centering}p{3em}|}{$y$}
& \multicolumn{1}{>{\centering}p{3em}|}{$\Delta y$}
& \multicolumn{1}{>{\centering}p{3em}|}{$A$}
& \multicolumn{1}{>{\centering}p{3em}|}{$\Delta A$}
& \multicolumn{1}{>{\centering}p{3em}|}{$\Delta B$}
& \multicolumn{1}{>{\centering}p{3em}|}{$\Delta B$}
& \multicolumn{1}{>{\centering}p{3em}|}{$C$}
& \multicolumn{1}{>{\centering}p{3em}|}{$\Delta C$}
\\ \cline{2-11}
& \multicolumn{2}{c|}{unit}
& \multicolumn{2}{c|}{unit}
& \multicolumn{2}{c|}{unit}
& \multicolumn{2}{c|}{unit}
& \multicolumn{2}{c|}{unit}
\\ \hhline{b-|==|==|==|==|==|}
\multicolumn{1}{|c|}{word 1} & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 \\ \hline
\hhline{~~~~~~~b----} % <--- problem here
\multicolumn{7}{r|}{Sum :} & 11 & 12 & 13 & 14
\\ \cline{8-11} % And here
\end{tabular} \\[10pt]
\end{minipage}
\end{center}
\end{document}
\cline{1-11}
and \hline
?Code: Select all
\multicolumn{7}{r}{Sum :} & \multicolumn{1}{|c|}{11} & 12 & 13 & 14
Code: Select all
\multicolumn{7}{r}{Sum :} & \multicolumn{4}{|c|c|c|c|}{11 & 12 & 13 & 14}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis