Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Latex tables, units

  1. Mar 25, 2012 #1

    I'm just wondering is it possible to put the units of a parameter underneath it rather than next to it. My table is pretty long and I could free up space if I could do this.

    For example, let's say I have Velocity (m/s)

    I want it to have (m/s) below velocity

    I can't figure out how to do this in a table!
    Last edited: Mar 25, 2012
  2. jcsd
  3. Mar 25, 2012 #2
    I'm by no means an expert, but I'm pretty sure you would have to specify text wrapping on each column when you introduce the table.

    Someone please correct me if there is a simpler method.
  4. Mar 25, 2012 #3

    Dr Transport

    User Avatar
    Science Advisor
    Gold Member

    if you add another row to the table, I think you can turn off the lines between and you should get something close to what you want.
  5. Mar 25, 2012 #4


    User Avatar
    Gold Member

    Either don't put an \hline between two rows as suggested or use the \multirow command found in the multicol package. Also, if you specify the width (p{*}, * is the width in some unit), [itex]\LaTeX{}[/itex] will automatically wrap text in a table.
  6. Mar 26, 2012 #5
    I tried, here's the code but no luck!

    Also something really annoying has happened now... some of my images don't appear till the end of the document even though there's room for the images where I set them to and using [h!] doesn't put them where I inserted them... gah!
  7. Mar 26, 2012 #6


    User Avatar
    Gold Member

    For the moving images, use the float package and the H option to fix their locations.

    For the table, try something like:
    Code (Text):

        Fabricated & RMS BG & RMS Flake & E Mobility & H Mobility \\
                       & (nm) & (nm) & (cm$^2$/V.s) & (cm$^2$/V.s) \\
        C2 (small) & 0.683 & 0.316 & 64.1  & 64.4 \\
        C2 (big) & 0.984 & 0.565 &       &  \\
        C8    & 0.287 & 1.057 & 171   & 165 \\
    \caption{Roughness and mobility values of GFEDs as fabricated}
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook