- Questo topic ha 1 risposta, 2 partecipanti ed è stato aggiornato l'ultima volta 10 anni, 8 mesi fa da .
-
Topic
-
Ciao, sto facendo una tabella con le righe colorate. Il problema è che la striscia colorata è più lunga della linea toprule, come indicato nella figura in allegato. Come posso fare in modo che sia al solito pari? Grazie, ciao.`
\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{color, colortbl}
\definecolor{LightCyan}{rgb}{0.88,1,1}
\usepackage[first=0,last=9]{lcg}
\newcommand{\ra}{\rand0.\arabic{rand}}\begin{document}
\title{Title}
\author{Me}
%\date{10 dicembre 2015}\maketitle
\begin{center}
\begin{tabular}{@{} lrr @{}}
\toprule
& \textbf{GE90} & \textbf{PW4000-100}\\
\midrule
\rowcolor{LightCyan}
\textbf{Company} & General Electric & Pratt \& Whitney\\
\textbf{Velivolo} & Boeing 777 & Airbus A330\\
\rowcolor{LightCyan}
\textbf{Pressure ratio} & 37.8 & 32.0 \\
\textbf{BPR} & 8.4 & 5.0\\
\rowcolor{LightCyan}
\textbf{Spinta al Take-off} (N) & 375300 & 286910\\
\textbf{Spinta al cruise} (N) & 69200 & 78071\\
\bottomrule
\end{tabular}
\captionof{table}{Caratteristiche della piastra e del canale}
\label{tab:dati_canale-piastra}
\end{center}\end{document}
`[attachment=1480]row.png[/attachment]
- Devi essere connesso per rispondere a questo topic.