I hope you know that I do deeply appreciate your help.
I am just wondering what the syntax/code should be so that I can use \documentclass[12pt]{article} and yet have the table be 6.5 inches wide. It is only 6.5 inches wide if I use \documentclass[titlepage]{article} but I do not want to use that.
Your post, two posts ago, I could not understand what you meant because you did not provide the latex code or syntax.
localghost wrote:Sorry, I don't know how to explain it to you. I have the impression that we are talking at cross purposes. Furthermore I seem not to be able to follow the discussion any more. And I can't invest more time to figure out. Other tasks are waiting which demand my attention. I contributed my share. This is all I can do at the moment.
*****************************************************************************
On another note, I am now trying to make a 11 column table (10 columns for the data plus 1 column for the variable names.) There are too many columns for a proper display. So, I tried to landscape it, and the table fails to expand the exploit the page now being 11 X 8.5.
I would deeply appreciate your help in making the table to be landscaped so that it is 9 inches by 6.5 inches (leaving a 1 inch margin on all sides). I am attaching the code and .pdf. In the .pdf the table looks like the landscaping is not helping give me a table that is 9 inches wide.
Code: Select all
\documentclass[titlepage]{article}
\usepackage[margin=1in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[labelfont=bf,tableposition=top]{caption}
\usepackage{array,booktabs,tabularx,threeparttable}
\usepackage{lscape}
% This code is taken from the UK TeX FAQ (http://www.tex.ac.uk/cgi-bin/texfaq2html?label=wholerow)
\newcolumntype{_}{>{\global\let\currentrowstyle\relax}}
\newcolumntype{^}{>{\currentrowstyle}}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcommand{\rowstyle}[1]{%
\gdef\currentrowstyle{#1}%
#1\ignorespaces
}
\begin{document}
\begin{landscape}
\begin{table}[!ht]
\caption{Table caption}\label{tab:dummy}
\centering
\begin{threeparttable}
\begin{tabularx}{\textwidth}{_l^C^C^C^C^C^C^C^C^C^C}\toprule
\rowstyle{\small} & (1) & (2) & (3) & (4) & (5) & (6) & (7) & (8) & (9) & (10) \\ \midrule
\multicolumn{11}{c}{\small{Test}} \\
\rowstyle{\small} Variable & 0.011\tnote{***} & 0.026\tnote{***} & -0.003\tnote{***}& -0.004\tnote{***} & -0.005\tnote{***} & -0.006\tnote{***} & -0.007\tnote{***} & -0.008\tnote{***} & -0.009\tnote{***} & -0.019\tnote{***}\\ \bottomrule\addlinespace
\end{tabularx}
\begin{tablenotes}
\scriptsize
\item[***] Notes:
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{landscape}
\end{document}
I very much appreciate your time. Bless you.