Latex - How to merge columns to correct spacing error in the last column of the table?

Asked

Viewed 55 times

0

Hello! I’m trying to merge the third column of the attached code table but I’m not able to develop a code that can eliminate the spacing error in the last column. Note that the text of the third column aligns with that of the last column, causing a spacing that impairs the aesthetics of the table. If it were in Excel it would be very simple because simply merge the rows of the third column and solve the problem. Could someone help me with this code fix please?

{\begin{table}[htbp]
\tiny
  \centering
  \caption{Criteria applied to the consequence}
    \begin{tabular}{|p{.005\textwidth}|p{.007\textwidth}|p{.1\textwidth}|p{.03\textwidth}|p{.165\textwidth}|} 
    \hline
    \multicolumn{1}{|c|}{ID} & \multicolumn{1}{c|}{Criterion} & \multicolumn{1}{c|}{Definition} & \multicolumn{1}{c|}{Scale} & \multicolumn{1}{c|}{Definition} \\
     \hline
          &   \multicolumn{1}{p{5em}|}{Environmental impact}     &  \multirow{Assessment of environmental impact by interrupting electricity.}     & Low   & \multicolumn{1}{p{15em}|}{Failure to supply electricity does not compromise the functioning of environmental control and monitoring systems and equipments.} \\ 
          
   \multicolumn{1}{|p{1em}|}{J1} & &  & Medium & \multicolumn{1}{p{15em}|}{Failure in the supply of electricity compromises the operation of non-critical environmental control and monitoring systems and equipments.} \\
         &       &       & High  & \multicolumn{1}{p{15em}|}{Failure in the supply of electricity compromises the operation of critical environmental monitoring and control systems and equipments.} \\
     \hline
          &   \multicolumn{1}{p{5em}|}{Reputational impact}     &    \multirow{Evaluation of reputational impact by interrupting electricity.}    & Low   & \multicolumn{1}{p{15em}|}{Failure to supply electricity does not compromise the company's image.} \\
   \multicolumn{1}{|p{1em}|}{J2} & & & Medium & \multicolumn{1}{p{15em}|}{Failure to supply electricity compromises the company's image (local impact).} \\
         &       &       & High  & \multicolumn{1}{p{15em}|}{Failure to supply electricity significantly compromises the company's image (regional or national impact).} \\
     \hline
          &   \multicolumn{1}{p{5em}|}{Productive impact}     &    \multirow{Productive impact assessment due to failure in the supply of electricity by the analyzed energy substation.}   & Low   & \multicolumn{1}{p{15em}|}{Failure to supply electricity does not compromise the critical path of the production process.} \\
   \multicolumn{1}{|p{1em}|}{J3} & &  & Medium & \multicolumn{1}{p{15em}|}{Failure to supply electricity jeopardizes the critical path of the production process.} \\
         &       &       & High  & \multicolumn{1}{p{15em}|}{Failure to supply electricity compromises the overall production process of one or more operating units.} \\
    \hline
          &   \multicolumn{1}{p{5em}|}{Financial impact R\$}    &   \multirow{Estimated value for the construction of a new power substation.}     & Low   &  $x \leq 1M$\\ 
    \multicolumn{1}{|p{1em}|}{J4} &  & & Medium & $1M\leq x\leq 20M$ \\ 
         &       &       & High  & $x \leq    $20M$ \\ 
     \hline
    \end{tabular}%
  \label{tab:consequence}%
\end{table}%}
     
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.