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".
How to change the table?
tables vertical-alignment
|
show 2 more comments
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".
How to change the table?
tables vertical-alignment
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) withparbox[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
|
show 2 more comments
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".
How to change the table?
tables vertical-alignment
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".
How to change the table?
tables vertical-alignment
tables vertical-alignment
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) withparbox[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
|
show 2 more comments
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) withparbox[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
|
show 2 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
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%2f461808%2flatex-table-with-vertical-text-entries-should-not-influence-titlebar%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
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