I am having problems fitting the numbers in the following table into 1 row. However, I realize I can if I increase the width scaling. It is below at 1.25. I realize I can increase it further, but I would not like to.
Instead, I am wondering if I can change the width of the columns. Specifically, the column (1) does not require as much width as the column (8) because the A is thinner than the HHHHHHHH. Is it possible to have the table such that nothing else in the table changes nor does the geometry and yet there can be more a size to fit such that the width of column 1 would decrease and that of column 8 could increase to accommodate their naturally different needs?
I would very much appreciate any suggestions you have to my code:
Code: Select all
\documentclass[12pt]{article}
\usepackage{rotating}
\usepackage{pdflscape}
\usepackage[flushleft]{threeparttable}
\usepackage[margin=1in, lmargin = 1in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[font=large,labelfont=bf,tableposition=top, textfont=bf]{caption}
\usepackage{longtable}
\usepackage{array}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{mathptmx}
\usepackage[scaled]{helvet}
\usepackage{fix-cm}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcommand{\rowstyle}[1]{%
\gdef\currentrowstyle{#1}%
#1\ignorespaces
}
\begin{document}
\begin{landscape}
\begin{table}[!ht]
\caption{Table 1's Caption}\label{table1}
\centering
\begin{threeparttable}
\small
\begin{tabularx}{1.25\textwidth}{l*9{C}C}
\toprule
& (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) & (9) & (10) \\
& A & BB & CCC & DDDD & EEEEE & FFFFFF & GGGGGG & HHHHHHH & IIIII & J \\
\midrule
Variable & 0.139*** & 0.034*** & 0.032*** & 0.016*** & 0.109 & 0.053*** & -0.051 & -0.051*** & 0.011*** & -0.002*** \\
\bottomrule\addlinespace
\end{tabularx}
\begin{tablenotes}
\vspace{0.2cm}
\footnotesize{
\item \noindent \hspace{-1.8mm} Notes:
}
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{landscape}
\end{document}