I need some simple tables in my thesis, but I find the native LyX ones
to be a bit ugly :)  No problem, I just make some LaTeX tables in ERT
mode, which look nice. The only trouble is that they won't center on the
page. I've tried using the \begin{center} command, but it doesn't work.
Ideas?

- Henrik

Example ERT:

\begin{center}
\begin{table}
\caption{Parameters of the simulations\label{JetRunTable}}
\begin{tabular}{l|cccccc} & $t_1$ & $\Delta t$ & $v_{\rm jet}$ & $\dot
m_{\rm jet}$ & $P_{\rm jet}$  & $\Delta E$ \\
$\Myr$ & $\Myr$ & $10^3\kms$ & $\msun\yr^{-1}$ & $10^{44}\erg\s^{-1}$ &
$10^{59}\erg$ \\
\hline
1& 262 & 25 & 28 & 1 & 5 & 4\\
2& 300 & 25 & 40 & 1 & 10 & 8\\
3& 300 & 50 & 28 & 1 & 5 & 8\\
4& 300 & $2\times25$ & 28 & 1 &5 & 8\\
5& 265 & 25 & 40 & 1 & 10 & 8\\
\hline
\end{tabular}
\end{table}
\end{center}

Reply via email to