Okay so I am having some trouble with tables in Latex. I tried to find a solution within the already asked questions out there, but I haven't been able to either make sense or get these to work. Here is my table code:
\begin{table}[ht]
\caption{Model Input Information: Materials}
\centering
\begin{tabular}{c c c}
\toprule
Available Materials & Material Input Parameters & Description \\
\midrule
Fused Silica (delta eV = 9) & alpha & Avalanche Coefficient [\si{\cm\squared\per\joule}] \\
Fused Silica (delta eV = 7.5) & delta eV & Material Band Gap [\si{\electronvolt}] \\
\ce{GaAs} & me & Effective Electron Mass [\si{\kilogram}] \\
\ce{ZnSe} & n0 & Linear Refractive Index \\
\ce{Ge} & n2 & Non-Linear Refractive Index \\
\ce{HfO_2} & T & Effective Decay Constant [fs] \\
\ce{TiO_2} & & \\
\ce{Ta_2O_5} & & \\
\ce{Al_2O_3} & & \\
\ce{SiO_2} & & \\
\bottomrule
\end{tabular}
\label{table:MaterialInputs}
\end{table}
The table looks good but it extends way too far right, almost to the edge of the page. I need a way to fix this. I've tried using p within the tabular command to set the widths manually, but I don't like what it does when wrapping the text. It creates hyphens on words instead of bringing them down a line.
Any suggestions would be greatly appreciated!
>{\raggedright\arraybackslash}p{3cm}
will give you a ragged right 3cm column. Please always post complete documents showing all packages needed (booktabs and whatever defined\ce
in this case)\ce
macro? What's the intended width of the textblock? Please advise.