3

I am trying to center all my columns in my table but I only get the first column to be centered, can anyone help me out?

This is the code i am using:

\begin{table}[H]
\centering
\caption{The four main criteria for conceptual model evaluation.}
\label{concept_criteria}
\begin{tabular}{|c|p{12cm}|}
    \hline
    \textbf{Criteria} &  \textbf{Description}\\ 
    \hline
    Validity  &  A modelers perception that the conceptual model can  be converted into an computer model accurate enough for the purpose at hand \\
    \hline
    Credability  &  The clients perception that the conceptual model can be converted into a computer model accurate enough for the purpose at hand  \\
    \hline
    Utility  & The conceptual model can be developed into a computer model that can be used as decision making in the specific context \\
    \hline
    Feasibility  & The conceptual model can be converted into a computer model with the time, resources and data available \\
\hline
\end{tabular}
\end{table}
Pontus
  • 65

1 Answers1

0

Generally, para mode p{00cm) alignment doesn't have center alignment by default, you need to define as:

\usepackage{array}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}%
\begin{tabular}{P{10cm}

Else should follow leandriis comment...

MadyYuvi
  • 13,693