Discussion:
change font size of caption for longtable
(too old to reply)
z***@hotmail.com
2006-11-29 16:37:02 UTC
Permalink
Hello,

I have a problem with changing the font size of a longtable. Here is a
short description:

\setlongtables

{\tiny

\begin{longtable}{rrrcrcrrrrcrrrrcrrrr}
\caption{
what is the title
\hline\hline
\multicolumn{3}{c}{\bfseries }&
\multicolumn{1}{c}{\bfseries }&\\
...

I have have something "Table 1: what is the title".
It works but the font size of caption "Table 1: what is the title" is
the same as the table contents. How should I change the caption font? I
tried the following:

\setlongtables

{\tiny

\begin{longtable}{rrrcrcrrrrcrrrrcrrrr}
\caption{\scriptsize
what is the title

But the font size of "Table 1" is still "tiny" while "what is the
title" is now changed to "scriptsize', which is not consistent.

How should I do? Thanks. Zhu
Tom Micevski
2006-11-30 07:35:44 UTC
Permalink
Post by z***@hotmail.com
Hello,
I have a problem with changing the font size of a longtable. Here is a
\setlongtables
{\tiny
\begin{longtable}{rrrcrcrrrrcrrrrcrrrr}
\caption{
what is the title
\hline\hline
\multicolumn{3}{c}{\bfseries }&
\multicolumn{1}{c}{\bfseries }&\\
....
I have have something "Table 1: what is the title".
It works but the font size of caption "Table 1: what is the title" is
the same as the table contents. How should I change the caption font? I
\setlongtables
{\tiny
\begin{longtable}{rrrcrcrrrrcrrrrcrrrr}
\caption{\scriptsize
what is the title
But the font size of "Table 1" is still "tiny" while "what is the
title" is now changed to "scriptsize', which is not consistent.
How should I do? Thanks. Zhu
i had a similar problem in my thesis. this is what i did (i'm not sure
if it's the best solution, or if both are needed, but it seemed to work
for me):

\usepackage[format=plain,font=normalsize,labelfont=bf]{caption}

{\footnotesize
\begin{longtable}{llcccrc}
\caption{\normalsize Summary of site data for Queensland.}
z***@hotmail.com
2006-11-30 16:01:31 UTC
Permalink
Thanks and it helps except I found I have to change format=plain to
something else, say "format=normal". Did not know there was a package
call "caption" before.
Post by Tom Micevski
Post by z***@hotmail.com
Hello,
I have a problem with changing the font size of a longtable. Here is a
\setlongtables
{\tiny
\begin{longtable}{rrrcrcrrrrcrrrrcrrrr}
\caption{
what is the title
\hline\hline
\multicolumn{3}{c}{\bfseries }&
\multicolumn{1}{c}{\bfseries }&\\
....
I have have something "Table 1: what is the title".
It works but the font size of caption "Table 1: what is the title" is
the same as the table contents. How should I change the caption font? I
\setlongtables
{\tiny
\begin{longtable}{rrrcrcrrrrcrrrrcrrrr}
\caption{\scriptsize
what is the title
But the font size of "Table 1" is still "tiny" while "what is the
title" is now changed to "scriptsize', which is not consistent.
How should I do? Thanks. Zhu
i had a similar problem in my thesis. this is what i did (i'm not sure
if it's the best solution, or if both are needed, but it seemed to work
\usepackage[format=plain,font=normalsize,labelfont=bf]{caption}
{\footnotesize
\begin{longtable}{llcccrc}
\caption{\normalsize Summary of site data for Queensland.}
Loading...