GeneralProblem with footnotesize

LaTeX specific issues not fitting into one of the other forums of this category.
xiaojunshan
Posts: 4
Joined: Wed Jun 10, 2009 5:44 pm

Re: Problem with footnotesize

Post by xiaojunshan »

Can footnotesize be applied to a number of lines within a table? thx!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with footnotesize

Post by localghost »

xiaojunshan wrote:Can footnotesize be applied to a number of lines within a table? thx!
You can switch to this size inside a table environment.

Code: Select all

\begin{table}[!ht]
  \caption{A table in footnote size}\label{tab:fns}
  \centering
  \footnotesize
  \begin{tabular}{ccc}
    % table contents
  \end{tabular}
\end{table}
It is not recommendable to typeset several lines of a table in a different size.


Best regards
Thorsten
xiaojunshan
Posts: 4
Joined: Wed Jun 10, 2009 5:44 pm

Re: Problem with footnotesize

Post by xiaojunshan »

Thank you very much for reply!!

My question is whether can I footnotesize several lines (1-4)within a tableau.
Following is my code. But it did not work
\begin{table}[!htp]
\centering
{\small\begin{tabular*}{1\textwidth}{lcp{1.9in}} \hline \hline
\Conditions & do this & do that \\ \hline
{\footnotesize
1. $w\ge a, d\ge c, a\ge c, $ & do this & $ do that\\
2. $w\ge a, d\ge c, a\ge c, $ & do this & $ do that\\
3. $w\ge a, d\ge c, a\ge c, $ & do this & $ do that\\
4. $w\ge a, d\ge c, a\ge c, $ & do this & $ do that}
\end{tabular*}}
\end{table}
:(
Post Reply