I know the question has been asked before, but the answers don't seem to apply. I have a table defined below:
\begin{table}[!ht]
\begin{center}
\caption[Micromagnetic simulators]{Micromagnetic simulators. \citesource{Kim2010}.\label{tab:sims}}
\begin{tabular}{|c|c|c|c|}
\hline \textbf{Name} & \textbf{Developers} & \textbf{Open Source} & \textbf{Method} \\
\hline LLG Simulator & M. R. Scheinfein & Paid & FDM \\
\hline MAGPAR & W. Scholtz & Free & FEM \\
\hline {\centering MicroMagus} & D. V. Berkov & Paid & FDM \\ & and N. L. Gorn & & \\
\hline Nmag & H. Fangohr & Free & FEM \\ & and T. Fischbacher & & \\
\hline OOMMF & M. Donahue & Free & FDM \\ & and D. Porter & & \\
\hline
\end{tabular}
\end{center}
\end{table}
This gives a table as below:
As you may notice {\centering MicroMagus}
did not succeed in centring the entry. Also, how would you rate my table in terms of good practices etc?
\centering
is for horizontal centering, do you want vertical centering?\centering
does nothing in gorizontal mode. If it were ap
column (a\parbox
then\centering MicroMagus
would (horizontally) center buy{\centering MicroMagus}
will never center anything as centering and similar commands always require the end of paragraph to be in scope, and the{}
means that centering is turned off before the end of paragraph. If you want vertical centering try\raisebox{-7pt}{MicroMagus}
\begin{tabular}{llll}
).