Home Forums HCL Reviews Tutorials Articles Register Search Today's Posts Mark Forums Read
 LinuxQuestions.org how do you shrink a table in latex?
 Programming This forum is for all programming questions. The question does not have to be directly related to Linux and any language is fair game.

Notices

 04-04-2007, 05:45 PM #1 hedpe Member   Registered: Jan 2005 Location: Pittsburgh Distribution: Ubuntu Posts: 378 Rep: how do you shrink a table in latex? Hey all, How do you shrink a table in latex? \small doesn't work, and specifying its width like this: Code: \begin{tabular*}{width}[pos]{cols} .. shrinks the size of the table but not the text, so the text overflows. any ideas? Thanks! George
 04-05-2007, 01:58 PM #2 Quigi Member   Registered: Mar 2003 Location: Cambridge, MA, USA Distribution: Ubuntu (Dapper and Heron) Posts: 377 Rep: For me, \small works; I'm putting an example where I used it below. The effect of \small is not very strong; use \tiny instead to see a big difference. You see my other efforts to squeeze the table: reducing table column separation to 5.8pt, and suppressing the (half) space before the first and after the last column with @{}. Code: \begin{table}[htbp] \begin{center} \tabcolsep 5.8pt \small \begin{tabular}{@{}l|llllllll@{}} & bott & c & c2 & dk & edif & font & polt & trat \\ \hline bott & 0 & 0.3957 & 0.3910 & 0.1553 & 0.2064 & 0.2588 & 0.1759 & 0.2079 \\ c & 0.3957 & 0 & 0.0159 & 0.5251 & 0.1811 & 0.5255 & 0.5381 & 0.2388 \\ c2 & 0.3910 & 0.0159 & 0 & 0.5296 & 0.1824 & 0.5386 & 0.5094 & 0.2412 \\ dk & 0.1553 & 0.5251 & 0.5291 & 0 & 0.3133 & 0.2071 & 0.2779 & 0.2884 \\ edif & 0.2064 & 0.1811 & 0.1824 & 0.3133 & 0 & 0.3237 & 0.2830 & 0.1132 \\ font & 0.2588 & 0.5255 & 0.5386 & 0.2071 & 0.3237 & 0 & 0.3364 & 0.3267 \\ polt & 0.1759 & 0.5381 & 0.5094 & 0.2779 & 0.2830 & 0.3364 & 0 & 0.3239 \\ trat & 0.2079 & 0.2388 & 0.2412 & 0.2884 & 0.1132 & 0.3267 & 0.3239 & 0 \end{tabular} \end{center} \caption{Dissimilarity between the descriptors and hence between the shapes of any two of the small test objects.} \label{tab:dist8} \end{table} Last edited by Quigi; 04-05-2007 at 02:10 PM.

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is Off HTML code is Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post hedpe Programming 2 02-15-2007 03:59 PM thelonius Programming 1 10-04-2005 07:41 AM trutnev Linux - Software 1 08-01-2005 06:42 PM fei Programming 5 05-23-2005 09:11 AM kaon Linux - Software 2 04-04-2005 02:25 PM

All times are GMT -5. The time now is 06:42 PM.

 Contact Us - Advertising Info - Rules - LQ Merchandise - Donations - Contributing Member - LQ Sitemap -