Latex Table with vertical text entries should not influence titlebar











up vote
4
down vote

favorite












I want to create a table that has text with vertical alignment:



documentclass{article}
usepackage{rotating}
usepackage{colortbl}
usepackage{multirow}

begin{document}

begin{table}[h]
centering
caption{Experiments}
begin{tabular}{l|l|llll|llll|l}
multicolumn{1}{c}{{cellcolor[rgb]{0.824,0.824,0.824}}Dataset} & & & & & & \
multicolumn{1}{l}{} & begin{sideways}end{sideways} & multicolumn{2}{c}{training} & multicolumn{2}{c|}{validation} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering BatchSize}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering RandBat}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering Loss$mathcal{L}$}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering #Params}}} &
multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering Comment}}} \
multicolumn{2}{l|}{Methods} & acc & auc & acc & auc & & & & & \
hline
Ours & Direct & 94.17 & 98 & 84.86 & 72 & 1 & & CE & & \
& Corr+Conv & 86.13 & 50 & 88.20 & 50 & 1 & & CE & & \
& Corr+Convd & 73.30 & 85 & 82.33 & 89 & 4 & x & CE & & \
& Corr+Conv3$mathcal{H}$& 27.19 & 71 & 83.61 & 73 & 4 & x & HL & & \ hline
Others & Net & & & & 88 & 16 & x & CE & 5 Mio. &
end{tabular}
end{table}
end{document}


... but, the entries "BatchSize, LossL, #Params" and Comment" should be one row lower and should not influence the grey titlebar "dataset".



table



How to change the table?










share|improve this question
























  • Might this help you: tex.stackexchange.com/questions/32683/…?
    – Raaja
    Nov 26 at 11:51










  • why are you hiding the size of the text (so forcing over-printing) with parbox[c]{0cm} ?
    – David Carlisle
    Nov 26 at 11:54










  • @Peter Also, please add a fully compilable MWE.
    – Raaja
    Nov 26 at 11:56










  • @Raaja - now it should be compilable.
    – Peter
    Nov 26 at 12:00






  • 1




    That is not compilable, there is no preamble. Please make something others can copy and test as is.
    – daleif
    Nov 26 at 12:06















up vote
4
down vote

favorite












I want to create a table that has text with vertical alignment:



documentclass{article}
usepackage{rotating}
usepackage{colortbl}
usepackage{multirow}

begin{document}

begin{table}[h]
centering
caption{Experiments}
begin{tabular}{l|l|llll|llll|l}
multicolumn{1}{c}{{cellcolor[rgb]{0.824,0.824,0.824}}Dataset} & & & & & & \
multicolumn{1}{l}{} & begin{sideways}end{sideways} & multicolumn{2}{c}{training} & multicolumn{2}{c|}{validation} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering BatchSize}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering RandBat}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering Loss$mathcal{L}$}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering #Params}}} &
multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering Comment}}} \
multicolumn{2}{l|}{Methods} & acc & auc & acc & auc & & & & & \
hline
Ours & Direct & 94.17 & 98 & 84.86 & 72 & 1 & & CE & & \
& Corr+Conv & 86.13 & 50 & 88.20 & 50 & 1 & & CE & & \
& Corr+Convd & 73.30 & 85 & 82.33 & 89 & 4 & x & CE & & \
& Corr+Conv3$mathcal{H}$& 27.19 & 71 & 83.61 & 73 & 4 & x & HL & & \ hline
Others & Net & & & & 88 & 16 & x & CE & 5 Mio. &
end{tabular}
end{table}
end{document}


... but, the entries "BatchSize, LossL, #Params" and Comment" should be one row lower and should not influence the grey titlebar "dataset".



table



How to change the table?










share|improve this question
























  • Might this help you: tex.stackexchange.com/questions/32683/…?
    – Raaja
    Nov 26 at 11:51










  • why are you hiding the size of the text (so forcing over-printing) with parbox[c]{0cm} ?
    – David Carlisle
    Nov 26 at 11:54










  • @Peter Also, please add a fully compilable MWE.
    – Raaja
    Nov 26 at 11:56










  • @Raaja - now it should be compilable.
    – Peter
    Nov 26 at 12:00






  • 1




    That is not compilable, there is no preamble. Please make something others can copy and test as is.
    – daleif
    Nov 26 at 12:06













up vote
4
down vote

favorite









up vote
4
down vote

favorite











I want to create a table that has text with vertical alignment:



documentclass{article}
usepackage{rotating}
usepackage{colortbl}
usepackage{multirow}

begin{document}

