This inquiry is a continuation from earlier, but it is a different topic.
I'm using the template given by Peter. I know you may be wondering why
I still have references like this, but the ASA template in the previous post did
not match the format requested on the journal's website.
I have a new problem. The labels on my table are not showing up
correctly. The tables
don't say Table 1 or Table 2, and when I use \ref{}, the proper number does not
show up. Any ideas on what I'm doing incorrectly?
Thanks,
Juliet
\documentclass[fleqn,12pt]{article}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{sectsty}
\allsectionsfont{\centering}
\usepackage[top=.6in,textwidth=6in,textheight=9in]{geometry}
\pagestyle{plain}
\setlength{\parindent}{.2in}
\setlength{\parskip}{8pt}
\setlength{\mathindent}{18pt}
\usepackage{fancyvrb}
\usepackage{apacite}
\usepackage{setspace}
\onehalfspacing
\newcommand{\mypar}{\vspace{4mm}}
\begin{document}
\section{INTRODUCTION}
My intro
\section{Section 2}
Consider Table \ref{myctable}.
\begin{table}[h]
\begin{tabular}{cccc}
\multicolumn{3}{c}{My Table}\\
\multicolumn{1}{c}{} & \multicolumn{2}{c}{{\bf col}}\\
\bf{row} & $Y_1$ & $Y_2$ \\ \hline
$X_1$ & a & b & c \\
$X_2$ & d & e & f \\ \hline
& g & h & $n$ \\
\end{tabular}
\label{myctable}
\end{table}
We use Table \ref{crossclass}.
\begin{table}[h]
\begin{tabular}{ccccc}
\multicolumn{5}{c}{Other Table}\\
\multicolumn{5}{c}{ }\\
\hline
\hline
\multicolumn{2}{c}{\bf{Var}} & &\multicolumn{2}{c}{{\bf Outcome ($Z$)}}\\
\cline{1-2} \cline{4-5}
%& $ $ & & \\
%\hline
$X$ & $Y$ & & $k=1$ & $k=2$ \\
\hline
$i=1$ & $j=1$ & & $n_{111}$ & $n_{112}$ \\
& $j=2$ & & $n_{121}$ & $n_{122}$ \\
\hline
$i=2$ & $j=1$ & & $n_{211}$ & $n_{212}$ \\
& $j=2$ & & $n_{221}$ & $n_{222}$ \\
\hline
\end{tabular}
\label{crossclass}
\end{table}
\section{Section 3}
\section*{REFERENCES}
\begin{list} %no label
{\mbox{}} %note that the next 7 lines are within { }
{ \setlength{\leftmargin} {20pt}
\setlength{\rightmargin} {0pt}
\setlength{\labelsep} {5pt}
\setlength{\labelwidth} {15pt}
\setlength{\listparindent} {-20pt}
\setlength{\parsep} {.15ex}
\setlength{\itemsep} {-3ex} }
\item \ \par
Stephens, M. A. (1986), ``Tests Based on EDF Statistics'' in
D'Agostino, R. B. (ed.) and Stephens, M. A.,
{\it Goodness-of-fit Techniques}, Marcel Dekker Inc (New York), 97-193.
\end{list}
\end{document}
I'm using the template given by Peter. I know you may be wondering why
I still have references like this, but the ASA template in the previous post did
not match the format requested on the journal's website.
I have a new problem. The labels on my table are not showing up
correctly.