TeX - LaTeX Asked by Chamila Wijayarathna on June 11, 2021
I am trying to add a long table to a two column latex document. Since the table is long, without continuing in the 2nd column, it continue in the first column like below.
Following is the current code that I am using.
begin{table}[htbp]
caption{Exceptions encountered by participants and their reactions}
begin{center}
begin{adjustbox}{width=0.5textwidth}
begin{tabular}{|p{0.3linewidth}|p{0.4linewidth}|p{0.3linewidth}|}
hline
textbf{Context}&textbf{Exception message} &textbf{Reaction of the participant}
...
...
end{tabular}
label{exceptions}
end{adjustbox}
end{center}
end{table}
I am also using adjustbox
as I need to break the text inside the table cell.
Now I need to break my table to continue in the next column. I read and tried to use supertabular
as follows.
begin{supertabular}{lll}
hline
textbf{Context}&textbf{Exception message} &textbf{Reaction of the participant}
...
...
end{tabular}
But now my table looks as below.
My 3rd column is no longer in the page. How can I solve this?
As per the comments for the question, I tried following code and it worked.
begin{supertabular}{|p{0.3linewidth}|p{0.4linewidth}|p{0.3linewidth}|}
hline
textbf{Context}&textbf{Exception message} &textbf{Reaction of the participant}
...
...
end{tabular}
Answered by Chamila Wijayarathna on June 11, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP