Graphics, Figures & Tablestabular problems

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
wayne
Posts: 8
Joined: Wed Sep 01, 2010 10:46 am

tabular problems

Post by wayne »

Hello,

I have 2 questions about a table i try to do:
Here is my code:

\begin{table}
{\tiny
\begin{tabular*}{6cm}{c|c|c|c|c|c|c|c|c}
Article & Model & ......... & RT \\ \hline
(2006) & SAM & ...... .... & yes \\
\end{tabular*}}
\end{table}

First, is there a way to set the font size manually the font size: tiny is too small for me and \scriptsize too large...

Second, the horizontal line stops in the middle and does not go until the right end of the tabular, does anyone got a solution??

Thanks in advance!

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

tabular problems

Post by gmedina »

Hi,

please post complete, minimal code and not just snippets.
wayne wrote:...First, is there a way to set the font size manually the font size: tiny is too small for me and \scriptsize too large...
You can use something like

Code: Select all

\fontsize{7}{8.5}\selectfont
(syntax: \fontsize{<size>}{<baselineskip>}; usually the second argument is set to approx. 1.2 times the value of the first argument).
wayne wrote:Second, the horizontal line stops in the middle and does not go until the right end of the tabular, does anyone got a solution??
You are using less columns than than those declared in the tabular format (but without the actual code I am just guessing).
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply