Hey all, I'm trying to make a table in LaTeX, but I can't get it to look nice. LaTeX automatically formats the sizes of each row and column based on the content in that cell. I know there are ways to manipulate cell size, but I can't get it to look exactly how I want it.
For example, in the table above the cells are so small that you can barely tell if I had typed an "x" or an "x-bar." I just want to make the cells a
little bigger. Any suggestions?
Posts
...even though I'm adding the vertical space in the same area that I'm typing the test stat.
\displaystyle doesn't help because the fraction looks exactly how I want it to, I just wish the table was a little larger than the absolute minimum.
Thanks though.
http://texnik.de/cgi-bin/mainFAQ.cgi?file=table/table#table3
Adding this in the preamble:
\renewcommand\arraystretch{MyValue}% (MyValue=1.0 is for standard spacing)
might be what you want.
The other option if that doesnt work would be to put blank lines on each stub entry to fake more space, if possible you could drop the point size on the placeholder text to achieve the space youre looking for. For example, the first row would look something like this:
[blank character][hard return]
Proportion[hard return]
[blank character]
Again ive never written in latex so im not exactly sure how much control you have over the tabular mode. But one of those 2 options should be possible. If you throw up the code used to create the table including the definition and the first row, i might be able to figure something out.
Check out my band, click the banner.
Sweet, this worked perfectly, creating the extra space I needed between the top of my fractions and the top line. Thanks!
For those interested in the code:
I tried adding black space but all I got was post #4 in this thread. I'm sure there are ways to manipulate the tables more efficiently, but I was looking for something like what eecc posted where it was just a simple one-line piece of code that did everything I needed.
I'm always open to other suggestions though, so if anyone has any alternate methods, I'd still like to hear them!
Could you not for example do this:
?
Im assuming that would give you one blank line above and below your actual line of text. Again ive never worked with latex, and i dont have a copy (its 540 megs... i was going to download it to try it but screw waiting) but from what i can see i think that would work...
but eecc's method looks like it did it exactly how you wanted.
Check out my band, click the banner.
Yes this is exactly how the tables are generated.
The funny thing about TeX is that what you see is not what you get. For example, creating that extra space in the code does not create extra space in the table.
Also, for example, in TeX I could write:
That code would show up as:
Alternatively, I could write
and the code would show up as
If I wanted to skip a line, I would have to skip down 2 lines in the code, and those are just rules for regular text, so you can see that making manual space within the code does nothing.
Instead, you add vertical space with the \vspace{size} command and horizontal space with the \hspace{size} command. Premier kakos suggested doing this earlier, and I got the result that I posted in post number 4 of this thread.
Thanks though!