Code: Select all
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[font=small,labelfont=bf,tableposition=top]{caption}
\usepackage{array,booktabs,tabularx}
\usepackage{ragged2e}
\newcolumntype{C}{>{\Centering}X}
\newcolumntype{L}{>{\RaggedRight}X}
\newcolumntype{R}{>{\RaggedLeft}X}
\begin{document}
\begin{table}[!ht]
\caption{Comparison of \LaTeX-based or \LaTeX-supporting Equation Editors}\label{editor-comparison}
\small
\centering
\begin{tabularx}{\linewidth}{*4{C}}\toprule
Editor (Type) & Edited as & Previewed as & Inserted as \\ \midrule[1pt]
LyX (Standalone) & WYSIWYG inline or button-facilitated mark-up & WYSIWYG inline & WYSIWYG inline \\\bottomrule
\end{tabularx}
\end{table}
\end{document}