Por favor ayúdenme con un problema tabular.

Por favor ayúdenme con un problema tabular.

ingrese la descripción de la imagen aquí

La tabla anterior es deC. Bonatto y E. Bica: Parámetros fundamentales de M 52 y NGC 3960

\documentclass[a4paper,oneside,12pt]{report}
\begin{document}
\begin{small}
%\begin{sidewaystable}[h]
\begin{table}[htp]
%\restylefloat{table}
 \centering\small\setlength\tabcolsep{3pt}

%\centering \footnotesize\setlength{\tabcolsep}{0.5pt}
%\toprule
\hspace*{0cm}\begin{tabular}{l@{\hspace{3pt}} *{15}{c}}

%\begin{tabular}{l@{\hspace{1pt}} *{12}{c}}
\hline
\hline

%\bfseries cluster&
\multicolumn{6}{c}{\bfseries previous study}&
\multicolumn{6}{c}{\bfseries present study}\\

         \hline
clusters & $RA_{J2000}$ &$DEc_{J2000}$& $r_{core}$& $r_{lim}$ & $\log(age)$&E$(B-V)$&d&$RA_{J2000}$&$DEc_{J2000}$& $r_{core}$& $r_{lim}$ &$\log(age)$&E$(B-V)$&d\\
          &        &(hms)&(dms)& (arcmin)&(arcmin)&(year)&(mag)&(Kpc)&(hms)&(dms)&(arcmin)&(arcmin)& (year)&(mag)&(Kpc)\\
         \hline
\bfseries Berkeley 53
         &$20 55 56$&$+51 02.8$& $2.5\pm0.1$&$\simeq 20$&$9.09\pm0.02$&$1.52\pm0.01$&$3.1\pm0.1$
         &              &               & $4.19\pm0.28$ &$20\pm1.6$ &$9.10\pm0.05$  &$1.39\pm0.42$&$3240\pm440$\\
\hline
\hline
%\toprule
\end{tabular}\hspace*{0cm}
\caption{astrophysical parameters obtained from ischrone fitting}\label{tab:comber}
%\end{sidewaystable}
\end{table}
\end{small}
\end{document}

ingrese la descripción de la imagen aquí

Quiero una mesa como en la foto.

Respuesta1

Hay muchas maneras de ponerlo en formato horizontal, pero las siguientes al menos harán que quepa en una página. (Por cierto, también es demasiado grande para el paisaje).

\documentclass[a4paper,oneside,12pt]{report}
\usepackage{graphics}% for \resizebox

\begin{document}

%\begin{sidewaystable}[h]
\begin{table}[htp]
%\restylefloat{table}
 \centering\small\setlength\tabcolsep{3pt}

%\centering \footnotesize\setlength{\tabcolsep}{0.5pt}
%\toprule
\resizebox{\textwidth}{!}{% fit on page
\begin{tabular}{l@{\hspace{3pt}} *{15}{c}}

%\begin{tabular}{l@{\hspace{1pt}} *{12}{c}}
\hline
\hline

%\bfseries cluster&
& \multicolumn{7}{l}{\parbox{5in}%
  {\centering\textbf{previous study}\\
  \rule[.6\baselineskip]{5in}{.5pt}}}
& \multicolumn{7}{l}{\parbox{5in}%
  {\centering\textbf{present study}\\
  \rule[.6\baselineskip]{5in}{.5pt}}}
\vspace{-5pt}\\
clusters & $RA_{J2000}$ &$DEc_{J2000}$& $r_{core}$& $r_{lim}$ & $\log(age)$&E$(B-V)$&d&$RA_{J2000}$&$DEc_{J2000}$& $r_{core}$& $r_{lim}$ &$\log(age)$&E$(B-V)$&d\\
          &        &(hms)&(dms)& (arcmin)&(arcmin)&(year)&(mag)&(Kpc)&(hms)&(dms)&(arcmin)&(arcmin)& (year)&(mag)&(Kpc)\\
\hline
\bfseries Berkeley 53
         &$20 55 56$&$+51 02.8$& $2.5\pm0.1$&$\simeq 20$&$9.09\pm0.02$&$1.52\pm0.01$&$3.1\pm0.1$
     &              &               & $4.19\pm0.28$ &$20\pm1.6$ &$9.10\pm0.05$  &$1.39\pm0.42$&$3240\pm440$\\
\hline
\hline
%\toprule
\end{tabular}}
\caption{astrophysical parameters obtained from ischrone fitting}\label{tab:comber}
%\end{sidewaystable}
\end{table}
\end{document}

mesa

Respuesta2

