mi mesa se sale mucho de mi página. ¿Cómo puedo hacer que todos aparezcan en una sola página?
Por favor vea el código de látex.
\begin{table}[h!]
\begin{center}
\begin{tabular}{|c|c|c|c|c|c|c|c| c|}
\hline
Measure & {NormCnts} & {LFC} & Up/down Expressed & CPM & TPM & RPKM & rlog & VST\\ \hline
Scale & [0-$\infty$] & [0-$\infty$] & [0 or 1] & [0-$\infty$] & [0- $\infty$] & & [0- $\infty$] & [0- $\infty$] \\ \hline
Type & Discrete & Discrete & Binary & Continuous & Continuous & & rlog & VST\\ \hline
Mean & Bimodal (highest peak) & insertValue & insertValue & insertValue & insertValue&insertValue & rlog & VST\\ \hline
Var & Heavy tailed (centered on 2500) & insertValue & insertValue & insertValue & insertValue& insertValue& rlog & VST\\ \hline
Special & insertValue & insertValue & insertValue & insertValue& insertValue& corrected for gene length & Var Stabilizing & Var Stabilizing\\ \hline
\end{tabular}
\end{center}
\caption{Comparison of various transformation techniques of gene expression.}
\label{table:Y_compare}
\end{table}
Respuesta1
Dado que la tabla tiene 9 columnas y que el salto de línea automático es posible solo en 5 de estas columnas, mis principales sugerencias son (a) representar la tabla en modo horizontal y (b) emplear un tabularx
entorno en lugar de un tabular
entorno, con salto de línea. empleado en 5 de las 9 columnas. (En el código que se muestra a continuación, observe que elsumade los anchos relativos de columna, 5, de estas columnas es igual a sunúmero, 5. Tenga en cuenta también que elusableEl ancho de la columna 2 es el doble que el de las columnas 8 y 9.)
\documentclass{article}
\usepackage[english]{babel}
\usepackage[letterpaper,vmargin=2cm,hmargin=3cm,
marginparwidth=1.75cm]{geometry}
\usepackage{pdflscape} % for 'landscape' environment
\usepackage{tabularx} % for 'tabularx' environment and 'X' column type
\newcolumntype{C}[1]{%
>{\centering\arraybackslash\hsize=#1\hsize}X} % centered version of 'X' col. type
\renewcommand\tabularxcolumn[1]{m{#1}} % center cell contents vertically
\begin{document}
\begin{landscape}
\begin{table}
\setlength\extrarowheight{2pt} % for a less-cramped look
\centering
\begin{tabularx}{0.9\linewidth}{|l|C{1.6}|c|C{0.9}|c|c|C{0.9}|C{0.8}|C{0.8}|}
\hline
Measure & {NormCnts} & {LFC} & Up/down Expressed & CPM & TPM & RPKM & rlog & VST \\
\hline
Scale & 0--$\infty$ & 0--$\infty$ & 0 or 1 & 0--$\infty$ & 0--$\infty$ & & 0--$\infty$ & 0--$\infty$ \\
\hline
Type & Discrete & Discrete & Binary & Continuous & Continuous & & rlog & VST \\
\hline
Mean & Bimodal (highest peak) & insertValue & insertValue & insertValue & insertValue & insertValue & rlog & VST \\
\hline
Var & Heavy tailed (centered on 2500) & insertValue & insertValue & insertValue & insertValue & insertValue & rlog & VST \\
\hline
Special & insertValue & insertValue & insertValue & insertValue & insertValue & corrected for gene length & Var Stabilizing & Var Stabilizing \\
\hline
\end{tabularx}
\caption{Comparison of various transformation techniques of gene expression.}
\label{table:Y_compare}
\end{table}
\end{landscape}
\end{document}