Last active
December 4, 2017 11:27
-
-
Save chrisma/5385c5e5311bd10d4b54 to your computer and use it in GitHub Desktop.
Easy forced line break in a table cell in Latex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| \begin{table} | |
| \centering | |
| \caption{Your caption.} | |
| \begin{tabular}{|p{2cm}|l|} \hline %Within a 'p' column \newline is defined | |
| A long \newline text & Another text\\ \hline | |
| \end{tabular} | |
| \end{table} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment