Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to change the font size of a single rotated table caption (definitely not all the captions in all my tables/figures)

Right now I can wrap the text inside the \caption around a \scriptsize{} command, but that will change the font also in the Tables Index which is really bad.

I'm compiling with pdflatex.

Here's what the table looks like:

\begin{landscape}
 \begin{table}
  \centering
  \footnotesize{
   \begin{tabular}{l|c|c|}
   \hline
   blah & blah & blah
   \hline
   \end{tabular}
  }
  \caption{Lots of words...}
  \label{table-label}
 \end{table}
\end{landscape}
share|improve this question
    
Can you complete your example to a full compilable one with the used packages etc. ? –  percusse Jun 15 '12 at 23:09
    
I'd love to but I really can't. I'm writing my thesis and the LaTeX template I'm using is enormous with too many new commands defined. I can list the packages I'm using if you think that would help though. –  Gabriel Jun 15 '12 at 23:22
add comment

1 Answer

up vote 13 down vote accepted

If your document class is compatible with the caption package, you can use its \captionsetup command for the particular table (I removed parts of your code not relevant to the caption issue):

\documentclass{article}
\usepackage{caption}

\begin{document}

\listoftables

\begin{table}
\captionsetup{font=scriptsize}
\centering
\begin{tabular}{lc}
  \hline
  text & text \\
  \hline
\end{tabular}
\caption{Lots of words...}
\label{table-label}
\end{table}

\end{document}

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.