von Rolli » Mi 21. Nov 2018, 14:39
Einfach nicht setzen, dann ist sie auch weg:
\documentclass[a4paper]{article}
%% Language and font encodings
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
%% Sets page size and margins
\usepackage[a4paper,top=3cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry}
%% Useful packages
\usepackage[table,xcdraw]{xcolor}
\usepackage{booktabs}
\definecolor{tablegray}{gray}{.9}
\usepackage{multirow} % Zeilenverbindungen
\begin{document}
\begin{table}
\centering
\caption{test}
\renewcommand{\arraystretch}{0.7}
\begin{tabular}{>{\columncolor{tablegray}}c|ccccc>{\columncolor{tablegray}}c|ccc}
\hline
\rowcolor{tablegray} & \multicolumn{5}{c}{\textbf{A} in m} & &\multicolumn{3}{c}{\textbf{A} in m} \\ \cline{2-6} \cline{8-10}
\rowcolor{tablegray} \multirow{-2}{*}{\textbf{T} in °C} & \textbf{1} & \textbf{2} & \textbf{3} & \textbf{4} & \textbf{5} & \multirow{-2}{*}{\textbf{T} in °C} & \textbf{1} & \textbf{2} & \textbf{3} \\ \hline
\hline
\textbf{-1 } & \textbf{0,1} & \textbf{0,1} & \textbf{0,1} & 0,01 & 0,01 & \textbf{-2}& 0,1 & 0,1 & 0,1 \\
\end{tabular}
\end{table}
\end{document}
Gruß vom Rolli
Einfach nicht setzen, dann ist sie auch weg:
[code]
\documentclass[a4paper]{article}
%% Language and font encodings
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
%% Sets page size and margins
\usepackage[a4paper,top=3cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry}
%% Useful packages
\usepackage[table,xcdraw]{xcolor}
\usepackage{booktabs}
\definecolor{tablegray}{gray}{.9}
\usepackage{multirow} % Zeilenverbindungen
\begin{document}
\begin{table}
\centering
\caption{test}
\renewcommand{\arraystretch}{0.7}
\begin{tabular}{>{\columncolor{tablegray}}c|ccccc>{\columncolor{tablegray}}c|ccc}
\hline
\rowcolor{tablegray} & \multicolumn{5}{c}{\textbf{A} in m} & &\multicolumn{3}{c}{\textbf{A} in m} \\ \cline{2-6} \cline{8-10}
\rowcolor{tablegray} \multirow{-2}{*}{\textbf{T} in °C} & \textbf{1} & \textbf{2} & \textbf{3} & \textbf{4} & \textbf{5} & \multirow{-2}{*}{\textbf{T} in °C} & \textbf{1} & \textbf{2} & \textbf{3} \\ \hline
\hline
\textbf{-1 } & \textbf{0,1} & \textbf{0,1} & \textbf{0,1} & 0,01 & 0,01 & \textbf{-2}& 0,1 & 0,1 & 0,1 \\
\end{tabular}
\end{table}
\end{document}[/code]
Gruß vom Rolli