Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Tabular* problem

  • 27-03-2010 06:08PM
    #1
    Registered Users, Registered Users 2 Posts: 2,792 ✭✭✭


    Hi, Trying to get a table with 7 columns to fit in a pdf. I'm using the tabluar* tag to try and change the text width so it'll fit on the page but it won't typeset with different text widths. Code is below
    \noindent\begin{tabular*}{0.5\textwidth}{@{\extracolsep{\fill}} c c c c c c c}
    
    \textbf{Ambient} & \textbf{Energy$(kV)$} & \textbf{Dose$(cm^{-3})$} & \textbf{Temp$(^{o}C)$} & \textbf{Time$(m)$} & \textbf{Peak Conc$(Divisions)$} & \textbf{Junction Depth$(\mu m)$} \\ 
    
    $Inert$ & $70$ & $1e13$ & $1000$ & $30$ & $17.6$ & $0.435$ \\ 
    $DryO_{2}$ & $70$ & $1e13$ \\ 
    \end{tabular*}
    


Comments

  • Registered Users, Registered Users 2 Posts: 8,452 ✭✭✭Time Magazine


    Firstly, your last row is missing a few items, I think?

    Your best bet is to take the table and multiply its size by 0.75 (or so). To do this, check out the scalebox command.


  • Registered Users, Registered Users 2 Posts: 2,792 ✭✭✭ec18


    the last row is missing a few items, i left it that way until i could get the columns sorted.....That worked though thanks :D


  • Registered Users, Registered Users 2 Posts: 13,104 ✭✭✭✭djpbarry


    For specifying column/table widths, you might find the tabularx package a little easier to work with. I find it quite handy.


Advertisement