Edición de tabla en LateX

Edición de tabla en LateX

A continuación se muestra una tabla que quiero que aparezca en la página superior de una página de dos columnas. Pero no se ve bien, si alguien pudiera ayudarme.

\begin{table*}[t]
\centering\setlength{\tabcolsep}{.3\tabcolsep}
\begin{tabularx}{\linewidth}{|*2{>{\centering\hsize=1.6666\hsize}X|}*8{>{\centering\arraybackslash\hsize=.83333\hsize}X|}}
\hline
{\bf Point of Comparison} & {\bf Microsoft Kinect} & {\bf Asus Xtion} \\
\hline
Hardware Compatibility & Stable work with various hardware models & Does not work with some USB controllers (especially USB 3.0) \\
\hline
View Adjustment & Has motor that can be controlled remotely by the application & No motor, allow only manual positioning \\
\hline
  Size & 12" x 3" x 2.5" & 7" x 2" x 1.5" \\
\hline
Weight &     3.0 lb &     0.5 lb \\
\hline
Power Supply & USB + ACDC power supply &        USB \\
\hline
Power Consumption & 12 watts & below 2.5 watts  \\
\hline
Distance of Use & between 0.8m and 4m in normal field of view
 & between 0.8m and 3.5m \\
~& between 0.4m and 3m in narrow field of view &~\\
\hline
Field of View & 57\degree horizontal, 43\degree vertical & 58\degree Horizontal, 45\degree Vertical \\
\hline
Vertical tilt range  &     $\pm$27\degree & Not applicable \\
\hline
Frame rate & 30 frames per second (FPS) & 30 frames per second (FPS) \\
\hline
Depth Image Size - Resolution  &  640 x 480 pixels &  640 x 480 pixels \\
\hline
OS Platform Support & Xbox 360 & Microsoft Windows
 \\
 & Microsoft Windows & Linux\\
&  Linux & MacOS\\
& MacOS & \\ 
\hline
Programming Language & C++/C\# (Windows)
 & C++/C\# (Windows) \\
& C++(Linux) & C++(Linux)\\
& JAVA & JAVA\\
\hline
\end{tabularx}
\caption{Comparison between Microsoft Kinect and Asus Xtion Specifications}
\label{tab:template}
\end{table*}

Respuesta1

Realmente no sé mucho sobre cómo organizar el material en elcuerpode la mesa. En términos del diseño general de la tabla, le sugiero que no cambie la configuración de \tabcolsep, no use líneas verticales y no use \hlineinstrucciones en el cuerpo de la tabla; en su lugar, simplemente inserte un poco más de espacio en blanco horizontal entre grupos de filas. Utilice los comandos \toprule, \midruley \bottomruledel booktabspaquete. Su código de ejemplo define una tabla con diez [10] columnas, pero parece que solo usa tres de ellas; Al cambiar el ancho de las columnas de tipo X, recuerde que la suma de las \hsizes relativas debe ser igual al número de columnas. Es posible que desee probar anchos de columna relativos de 0,8, 1,1 y 1,1.

Algo como lo siguiente, entonces, puede ser un punto intermedio en el proceso:

ingrese la descripción de la imagen aquí

\documentclass[twocolumn]{article}
\usepackage{tabularx,booktabs}
\newcommand\degree{${}^\circ$\,}
\begin{document}\pagestyle{empty}
\begin{table*}[t]
\begin{tabularx}{\linewidth}{@{}>{\hsize=0.8\hsize}X *2{>{\hsize=1.1\hsize}X}@{}}
\toprule
\textbf{Point of Comparison} & \textbf{Microsoft Kinect} & \textbf{Asus Xtion} \\
\midrule
Hardware Compatibility & Stable work with various hardware models & Does not work with some USB controllers (especially USB 3.0) \\[0.7ex]
View Adjustment & Has motor that can be controlled remotely by the application & No motor, allow only manual positioning \\[0.7ex]
Size & 12" x 3" x 2.5" & 7" x 2" x 1.5" \\[0.7ex]
Weight &     3.0 lb &     0.5 lb \\[0.7ex]
Power Supply & USB + ACDC power supply &    USB \\[0.7ex]
Power Consumption & 12 watts & below 2.5 watts  \\[0.7ex]
Distance of Use & between 0.8m and 4m in normal field of view
 & between 0.8m and 3.5m \\
 & between 0.4m and 3m in narrow field of view \\[0.7ex]
Field of View & 57\degree horizontal, 43\degree vertical & 58\degree Horizontal, 45\degree Vertical \\[0.7ex]
Vertical tilt range  &     $\pm$27\degree & Not applicable \\[0.7ex]
Frame rate & 30 frames per second (FPS) & 30 frames per second (FPS) \\[0.7ex]
Depth Image Size - Resolution  &  640 x 480 pixels &  640 x 480 pixels \\[0.7ex]
OS Platform Support & Xbox 360 & Microsoft Windows \\
 & Microsoft Windows & Linux\\
 &  Linux & MacOS\\
 & MacOS & \\[0.7ex] 
Programming Language & C++/C\# (Windows)
 & C++/C\# (Windows) \\
 & C++(Linux) & C++(Linux)\\
 & JAVA & JAVA\\
\bottomrule
\end{tabularx}
\caption{Comparison between Microsoft Kinect and Asus Xtion Specifications}
\label{tab:template}
\end{table*}
\end{document}

Apéndice: Como Barbara Beeton ha señalado en un comentario, el texto tipográfico en medidas estrechas, como en las tres columnas estrechas de esta tabla, generalmente se ve mejor si está escrito de forma irregular en lugar de justificado. Esta apariencia se puede lograr, en el presente caso, (i) cargando el ragged2epaquete, (ii) especificando un nuevo tipo de columna llamado, digamos Y, de la siguiente manera:

\usepackage{booktabs,tabularx,ragged2e}
\newcolumntype{Y}{>{\RaggedRight\arraybackslash}X}

y (iii) especificar las tres columnas del tabularxentorno como de tipo Yen lugar de tipo X. ( \hsizePor supuesto, también querrás conservar las instrucciones).

información relacionada