begin{table}[h]
centering
caption{Experiments}
begin{tabular}{l|l|llll|llll|l}
multicolumn{1}{c}{{cellcolor[rgb]{0.824,0.824,0.824}}Dataset} & & & & & & \
multicolumn{1}{l}{} & begin{sideways}end{sideways} & multicolumn{2}{c}{training} & multicolumn{2}{c|}{validation} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering BatchSize}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering RandBat}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering Loss$mathcal{L}$}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering #Params}}} &
multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering Comment}}} \
multicolumn{2}{l|}{Methods} & acc & auc & acc & auc & & & & & \
hline
Ours & Direct & 94.17 & 98 & 84.86 & 72 & 1 & & CE & & \
& Corr+Conv & 86.13 & 50 & 88.20 & 50 & 1 & & CE & & \
& Corr+Convd & 73.30 & 85 & 82.33 & 89 & 4 & x & CE & & \
& Corr+Conv3$mathcal{H}$& 27.19 & 71 & 83.61 & 73 & 4 & x & HL & & \ hline
Others & Net & & & & 88 & 16 & x & CE & 5 Mio. &
end{tabular}
end{table}
end{document}


... but, the entries "BatchSize, LossL, #Params" and Comment" should be one row lower and should not influence the grey titlebar "dataset".



table



How to change the table?










share|improve this question















I want to create a table that has text with vertical alignment:



documentclass{article}
usepackage{rotating}
usepackage{colortbl}
usepackage{multirow}

begin{document}

begin{table}[h]
centering
caption{Experiments}
begin{tabular}{l|l|llll|llll|l}
multicolumn{1}{c}{{cellcolor[rgb]{0.824,0.824,0.824}}Dataset} & & & & & & \
multicolumn{1}{l}{} & begin{sideways}end{sideways} & multicolumn{2}{c}{training} & multicolumn{2}{c|}{validation} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering BatchSize}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering RandBat}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering Loss$mathcal{L}$}}} & multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering #Params}}} &
multirow{2}{*}{rotatebox[origin=c]{90}{parbox[c]{0cm}{centering Comment}}} \
multicolumn{2}{l|}{Methods} & acc & auc & acc & auc & & & & & \
hline
Ours & Direct & 94.17 & 98 & 84.86 & 72 & 1 & & CE & & \
& Corr+Conv & 86.13 & 50 & 88.20 & 50 & 1 & & CE & & \
& Corr+Convd & 73.30 & 85 & 82.33 & 89 & 4 & x & CE & & \
& Corr+Conv3$mathcal{H}$& 27.19 & 71 & 83.61 & 73 & 4 & x & HL & & \ hline
Others & Net & & & & 88 & 16 & x & CE & 5 Mio. &
end{tabular}
end{table}
end{document}


... but, the entries "BatchSize, LossL, #Params" and Comment" should be one row lower and should not influence the grey titlebar "dataset".



table



How to change the table?







tables vertical-alignment






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 26 at 12:11









AboAmmar

31.6k22781




31.6k22781










asked Nov 26 at 11:49









Peter

1576




1576












  • Might this help you: tex.stackexchange.com/questions/32683/…?
    – Raaja
    Nov 26 at 11:51










  • why are you hiding the size of the text (so forcing over-printing) with parbox[c]{0cm} ?
    – David Carlisle
    Nov 26 at 11:54










  • @Peter Also, please add a fully compilable MWE.
    – Raaja
    Nov 26 at 11:56










  • @Raaja - now it should be compilable.
    – Peter
    Nov 26 at 12:00






  • 1




    That is not compilable, there is no preamble. Please make something others can copy and test as is.
    – daleif
    Nov 26 at 12:06


















  • Might this help you: tex.stackexchange.com/questions/32683/…?
    – Raaja
    Nov 26 at 11:51










  • why are you hiding the size of the text (so forcing over-printing) with parbox[c]{0cm} ?
    – David Carlisle
    Nov 26 at 11:54










  • @Peter Also, please add a fully compilable MWE.
    – Raaja
    Nov 26 at 11:56










  • @Raaja - now it should be compilable.
    – Peter
    Nov 26 at 12:00






  • 1




    That is not compilable, there is no preamble. Please make something others can copy and test as is.
    – daleif
    Nov 26 at 12:06
















Might this help you: tex.stackexchange.com/questions/32683/…?
– Raaja
Nov 26 at 11:51




Might this help you: tex.stackexchange.com/questions/32683/…?
– Raaja
Nov 26 at 11:51












why are you hiding the size of the text (so forcing over-printing) with parbox[c]{0cm} ?
– David Carlisle
Nov 26 at 11:54




why are you hiding the size of the text (so forcing over-printing) with parbox[c]{0cm} ?
– David Carlisle
Nov 26 at 11:54












@Peter Also, please add a fully compilable MWE.
– Raaja
Nov 26 at 11:56




@Peter Also, please add a fully compilable MWE.
– Raaja
Nov 26 at 11:56












@Raaja - now it should be compilable.
– Peter
Nov 26 at 12:00




@Raaja - now it should be compilable.
– Peter
Nov 26 at 12:00




1




1




That is not compilable, there is no preamble. Please make something others can copy and test as is.
– daleif
Nov 26 at 12:06




That is not compilable, there is no preamble. Please make something others can copy and test as is.
– daleif
Nov 26 at 12:06















active

oldest

votes











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',
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461808%2flatex-table-with-vertical-text-entries-should-not-influence-titlebar%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f461808%2flatex-table-with-vertical-text-entries-should-not-influence-titlebar%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?