Esta es una posible solución donde se agregan etiquetas (1) a (15) para mayor espacio libre. Esta solución cree que los compañeros usuarios de cfr y torbjorn están dando la dirección correcta y, además, la brecha (mostrada por (A), B, C aquí) entre las dos categorías de estudio presenta problemas. Hay un total de 16 columnas y la multicolumnagrupación también es fuente de error.

Nota: quitar (A), B, C dará el espacio correcto. Aquí sirven como balizas de referencia.

ingrese la descripción de la imagen aquí

Código

\begin{document}

%\begin{sidewaystable}[h]
\begin{table}[!htp]
%\restylefloat{table}
 \centering\small\setlength\tabcolsep{3pt}

%\centering \footnotesize\setlength{\tabcolsep}{0.5pt}
%\toprule
\hspace*{0cm}
\caption{astrophysical parameters obtained from ischrone fitting}\label{tab:comber}
\begin{tabular}{l@{\hspace{3pt}} *{15}{c}}
%\begin{tabular}{l@{\hspace{1pt}} *{12}{c}}
\hline
\hline
%\bfseries cluster
&
\multicolumn{7}{c}{\bfseries Previous study}&&
\multicolumn{7}{c}{\bfseries Present study}\\
\cline{2-8}\cline{10-16}
clusters & $RA_{J2000}$ &$DEc_{J2000}$& $r_{core}$& $r_{lim}$ & $\log(age)$&E$(B-V)$&d&&$RA_{J2000}$&$DEc_{J2000}$& $r_{core}$& $r_{lim}$ &$\log(age)$&E$(B-V)$&d\\
        &(hms)&(dms)& (arcmin)&(arcmin)&(year)&(mag)&(Kpc)&&(hms)&(dms)&(arcmin)&(arcmin)& (year)&(mag)&(Kpc)\\
(1)&(2)&(3)&(4)&(5)&(6)&(7)&(8)&(A) &(9)&(10)&(11)&(12)&(13)&(14)&(15)\\
         \hline
\bfseries Berkeley 53
         &$20 55 56$ &$+51 02.8$ & $2.5\pm0.1$    &$\simeq 20$ &$9.09\pm0.02$  &$1.52\pm0.01$ &$3.1\pm0.1$&B
         &                  &                  & $4.19\pm0.28$ &$20\pm1.6$ &$9.10\pm0.05$  &$1.39\pm0.42$ &$3240\pm440$\\
         \hline
\bfseries Berkeley 53
         &$20 55 56$&$+51 02.8$& $2.5\pm0.1$&$\simeq 20$&$9.09\pm0.02$&$1.52\pm0.01$&$3.1\pm0.1$         &C
         &              &               & $4.19\pm0.28$ &$20\pm1.6$ &$9.10\pm0.05$  &$1.39\pm0.42$&$3240\pm440$\\
\hline
\hline
%\toprule
\end{tabular}\hspace*{0cm}
%\end{sidewaystable}
\end{table}
\end{document}

Respuesta3

tabular exprimido

Podrías hacer esto. No lo recomiendo, pero es posible.

\documentclass[a4paper,oneside,10pt]{report}
\usepackage{booktabs}
\usepackage[hscale=.925]{geometry}
\begin{document}

\begin{table}[htp]

 \centering\scriptsize\setlength\tabcolsep{.25pt}

\noindent\begin{tabular}{l*{15}{c}}
\toprule
\multicolumn{6}{c}{\bfseries previous study} & \multicolumn{6}{c}{\bfseries present study}\\\midrule
clusters & $RA_{J2000}$ &$DEc_{J2000}$& $r_{core}$& $r_{lim}$ & $\log(age)$&E$(B-V)$&d&$RA_{J2000}$&$DEc_{J2000}$& $r_{core}$& $r_{lim}$ &$\log(age)$&E$(B-V)$&d\\
          &        &(hms)&(dms)& (arcmin)&(arcmin)&(year)&(mag)&(Kpc)&(hms)&(dms)&(arcmin)&(arcmin)& (year)&(mag)&(Kpc)\\\midrule
\bfseries Berkeley 53
         &$20 55 56$&$+51 02.8$& $2.5\pm0.1$&$\simeq 20$&$9.09\pm0.02$&$1.52\pm0.01$&$3.1\pm0.1$
         &              &               & $4.19\pm0.28$ &$20\pm1.6$ &$9.10\pm0.05$  &$1.39\pm0.42$&$3240\pm440$\\
\bottomrule
\end{tabular}
\caption{astrophysical parameters obtained from ischrone fitting}\label{tab:comber}
\end{table}

\end{document}

información relacionada