Style requirements for a dissertation require a single-spaced caption but with a double space between the table number and caption like so:
Table 1.
Table caption goes here, and is single spaced.
I cannot figure out how to change this. Below is mwe, if anyone has any ideas I'd be grateful.
\documentclass[12pt,letterpaper]{report}
\usepackage[latin1]{inputenc}
\usepackage{setspace}
\doublespacing
\usepackage{tabulary}
\usepackage{tabularx}
\usepackage{ctable}
% from http://tex.stackexchange.com/questions/80494/changing-style-of-table-caption
% this code sets the table caption text to be italic and on new line from table number, singlelinecheck=off makes it align left
\usepackage{caption}
\captionsetup[table]{
font=doublespacing,
labelsep=newline,
% justification=left,
singlelinecheck=off,
textfont=it,
}
\captionsetup[table]{aboveskip=0pt} % adjusts position of caption to get it closer to top rule of tables
\begin{document}
\begin{table}[t]
\caption[Study Schools]{Numbers of schools and teachers in east-central Florida middle schools, teaching grades 7--9 science.}\label{tab:schools}
\begin{tabular}{l r r}
\toprule
County & Number of Schools & Number of Teachers (approx.) \\
\midrule
Brevard & 16 & 80 \\
Indian River & 8 & 40 \\
Orange & 38 & 190 \\
Osceola & 10 & 50 \\
Seminole & 12 & 60 \\
Volusia & 19 & 95 \\
Total & 103 & 515 \\
\bottomrule
\end{tabular}
\end{table}
\end{document}
t
for float placement, at least until you're done with the document and can then tinker with float placement once you've finished all of your content. See, for example, this answer.