Set multicolumn to a exact widthSet multicolumn width to default table widthmulticolumn table cell doesn't...
Tantum religio potuit suadere malorum – Lucretius
What is the mechanical difference between the Spectator's Create Food and Water action and the Banshee's Undead Nature Trait?
What was the Shuttle Carrier Aircraft escape tunnel?
Where do I get advice and guidance from in my PhD if my supervisor is not an expert in the field I am working on?
Can ADFS connect to other SSO services?
How to get cool night-vision without lame drawbacks?
Fill NAs in R with zero if the next valid data point is more than 2 intervals away
How long would it take to cross the Channel in 1890's?
Employer wants to use my work email account after I quit
Fedora boot screen shows both Fedora logo and Lenovo logo. Why and How?
What is the origin of Scooby-Doo's name?
C-152 carb heat on before landing in hot weather?
How does a blind passenger not die, if driver becomes unconscious
Long term BTC investing
Inverse-quotes-quine
Find the probability that the 8th woman to appear is in 17th position.
What are the penalties for overstaying in USA?
Should I prioritize my 401(k) over my student loans?
Require advice on power conservation for backpacking trip
Does this Wild Magic result affect the sorcerer or just other creatures?
Why doesn't a marching band have strings?
Interaction between Leyline of Anticipation and Teferi, Time Raveler
What's currently blocking the construction of the wall between Mexico and the US?
Computing a trigonometric integral
Set multicolumn to a exact width
Set multicolumn width to default table widthmulticolumn table cell doesn't fit page widthTable width with multicolumnWrong width in multicolumn tabularx cellswidth of paragraph in multicolumn tablesTabular cells with exact same width and multicolumntabu package - gaps in vertical linesWidth of column after multicolumn headerAlign cells width under multicolumnSet multicolumn width to full resized table width
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am new to tables in latex. I know that I can do this with p{width}
but when I try it the table gets all unformated. How do I do it so that the Approach column gets smaller so that the table can fit inside the page?
Thanks.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
begin{document}
begin{table}
centering
label{tabelaSemEval}
begin{tabular}{llc|llc|llc}
hline
multicolumn{3}{c}{ textbf{Sub-task A}} & multicolumn{3}{c}{textbf{Sub-task B}} & multicolumn{3}{c}{textbf{Sub-task C }} \
multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l|}{textbf{F1 score} } & multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l|}{textbf{F1 score} } & multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l}{textbf{F1 score} } \
hline
NULI & BERT & 0.829 & jhan014 & MSOC & 0.755 & vradivchev anikolov & BERT+GloVe & 0.660 \
vradivchev anikolov & BERT+GloVe & 0.815 & Amobee & CNN+token embedding & 0.739 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
UM-IU@LING & BERT & 0.814 & HHU & LSTM & 0.719 & Fermi & ELMo embeddings+ SVM & 0.626 \
Embeddia & BERT & 0.808 & NULI & BERT & 0.716 & YNU-HPCC & & 0.621 \
MIDAS & CNN+LSTM+GRU and word embeddings & 0.807 & NIT Agartala & Logistic regression+ Linear SVC+SGD+PA & 0.708 & Embeddia & BOW+GloVe-LSTM+POS-LSTM & 0.613 \
BNU-HKBU & BERT & 0.806 & UBC NLP & Emsemble of XGBoost+AdaBoost+logistic regression & 0.706 & NoOffense & - & 0.613 \
SentiBERT & BERT & 0.804 & Pardeep & GRU & 0.700 & Amobee & CNN+token embedding & 0.591 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM,Transformer,SVM and Random Forest & 0.803 & MIDAS & model based on heuristics & 0.695 & orabia & - & 0.588 \
YNUWB & CNN+word embeddings & 0.802 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.692 & UBC NLP & Ensemble of logistic regression+AdaBoost+XGBoost & 0.586 \
LTL-UDE & BERT & 0.802 & Vadym & - & 0.692 & na14 & - & 0.586
end{tabular}
end{table}
end{document}
tables multicolumn
|
show 2 more comments
I am new to tables in latex. I know that I can do this with p{width}
but when I try it the table gets all unformated. How do I do it so that the Approach column gets smaller so that the table can fit inside the page?
Thanks.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
begin{document}
begin{table}
centering
label{tabelaSemEval}
begin{tabular}{llc|llc|llc}
hline
multicolumn{3}{c}{ textbf{Sub-task A}} & multicolumn{3}{c}{textbf{Sub-task B}} & multicolumn{3}{c}{textbf{Sub-task C }} \
multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l|}{textbf{F1 score} } & multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l|}{textbf{F1 score} } & multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l}{textbf{F1 score} } \
hline
NULI & BERT & 0.829 & jhan014 & MSOC & 0.755 & vradivchev anikolov & BERT+GloVe & 0.660 \
vradivchev anikolov & BERT+GloVe & 0.815 & Amobee & CNN+token embedding & 0.739 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
UM-IU@LING & BERT & 0.814 & HHU & LSTM & 0.719 & Fermi & ELMo embeddings+ SVM & 0.626 \
Embeddia & BERT & 0.808 & NULI & BERT & 0.716 & YNU-HPCC & & 0.621 \
MIDAS & CNN+LSTM+GRU and word embeddings & 0.807 & NIT Agartala & Logistic regression+ Linear SVC+SGD+PA & 0.708 & Embeddia & BOW+GloVe-LSTM+POS-LSTM & 0.613 \
BNU-HKBU & BERT & 0.806 & UBC NLP & Emsemble of XGBoost+AdaBoost+logistic regression & 0.706 & NoOffense & - & 0.613 \
SentiBERT & BERT & 0.804 & Pardeep & GRU & 0.700 & Amobee & CNN+token embedding & 0.591 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM,Transformer,SVM and Random Forest & 0.803 & MIDAS & model based on heuristics & 0.695 & orabia & - & 0.588 \
YNUWB & CNN+word embeddings & 0.802 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.692 & UBC NLP & Ensemble of logistic regression+AdaBoost+XGBoost & 0.586 \
LTL-UDE & BERT & 0.802 & Vadym & - & 0.692 & na14 & - & 0.586
end{tabular}
end{table}
end{document}
tables multicolumn
Could you please make your example compilable by adding the documentclass as well as the relevant packages?
– leandriis
9 hours ago
If you usep{<width>}
as an argument tomulticolumn
the width is only applied to this specific column. If you want to apply this setting th the whole table, use ap
type column in the column specifier section right afterbegin{tabular}
.
– leandriis
9 hours ago
Alternatively, you might also be interested in thetabularx
package for a more automated approach.
– leandriis
9 hours ago
Thanks for making the example code compilable. Do you usegeometry
in your actual document ot soehow change the size of the margins? If so, please also include thouse settings.
– leandriis
9 hours ago
Having had a closer look at your table, I am quite sure that it will not fit into the margins of a standart article pae unless you either use an extremly small fnt size or turn the page to a landscape orientation. Would the latter be fine for you?
– leandriis
9 hours ago
|
show 2 more comments
I am new to tables in latex. I know that I can do this with p{width}
but when I try it the table gets all unformated. How do I do it so that the Approach column gets smaller so that the table can fit inside the page?
Thanks.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
begin{document}
begin{table}
centering
label{tabelaSemEval}
begin{tabular}{llc|llc|llc}
hline
multicolumn{3}{c}{ textbf{Sub-task A}} & multicolumn{3}{c}{textbf{Sub-task B}} & multicolumn{3}{c}{textbf{Sub-task C }} \
multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l|}{textbf{F1 score} } & multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l|}{textbf{F1 score} } & multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l}{textbf{F1 score} } \
hline
NULI & BERT & 0.829 & jhan014 & MSOC & 0.755 & vradivchev anikolov & BERT+GloVe & 0.660 \
vradivchev anikolov & BERT+GloVe & 0.815 & Amobee & CNN+token embedding & 0.739 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
UM-IU@LING & BERT & 0.814 & HHU & LSTM & 0.719 & Fermi & ELMo embeddings+ SVM & 0.626 \
Embeddia & BERT & 0.808 & NULI & BERT & 0.716 & YNU-HPCC & & 0.621 \
MIDAS & CNN+LSTM+GRU and word embeddings & 0.807 & NIT Agartala & Logistic regression+ Linear SVC+SGD+PA & 0.708 & Embeddia & BOW+GloVe-LSTM+POS-LSTM & 0.613 \
BNU-HKBU & BERT & 0.806 & UBC NLP & Emsemble of XGBoost+AdaBoost+logistic regression & 0.706 & NoOffense & - & 0.613 \
SentiBERT & BERT & 0.804 & Pardeep & GRU & 0.700 & Amobee & CNN+token embedding & 0.591 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM,Transformer,SVM and Random Forest & 0.803 & MIDAS & model based on heuristics & 0.695 & orabia & - & 0.588 \
YNUWB & CNN+word embeddings & 0.802 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.692 & UBC NLP & Ensemble of logistic regression+AdaBoost+XGBoost & 0.586 \
LTL-UDE & BERT & 0.802 & Vadym & - & 0.692 & na14 & - & 0.586
end{tabular}
end{table}
end{document}
tables multicolumn
I am new to tables in latex. I know that I can do this with p{width}
but when I try it the table gets all unformated. How do I do it so that the Approach column gets smaller so that the table can fit inside the page?
Thanks.
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
begin{document}
begin{table}
centering
label{tabelaSemEval}
begin{tabular}{llc|llc|llc}
hline
multicolumn{3}{c}{ textbf{Sub-task A}} & multicolumn{3}{c}{textbf{Sub-task B}} & multicolumn{3}{c}{textbf{Sub-task C }} \
multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l|}{textbf{F1 score} } & multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l|}{textbf{F1 score} } & multicolumn{1}{c|}{textbf{Team Ranks}} & multicolumn{1}{p{3cm}|}{textbf{Approach}} & multicolumn{1}{l}{textbf{F1 score} } \
hline
NULI & BERT & 0.829 & jhan014 & MSOC & 0.755 & vradivchev anikolov & BERT+GloVe & 0.660 \
vradivchev anikolov & BERT+GloVe & 0.815 & Amobee & CNN+token embedding & 0.739 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
UM-IU@LING & BERT & 0.814 & HHU & LSTM & 0.719 & Fermi & ELMo embeddings+ SVM & 0.626 \
Embeddia & BERT & 0.808 & NULI & BERT & 0.716 & YNU-HPCC & & 0.621 \
MIDAS & CNN+LSTM+GRU and word embeddings & 0.807 & NIT Agartala & Logistic regression+ Linear SVC+SGD+PA & 0.708 & Embeddia & BOW+GloVe-LSTM+POS-LSTM & 0.613 \
BNU-HKBU & BERT & 0.806 & UBC NLP & Emsemble of XGBoost+AdaBoost+logistic regression & 0.706 & NoOffense & - & 0.613 \
SentiBERT & BERT & 0.804 & Pardeep & GRU & 0.700 & Amobee & CNN+token embedding & 0.591 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM,Transformer,SVM and Random Forest & 0.803 & MIDAS & model based on heuristics & 0.695 & orabia & - & 0.588 \
YNUWB & CNN+word embeddings & 0.802 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.692 & UBC NLP & Ensemble of logistic regression+AdaBoost+XGBoost & 0.586 \
LTL-UDE & BERT & 0.802 & Vadym & - & 0.692 & na14 & - & 0.586
end{tabular}
end{table}
end{document}
tables multicolumn
tables multicolumn
edited 9 hours ago
user190963
asked 9 hours ago
user190963user190963
274 bronze badges
274 bronze badges
Could you please make your example compilable by adding the documentclass as well as the relevant packages?
– leandriis
9 hours ago
If you usep{<width>}
as an argument tomulticolumn
the width is only applied to this specific column. If you want to apply this setting th the whole table, use ap
type column in the column specifier section right afterbegin{tabular}
.
– leandriis
9 hours ago
Alternatively, you might also be interested in thetabularx
package for a more automated approach.
– leandriis
9 hours ago
Thanks for making the example code compilable. Do you usegeometry
in your actual document ot soehow change the size of the margins? If so, please also include thouse settings.
– leandriis
9 hours ago
Having had a closer look at your table, I am quite sure that it will not fit into the margins of a standart article pae unless you either use an extremly small fnt size or turn the page to a landscape orientation. Would the latter be fine for you?
– leandriis
9 hours ago
|
show 2 more comments
Could you please make your example compilable by adding the documentclass as well as the relevant packages?
– leandriis
9 hours ago
If you usep{<width>}
as an argument tomulticolumn
the width is only applied to this specific column. If you want to apply this setting th the whole table, use ap
type column in the column specifier section right afterbegin{tabular}
.
– leandriis
9 hours ago
Alternatively, you might also be interested in thetabularx
package for a more automated approach.
– leandriis
9 hours ago
Thanks for making the example code compilable. Do you usegeometry
in your actual document ot soehow change the size of the margins? If so, please also include thouse settings.
– leandriis
9 hours ago
Having had a closer look at your table, I am quite sure that it will not fit into the margins of a standart article pae unless you either use an extremly small fnt size or turn the page to a landscape orientation. Would the latter be fine for you?
– leandriis
9 hours ago
Could you please make your example compilable by adding the documentclass as well as the relevant packages?
– leandriis
9 hours ago
Could you please make your example compilable by adding the documentclass as well as the relevant packages?
– leandriis
9 hours ago
If you use
p{<width>}
as an argument to multicolumn
the width is only applied to this specific column. If you want to apply this setting th the whole table, use a p
type column in the column specifier section right after begin{tabular}
.– leandriis
9 hours ago
If you use
p{<width>}
as an argument to multicolumn
the width is only applied to this specific column. If you want to apply this setting th the whole table, use a p
type column in the column specifier section right after begin{tabular}
.– leandriis
9 hours ago
Alternatively, you might also be interested in the
tabularx
package for a more automated approach.– leandriis
9 hours ago
Alternatively, you might also be interested in the
tabularx
package for a more automated approach.– leandriis
9 hours ago
Thanks for making the example code compilable. Do you use
geometry
in your actual document ot soehow change the size of the margins? If so, please also include thouse settings.– leandriis
9 hours ago
Thanks for making the example code compilable. Do you use
geometry
in your actual document ot soehow change the size of the margins? If so, please also include thouse settings.– leandriis
9 hours ago
Having had a closer look at your table, I am quite sure that it will not fit into the margins of a standart article pae unless you either use an extremly small fnt size or turn the page to a landscape orientation. Would the latter be fine for you?
– leandriis
9 hours ago
Having had a closer look at your table, I am quite sure that it will not fit into the margins of a standart article pae unless you either use an extremly small fnt size or turn the page to a landscape orientation. Would the latter be fine for you?
– leandriis
9 hours ago
|
show 2 more comments
2 Answers
2
active
oldest
votes
Here is my suggestion on how to restructure your table. As the table was too wide to fit into the margins (even on a landscape page) I decided to put the three sub-tasks below each other instead of next to each other. I have also used the horizontal lines from the booktabs
package and the tabularx
package for a table that automatically is as wide as the textwidth.
documentclass{article}
usepackage{tabularx}
usepackage{booktabs}
usepackage{ragged2e}
begin{document}
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{@{quadquad}l>{RaggedRight}Xc}
toprule
Team ranks & Approach & F1 score \
midrule
multicolumn{3}{l}{textit{Sub-task A}}\
NULI & BERT & 0.829 \
vradivchev anikolov & BERT+GloVe & 0.815 \
UM-IU@LING & BERT & 0.814 \
Embeddia & BERT & 0.808 \
MIDAS & CNN+LSTM+GRU and word embeddings & 0.807 \
BNU-HKBU & BERT & 0.806 \
SentiBERT & BERT & 0.804 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM,Transformer,SVM and Random Forest & 0.803 \
YNUWB & CNN+word embeddings & 0.802 \
LTL-UDE & BERT & 0.802 \
midrule
multicolumn{3}{l}{textit{Sub-task B}}\
jhan014 & MSOC & 0.755 \
Amobee & CNN+token embedding & 0.739 \
HHU & LSTM & 0.719\
NULI & BERT & 0.716 \
NIT Agartala & Logistic regression+ Linear SVC+SGD+PA & 0.708 \
UBC NLP & Emsemble of XGBoost+AdaBoost+logistic regression & 0.706 \
Pardeep & GRU & 0.700 \
MIDAS & model based on heuristics & 0.695 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.692\
Vadym & - & 0.692 \
midrule
multicolumn{3}{l}{textit{Sub-task C}}\
vradivchev anikolov & BERT+GloVe & 0.660\
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
Fermi & ELMo embeddings+ SVM & 0.626 \
YNU-HPCC & & 0.621 \
Embeddia & BOW+GloVe-LSTM+POS-LSTM & 0.613 \
NoOffense & - & 0.613 \
Amobee & CNN+token embedding & 0.591 \
orabia & - & 0.588 \
UBC NLP & Ensemble of logistic regression+AdaBoost+XGBoost & 0.586 \
na14 & - & 0.586 \
bottomrule
end{tabularx}
end{table}
end{document}
I am amazed, never seen a table with such a structure. Very nice, thank you.
– user190963
8 hours ago
add a comment |
Another possibility: a table in landscape format, playing with the margins, the font size and the separating space between columns. I removed all vertical rules, replaced the hyphens with the more appropriate endashes, and added spaces around the +
signs, to make line breaking easier:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{ragged2e}
usepackage[margin=2cm]{geometry}
usepackage{lscape}
usepackage{tabularx, booktabs, makecell}
renewcommand{theadfont}{bfseries}
begin{document}
begin{landscape}
setlength{tabcolsep}{4pt}
footnotesize
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{*{2}{l>{RaggedRight}X@{}c}l>{RaggedRight}X@{}c}
toprule
multicolumn{3}{c}{textbf{Sub-task A}} & multicolumn{3}{c}{textbf{Sub-task B}} & multicolumn{3}{c}{textbf{Sub-task C }} \[1ex]
thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,}& thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,} & thead[l]{Team Ranks} &thead[lc]{Approach}& thead{F1 score,}\[1ex]
cmidrule(lr){1-3}cmidrule(lr){4-6}cmidrule(lr){7-9}
addlinespace[2ex]
NULI & BERT & 0.829 & jhan014 & MSOC & 0.755 & vradivchev anikolov & BERT + GloVe & 0.660 \
vradivchev anikolov & BERT + GloVe & 0.815 & Amobee & CNN + token embedding & 0.739 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
UM-IU@LING & BERT & 0.814 & HHU & LSTM & 0.719 & Fermi & ELMo embeddings + SVM & 0.626 \
Embeddia & BERT & 0.808 & NULI & BERT & 0.716 & YNU-HPCC & & 0.621 \
MIDAS & CNN + LSTM + GRU and word embeddings & 0.807 & NIT Agartala & Logistic regression + Linear SVC + SGD + PA & 0.708 & Embeddia & BOW + GloVe-LSTM + POS-LSTM & 0.613 \
BNU-HKBU & BERT & 0.806 & UBC NLP & Ensemble of XGBoost + AdaBoost + logistic regression & 0.706 & NoOffense & -- & 0.613 \
SentiBERT & BERT & 0.804 & Pardeep & GRU & 0.700 & Amobee & CNN + token embedding & 0.591 \
NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.803 & MIDAS & model based on heuristics & 0.695 & orabia & -- & 0.588 \
YNUWB & CNN + word embeddings & 0.802 & NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.692 & UBC NLP & Ensemble of logistic regression + AdaBoost + XGBoost & 0.586 \
LTL-UDE & BERT & 0.802 & Vadym & -- & 0.692 & na14 & -- & 0.586 \
addlinespace[2ex]
bottomrule
end{tabularx}
end{table}
end{landscape}
end{document}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f496688%2fset-multicolumn-to-a-exact-width%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here is my suggestion on how to restructure your table. As the table was too wide to fit into the margins (even on a landscape page) I decided to put the three sub-tasks below each other instead of next to each other. I have also used the horizontal lines from the booktabs
package and the tabularx
package for a table that automatically is as wide as the textwidth.
documentclass{article}
usepackage{tabularx}
usepackage{booktabs}
usepackage{ragged2e}
begin{document}
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{@{quadquad}l>{RaggedRight}Xc}
toprule
Team ranks & Approach & F1 score \
midrule
multicolumn{3}{l}{textit{Sub-task A}}\
NULI & BERT & 0.829 \
vradivchev anikolov & BERT+GloVe & 0.815 \
UM-IU@LING & BERT & 0.814 \
Embeddia & BERT & 0.808 \
MIDAS & CNN+LSTM+GRU and word embeddings & 0.807 \
BNU-HKBU & BERT & 0.806 \
SentiBERT & BERT & 0.804 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM,Transformer,SVM and Random Forest & 0.803 \
YNUWB & CNN+word embeddings & 0.802 \
LTL-UDE & BERT & 0.802 \
midrule
multicolumn{3}{l}{textit{Sub-task B}}\
jhan014 & MSOC & 0.755 \
Amobee & CNN+token embedding & 0.739 \
HHU & LSTM & 0.719\
NULI & BERT & 0.716 \
NIT Agartala & Logistic regression+ Linear SVC+SGD+PA & 0.708 \
UBC NLP & Emsemble of XGBoost+AdaBoost+logistic regression & 0.706 \
Pardeep & GRU & 0.700 \
MIDAS & model based on heuristics & 0.695 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.692\
Vadym & - & 0.692 \
midrule
multicolumn{3}{l}{textit{Sub-task C}}\
vradivchev anikolov & BERT+GloVe & 0.660\
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
Fermi & ELMo embeddings+ SVM & 0.626 \
YNU-HPCC & & 0.621 \
Embeddia & BOW+GloVe-LSTM+POS-LSTM & 0.613 \
NoOffense & - & 0.613 \
Amobee & CNN+token embedding & 0.591 \
orabia & - & 0.588 \
UBC NLP & Ensemble of logistic regression+AdaBoost+XGBoost & 0.586 \
na14 & - & 0.586 \
bottomrule
end{tabularx}
end{table}
end{document}
I am amazed, never seen a table with such a structure. Very nice, thank you.
– user190963
8 hours ago
add a comment |
Here is my suggestion on how to restructure your table. As the table was too wide to fit into the margins (even on a landscape page) I decided to put the three sub-tasks below each other instead of next to each other. I have also used the horizontal lines from the booktabs
package and the tabularx
package for a table that automatically is as wide as the textwidth.
documentclass{article}
usepackage{tabularx}
usepackage{booktabs}
usepackage{ragged2e}
begin{document}
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{@{quadquad}l>{RaggedRight}Xc}
toprule
Team ranks & Approach & F1 score \
midrule
multicolumn{3}{l}{textit{Sub-task A}}\
NULI & BERT & 0.829 \
vradivchev anikolov & BERT+GloVe & 0.815 \
UM-IU@LING & BERT & 0.814 \
Embeddia & BERT & 0.808 \
MIDAS & CNN+LSTM+GRU and word embeddings & 0.807 \
BNU-HKBU & BERT & 0.806 \
SentiBERT & BERT & 0.804 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM,Transformer,SVM and Random Forest & 0.803 \
YNUWB & CNN+word embeddings & 0.802 \
LTL-UDE & BERT & 0.802 \
midrule
multicolumn{3}{l}{textit{Sub-task B}}\
jhan014 & MSOC & 0.755 \
Amobee & CNN+token embedding & 0.739 \
HHU & LSTM & 0.719\
NULI & BERT & 0.716 \
NIT Agartala & Logistic regression+ Linear SVC+SGD+PA & 0.708 \
UBC NLP & Emsemble of XGBoost+AdaBoost+logistic regression & 0.706 \
Pardeep & GRU & 0.700 \
MIDAS & model based on heuristics & 0.695 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.692\
Vadym & - & 0.692 \
midrule
multicolumn{3}{l}{textit{Sub-task C}}\
vradivchev anikolov & BERT+GloVe & 0.660\
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
Fermi & ELMo embeddings+ SVM & 0.626 \
YNU-HPCC & & 0.621 \
Embeddia & BOW+GloVe-LSTM+POS-LSTM & 0.613 \
NoOffense & - & 0.613 \
Amobee & CNN+token embedding & 0.591 \
orabia & - & 0.588 \
UBC NLP & Ensemble of logistic regression+AdaBoost+XGBoost & 0.586 \
na14 & - & 0.586 \
bottomrule
end{tabularx}
end{table}
end{document}
I am amazed, never seen a table with such a structure. Very nice, thank you.
– user190963
8 hours ago
add a comment |
Here is my suggestion on how to restructure your table. As the table was too wide to fit into the margins (even on a landscape page) I decided to put the three sub-tasks below each other instead of next to each other. I have also used the horizontal lines from the booktabs
package and the tabularx
package for a table that automatically is as wide as the textwidth.
documentclass{article}
usepackage{tabularx}
usepackage{booktabs}
usepackage{ragged2e}
begin{document}
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{@{quadquad}l>{RaggedRight}Xc}
toprule
Team ranks & Approach & F1 score \
midrule
multicolumn{3}{l}{textit{Sub-task A}}\
NULI & BERT & 0.829 \
vradivchev anikolov & BERT+GloVe & 0.815 \
UM-IU@LING & BERT & 0.814 \
Embeddia & BERT & 0.808 \
MIDAS & CNN+LSTM+GRU and word embeddings & 0.807 \
BNU-HKBU & BERT & 0.806 \
SentiBERT & BERT & 0.804 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM,Transformer,SVM and Random Forest & 0.803 \
YNUWB & CNN+word embeddings & 0.802 \
LTL-UDE & BERT & 0.802 \
midrule
multicolumn{3}{l}{textit{Sub-task B}}\
jhan014 & MSOC & 0.755 \
Amobee & CNN+token embedding & 0.739 \
HHU & LSTM & 0.719\
NULI & BERT & 0.716 \
NIT Agartala & Logistic regression+ Linear SVC+SGD+PA & 0.708 \
UBC NLP & Emsemble of XGBoost+AdaBoost+logistic regression & 0.706 \
Pardeep & GRU & 0.700 \
MIDAS & model based on heuristics & 0.695 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.692\
Vadym & - & 0.692 \
midrule
multicolumn{3}{l}{textit{Sub-task C}}\
vradivchev anikolov & BERT+GloVe & 0.660\
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
Fermi & ELMo embeddings+ SVM & 0.626 \
YNU-HPCC & & 0.621 \
Embeddia & BOW+GloVe-LSTM+POS-LSTM & 0.613 \
NoOffense & - & 0.613 \
Amobee & CNN+token embedding & 0.591 \
orabia & - & 0.588 \
UBC NLP & Ensemble of logistic regression+AdaBoost+XGBoost & 0.586 \
na14 & - & 0.586 \
bottomrule
end{tabularx}
end{table}
end{document}
Here is my suggestion on how to restructure your table. As the table was too wide to fit into the margins (even on a landscape page) I decided to put the three sub-tasks below each other instead of next to each other. I have also used the horizontal lines from the booktabs
package and the tabularx
package for a table that automatically is as wide as the textwidth.
documentclass{article}
usepackage{tabularx}
usepackage{booktabs}
usepackage{ragged2e}
begin{document}
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{@{quadquad}l>{RaggedRight}Xc}
toprule
Team ranks & Approach & F1 score \
midrule
multicolumn{3}{l}{textit{Sub-task A}}\
NULI & BERT & 0.829 \
vradivchev anikolov & BERT+GloVe & 0.815 \
UM-IU@LING & BERT & 0.814 \
Embeddia & BERT & 0.808 \
MIDAS & CNN+LSTM+GRU and word embeddings & 0.807 \
BNU-HKBU & BERT & 0.806 \
SentiBERT & BERT & 0.804 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM,Transformer,SVM and Random Forest & 0.803 \
YNUWB & CNN+word embeddings & 0.802 \
LTL-UDE & BERT & 0.802 \
midrule
multicolumn{3}{l}{textit{Sub-task B}}\
jhan014 & MSOC & 0.755 \
Amobee & CNN+token embedding & 0.739 \
HHU & LSTM & 0.719\
NULI & BERT & 0.716 \
NIT Agartala & Logistic regression+ Linear SVC+SGD+PA & 0.708 \
UBC NLP & Emsemble of XGBoost+AdaBoost+logistic regression & 0.706 \
Pardeep & GRU & 0.700 \
MIDAS & model based on heuristics & 0.695 \
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.692\
Vadym & - & 0.692 \
midrule
multicolumn{3}{l}{textit{Sub-task C}}\
vradivchev anikolov & BERT+GloVe & 0.660\
NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
Fermi & ELMo embeddings+ SVM & 0.626 \
YNU-HPCC & & 0.621 \
Embeddia & BOW+GloVe-LSTM+POS-LSTM & 0.613 \
NoOffense & - & 0.613 \
Amobee & CNN+token embedding & 0.591 \
orabia & - & 0.588 \
UBC NLP & Ensemble of logistic regression+AdaBoost+XGBoost & 0.586 \
na14 & - & 0.586 \
bottomrule
end{tabularx}
end{table}
end{document}
answered 8 hours ago
leandriisleandriis
14.4k1 gold badge11 silver badges35 bronze badges
14.4k1 gold badge11 silver badges35 bronze badges
I am amazed, never seen a table with such a structure. Very nice, thank you.
– user190963
8 hours ago
add a comment |
I am amazed, never seen a table with such a structure. Very nice, thank you.
– user190963
8 hours ago
I am amazed, never seen a table with such a structure. Very nice, thank you.
– user190963
8 hours ago
I am amazed, never seen a table with such a structure. Very nice, thank you.
– user190963
8 hours ago
add a comment |
Another possibility: a table in landscape format, playing with the margins, the font size and the separating space between columns. I removed all vertical rules, replaced the hyphens with the more appropriate endashes, and added spaces around the +
signs, to make line breaking easier:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{ragged2e}
usepackage[margin=2cm]{geometry}
usepackage{lscape}
usepackage{tabularx, booktabs, makecell}
renewcommand{theadfont}{bfseries}
begin{document}
begin{landscape}
setlength{tabcolsep}{4pt}
footnotesize
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{*{2}{l>{RaggedRight}X@{}c}l>{RaggedRight}X@{}c}
toprule
multicolumn{3}{c}{textbf{Sub-task A}} & multicolumn{3}{c}{textbf{Sub-task B}} & multicolumn{3}{c}{textbf{Sub-task C }} \[1ex]
thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,}& thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,} & thead[l]{Team Ranks} &thead[lc]{Approach}& thead{F1 score,}\[1ex]
cmidrule(lr){1-3}cmidrule(lr){4-6}cmidrule(lr){7-9}
addlinespace[2ex]
NULI & BERT & 0.829 & jhan014 & MSOC & 0.755 & vradivchev anikolov & BERT + GloVe & 0.660 \
vradivchev anikolov & BERT + GloVe & 0.815 & Amobee & CNN + token embedding & 0.739 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
UM-IU@LING & BERT & 0.814 & HHU & LSTM & 0.719 & Fermi & ELMo embeddings + SVM & 0.626 \
Embeddia & BERT & 0.808 & NULI & BERT & 0.716 & YNU-HPCC & & 0.621 \
MIDAS & CNN + LSTM + GRU and word embeddings & 0.807 & NIT Agartala & Logistic regression + Linear SVC + SGD + PA & 0.708 & Embeddia & BOW + GloVe-LSTM + POS-LSTM & 0.613 \
BNU-HKBU & BERT & 0.806 & UBC NLP & Ensemble of XGBoost + AdaBoost + logistic regression & 0.706 & NoOffense & -- & 0.613 \
SentiBERT & BERT & 0.804 & Pardeep & GRU & 0.700 & Amobee & CNN + token embedding & 0.591 \
NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.803 & MIDAS & model based on heuristics & 0.695 & orabia & -- & 0.588 \
YNUWB & CNN + word embeddings & 0.802 & NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.692 & UBC NLP & Ensemble of logistic regression + AdaBoost + XGBoost & 0.586 \
LTL-UDE & BERT & 0.802 & Vadym & -- & 0.692 & na14 & -- & 0.586 \
addlinespace[2ex]
bottomrule
end{tabularx}
end{table}
end{landscape}
end{document}
add a comment |
Another possibility: a table in landscape format, playing with the margins, the font size and the separating space between columns. I removed all vertical rules, replaced the hyphens with the more appropriate endashes, and added spaces around the +
signs, to make line breaking easier:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{ragged2e}
usepackage[margin=2cm]{geometry}
usepackage{lscape}
usepackage{tabularx, booktabs, makecell}
renewcommand{theadfont}{bfseries}
begin{document}
begin{landscape}
setlength{tabcolsep}{4pt}
footnotesize
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{*{2}{l>{RaggedRight}X@{}c}l>{RaggedRight}X@{}c}
toprule
multicolumn{3}{c}{textbf{Sub-task A}} & multicolumn{3}{c}{textbf{Sub-task B}} & multicolumn{3}{c}{textbf{Sub-task C }} \[1ex]
thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,}& thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,} & thead[l]{Team Ranks} &thead[lc]{Approach}& thead{F1 score,}\[1ex]
cmidrule(lr){1-3}cmidrule(lr){4-6}cmidrule(lr){7-9}
addlinespace[2ex]
NULI & BERT & 0.829 & jhan014 & MSOC & 0.755 & vradivchev anikolov & BERT + GloVe & 0.660 \
vradivchev anikolov & BERT + GloVe & 0.815 & Amobee & CNN + token embedding & 0.739 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
UM-IU@LING & BERT & 0.814 & HHU & LSTM & 0.719 & Fermi & ELMo embeddings + SVM & 0.626 \
Embeddia & BERT & 0.808 & NULI & BERT & 0.716 & YNU-HPCC & & 0.621 \
MIDAS & CNN + LSTM + GRU and word embeddings & 0.807 & NIT Agartala & Logistic regression + Linear SVC + SGD + PA & 0.708 & Embeddia & BOW + GloVe-LSTM + POS-LSTM & 0.613 \
BNU-HKBU & BERT & 0.806 & UBC NLP & Ensemble of XGBoost + AdaBoost + logistic regression & 0.706 & NoOffense & -- & 0.613 \
SentiBERT & BERT & 0.804 & Pardeep & GRU & 0.700 & Amobee & CNN + token embedding & 0.591 \
NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.803 & MIDAS & model based on heuristics & 0.695 & orabia & -- & 0.588 \
YNUWB & CNN + word embeddings & 0.802 & NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.692 & UBC NLP & Ensemble of logistic regression + AdaBoost + XGBoost & 0.586 \
LTL-UDE & BERT & 0.802 & Vadym & -- & 0.692 & na14 & -- & 0.586 \
addlinespace[2ex]
bottomrule
end{tabularx}
end{table}
end{landscape}
end{document}
add a comment |
Another possibility: a table in landscape format, playing with the margins, the font size and the separating space between columns. I removed all vertical rules, replaced the hyphens with the more appropriate endashes, and added spaces around the +
signs, to make line breaking easier:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{ragged2e}
usepackage[margin=2cm]{geometry}
usepackage{lscape}
usepackage{tabularx, booktabs, makecell}
renewcommand{theadfont}{bfseries}
begin{document}
begin{landscape}
setlength{tabcolsep}{4pt}
footnotesize
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{*{2}{l>{RaggedRight}X@{}c}l>{RaggedRight}X@{}c}
toprule
multicolumn{3}{c}{textbf{Sub-task A}} & multicolumn{3}{c}{textbf{Sub-task B}} & multicolumn{3}{c}{textbf{Sub-task C }} \[1ex]
thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,}& thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,} & thead[l]{Team Ranks} &thead[lc]{Approach}& thead{F1 score,}\[1ex]
cmidrule(lr){1-3}cmidrule(lr){4-6}cmidrule(lr){7-9}
addlinespace[2ex]
NULI & BERT & 0.829 & jhan014 & MSOC & 0.755 & vradivchev anikolov & BERT + GloVe & 0.660 \
vradivchev anikolov & BERT + GloVe & 0.815 & Amobee & CNN + token embedding & 0.739 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
UM-IU@LING & BERT & 0.814 & HHU & LSTM & 0.719 & Fermi & ELMo embeddings + SVM & 0.626 \
Embeddia & BERT & 0.808 & NULI & BERT & 0.716 & YNU-HPCC & & 0.621 \
MIDAS & CNN + LSTM + GRU and word embeddings & 0.807 & NIT Agartala & Logistic regression + Linear SVC + SGD + PA & 0.708 & Embeddia & BOW + GloVe-LSTM + POS-LSTM & 0.613 \
BNU-HKBU & BERT & 0.806 & UBC NLP & Ensemble of XGBoost + AdaBoost + logistic regression & 0.706 & NoOffense & -- & 0.613 \
SentiBERT & BERT & 0.804 & Pardeep & GRU & 0.700 & Amobee & CNN + token embedding & 0.591 \
NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.803 & MIDAS & model based on heuristics & 0.695 & orabia & -- & 0.588 \
YNUWB & CNN + word embeddings & 0.802 & NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.692 & UBC NLP & Ensemble of logistic regression + AdaBoost + XGBoost & 0.586 \
LTL-UDE & BERT & 0.802 & Vadym & -- & 0.692 & na14 & -- & 0.586 \
addlinespace[2ex]
bottomrule
end{tabularx}
end{table}
end{landscape}
end{document}
Another possibility: a table in landscape format, playing with the margins, the font size and the separating space between columns. I removed all vertical rules, replaced the hyphens with the more appropriate endashes, and added spaces around the +
signs, to make line breaking easier:
documentclass{article}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{ragged2e}
usepackage[margin=2cm]{geometry}
usepackage{lscape}
usepackage{tabularx, booktabs, makecell}
renewcommand{theadfont}{bfseries}
begin{document}
begin{landscape}
setlength{tabcolsep}{4pt}
footnotesize
begin{table}
centering
label{tabelaSemEval}
begin{tabularx}{linewidth}{*{2}{l>{RaggedRight}X@{}c}l>{RaggedRight}X@{}c}
toprule
multicolumn{3}{c}{textbf{Sub-task A}} & multicolumn{3}{c}{textbf{Sub-task B}} & multicolumn{3}{c}{textbf{Sub-task C }} \[1ex]
thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,}& thead[l]{Team Ranks} &thead[l]{Approach}& thead{F1 score,} & thead[l]{Team Ranks} &thead[lc]{Approach}& thead{F1 score,}\[1ex]
cmidrule(lr){1-3}cmidrule(lr){4-6}cmidrule(lr){7-9}
addlinespace[2ex]
NULI & BERT & 0.829 & jhan014 & MSOC & 0.755 & vradivchev anikolov & BERT + GloVe & 0.660 \
vradivchev anikolov & BERT + GloVe & 0.815 & Amobee & CNN + token embedding & 0.739 & NLPR@SRPOL & ensemble of OpenAI,Finetune, LSTM, Transformer,SVM and Random Forest & 0.628 \
UM-IU@LING & BERT & 0.814 & HHU & LSTM & 0.719 & Fermi & ELMo embeddings + SVM & 0.626 \
Embeddia & BERT & 0.808 & NULI & BERT & 0.716 & YNU-HPCC & & 0.621 \
MIDAS & CNN + LSTM + GRU and word embeddings & 0.807 & NIT Agartala & Logistic regression + Linear SVC + SGD + PA & 0.708 & Embeddia & BOW + GloVe-LSTM + POS-LSTM & 0.613 \
BNU-HKBU & BERT & 0.806 & UBC NLP & Ensemble of XGBoost + AdaBoost + logistic regression & 0.706 & NoOffense & -- & 0.613 \
SentiBERT & BERT & 0.804 & Pardeep & GRU & 0.700 & Amobee & CNN + token embedding & 0.591 \
NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.803 & MIDAS & model based on heuristics & 0.695 & orabia & -- & 0.588 \
YNUWB & CNN + word embeddings & 0.802 & NLPR@SRPOL & ensemble of OpenAI, Finetune, LSTM, Transformer, SVM and Random Forest & 0.692 & UBC NLP & Ensemble of logistic regression + AdaBoost + XGBoost & 0.586 \
LTL-UDE & BERT & 0.802 & Vadym & -- & 0.692 & na14 & -- & 0.586 \
addlinespace[2ex]
bottomrule
end{tabularx}
end{table}
end{landscape}
end{document}
answered 8 hours ago
BernardBernard
182k7 gold badges83 silver badges214 bronze badges
182k7 gold badges83 silver badges214 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f496688%2fset-multicolumn-to-a-exact-width%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Could you please make your example compilable by adding the documentclass as well as the relevant packages?
– leandriis
9 hours ago
If you use
p{<width>}
as an argument tomulticolumn
the width is only applied to this specific column. If you want to apply this setting th the whole table, use ap
type column in the column specifier section right afterbegin{tabular}
.– leandriis
9 hours ago
Alternatively, you might also be interested in the
tabularx
package for a more automated approach.– leandriis
9 hours ago
Thanks for making the example code compilable. Do you use
geometry
in your actual document ot soehow change the size of the margins? If so, please also include thouse settings.– leandriis
9 hours ago
Having had a closer look at your table, I am quite sure that it will not fit into the margins of a standart article pae unless you either use an extremly small fnt size or turn the page to a landscape orientation. Would the latter be fine for you?
– leandriis
9 hours ago