u/Natoorr

How to do newline within cells in a table
▲ 6 r/LaTeX

How to do newline within cells in a table

Image of table

Hi, I have a table here and i want "Strictly Confidential" to be written on two lines so it doesnt have the hyphen in the middle of confidential, but cant find anything when googling or GPT-ing.

I could change the width of that column but it looks kind of ugly when its so tiny so i was hoping there was some other way

Below is the full table:

\begin{table}[H]
\centering
\caption{Information classification levels used in the dataset}
\label{tab:classification_levels}
\begin{tabular}{|p{2.25cm}|p{4.55cm}|p{4cm}|}
\hline
\textbf{Classification} & \textbf{Description} & \textbf{Example Information} \\ \hline

\textbf{Strictly Confidential} &
Information that should only be shared with a strictly limited list of recipients. Unauthorized disclosure may result in severe consequences such as financial loss, reputational damage, or breaches of laws and regulations. &
Insider information, unpublished financial results, banking secrecy information, sensitive personal data \\ \hline

\textbf{Confidential} &
Information that should only be shared with a limited list of recipients. Unauthorized disclosure may lead to negative business consequences or regulatory issues. &
Salary information, supplier information, business contracts, personal data, production code \\ \hline

\textbf{Internal} &
Information primarily intended for internal use within the Bank but which may occasionally be shared externally if required. Unauthorized disclosure may lead to minor consequences. &
Internal communication, governance documents, work-related operational information \\ \hline

\textbf{Public} &
Information intended for external parties or the general public. Disclosure of this information has no negative consequences for the Bank. &
Publicly available information, press material, recruitment and career information \\ \hline

\end{tabular}
\end{table}

reddit.com
u/Natoorr — 2 days ago