Mi código se puede encontrar a continuación.
\documentclass[fleqn,10pt]{SelfArx} % Document font size and equations flushed left
\usepackage[font=small]{caption}
% New commands
\newcommand{\head}[1]{\textnormal{\textbf{#1}}}
\renewcommand{\thefootnote}{NS}
% Load packages
\usepackage{gensymb}
\usepackage{multirow}
\usepackage{tabularx}
%----------------------------------------------------------------------------------------
% COLUMNS
%----------------------------------------------------------------------------------------
\setlength{\columnsep}{0.55cm} % Distance between the two columns of text
\setlength{\fboxrule}{0.75pt} % Width of the border around the abstract
...
\begin{table}[hbt]
\caption{Fold changes in relaxation parameters in the dorsal muscle and lumbar(/-osacral) IVDs. \\
\begin{tabularx}{\linewidth}{X*{2}{p{0.7cm}} X*{7}{p{0.9cm}}}
\toprule[1.5pt]
& & \multicolumn{2}{c}{\head{Dorsal}} & \multicolumn{5}{c}{\head{IVD}} \\
& & \multicolumn{2}{c}{\head{muscle}} \\ \cmidrule{3-4} \cmidrule{5-9}
& & 1 & 2 & L3-L4 & L4-L5 & L5-L6 & L6-L7 & L7-S1 \\ \midrule
& t2/t1 & 0.99$^*$ & 1.24 & 0.64 & 1.05$^*$ & 1.53 & 1.52 & 2.45 \\
\head{T$_{1\rho}$} & t3/t2 & 1.3 & 0.88 & 2.61 & 1.16 & 1.07$^*$ & 1.03$^*$ & 0.7 \\
& t3/t1 & 1.29 & 1.1$^*$ & 1.68 & 1.22 & 1.63 & 1.56 & 1.72 \\ \midrule
& t2/t1 & 1.18 & 1.05 & 1.07$^*$ & 1.05$^*$ & 0.83 & 1.43 & 1.32 \\
\head{T$_2$} & t3/t2 & 0.87 & 1.03 & 0.66 & 0.67 & 0.94$^*$ & 0.69 & 0.67 \\
& t3/t1 & 1.02$^*$ & 1.08 & 0.71 & 0.7 & 0.78 & 0.99$^*$ & 0.88 \\
\bottomrule[1.5pt]
\end{tabularx}
\label{tab:lbl}
\end{table}
\end{document}
Quiero obtener una tabla que se ajuste al ancho de una columna (2 columnas en una página, espacio entre columnas = 0,55 cm, ancho de columna ~= 7,925 cm).
Quiero disminuir la distancia desde el texto hasta los bordes de las celdas para las dos primeras columnas y tener el mismo tamaño de celda para las 7 columnas siguientes.
Respuesta1
\documentclass[10pt]{article} % Document font size and equations flushed left
\usepackage{booktabs}
\usepackage{tabularx}
\newcommand{\head}[1]{\textnormal{\textbf{#1}}}
\begin{document}
\noindent\hrulefill a line\hrulefill% to show the linewidth
\def\N{\phantom{0}}
\begin{center}
\begin{tabular}{@{} l l c c *5l @{}}
\toprule[1.5pt]
& & \multicolumn{2}{c}{\head{Dorsal}} & \multicolumn{5}{c}{\head{IVD}} \\
& & \multicolumn{2}{c}{\head{muscle}} \\ \cmidrule{3-4} \cmidrule{5-9}
& & 1 & 2 & L3-L4 & L4-L5 & L5-L6 & L6-L7 & L7-S1 \\ \midrule
& t2/t1 & 0.99\rlap{$^*$} & 1.24 & 0.64 & 1.05$^*$ & 1.53 & 1.52 & 2.45 \\
\head{T$_{1\rho}$} & t3/t2 & 1.3\N & 0.88 & 2.61 & 1.16 & 1.07$^*$ & 1.03$^*$ & 0.7 \\
& t3/t1 & 1.29 & 1.1\N\rlap{$^*$} & 1.68 & 1.22 & 1.63 & 1.56 & 1.72 \\ \midrule
& t2/t1 & 1.18 & 1.05 & 1.07$^*$ & 1.05$^*$ & 0.83 & 1.43 & 1.32 \\
\head{T$_2$} & t3/t2 & 0.87 & 1.03 & 0.66 & 0.67 & 0.94$^*$ & 0.69 & 0.67 \\
& t3/t1 & 1.02\rlap{$^*$} & 1.08 & 0.71 & 0.7 & 0.78 & 0.99$^*$ & 0.88 \\
\bottomrule[1.5pt]
\end{tabular}
\end{center}
\end{document}