How to change one table column in other font type, I need to change all left column. For example from normal to Consolas font. My tabularx
:
\begin{table}[ht]
\centering
\begin{tabularx}{\textwidth}{|l|X|} \hline
{\bf wow} & {\bf nice} \\ \hline
cool & yey! \\ \hline
\end{tabularx}
\end{table}
Best Answer
Do you mean something like this:
For this you need to column type add
>{\ttfamily}
:(if you with "Console" type mean Typewriter's font).
Edit: Regarding your comment about For centering of column heads: fpor this you have more possibilities:
\multicolumn{1}{c}{\textbf{head text>}}
makecell
package and use macrothead{.....}
. For font in it you need to redefine thetheadfont
:\renewcommand\theadfont{\bfseries}
.Complete code: