How to split one table column into two sub-columns with merged header and footer?
How can I achieve this table in LaTeX?
tables multirow multicolumn
add a comment |
How can I achieve this table in LaTeX?
tables multirow multicolumn
you can't split columns, but you can merge cells withmulticolumn{2}{c}{...}
where you need.
– Zarko
Feb 5 at 11:44
how can i make that table sir?
– Beginner
Feb 5 at 11:45
no. i will not retype it. just write standard table and than i will help you further or you can wait that someone will do your task instead of you.
– Zarko
Feb 5 at 11:46
add a comment |
How can I achieve this table in LaTeX?
tables multirow multicolumn
How can I achieve this table in LaTeX?
tables multirow multicolumn
tables multirow multicolumn
edited Feb 5 at 11:33
homocomputeris
17811
17811
asked Feb 5 at 11:27
BeginnerBeginner
1104
1104
you can't split columns, but you can merge cells withmulticolumn{2}{c}{...}
where you need.
– Zarko
Feb 5 at 11:44
how can i make that table sir?
– Beginner
Feb 5 at 11:45
no. i will not retype it. just write standard table and than i will help you further or you can wait that someone will do your task instead of you.
– Zarko
Feb 5 at 11:46
add a comment |
you can't split columns, but you can merge cells withmulticolumn{2}{c}{...}
where you need.
– Zarko
Feb 5 at 11:44
how can i make that table sir?
– Beginner
Feb 5 at 11:45
no. i will not retype it. just write standard table and than i will help you further or you can wait that someone will do your task instead of you.
– Zarko
Feb 5 at 11:46
you can't split columns, but you can merge cells with
multicolumn{2}{c}{...}
where you need.– Zarko
Feb 5 at 11:44
you can't split columns, but you can merge cells with
multicolumn{2}{c}{...}
where you need.– Zarko
Feb 5 at 11:44
how can i make that table sir?
– Beginner
Feb 5 at 11:45
how can i make that table sir?
– Beginner
Feb 5 at 11:45
no. i will not retype it. just write standard table and than i will help you further or you can wait that someone will do your task instead of you.
– Zarko
Feb 5 at 11:46
no. i will not retype it. just write standard table and than i will help you further or you can wait that someone will do your task instead of you.
– Zarko
Feb 5 at 11:46
add a comment |
2 Answers
2
active
oldest
votes
I hope this helps:
documentclass{article}
usepackage{multirow}
begin{document}
begin{table}
begin{tabular}{cc|c|c|c|}
hline
multicolumn{1}{|c|}{multirow{2}{*}{textbf{Criteria}}} & multicolumn{2}{c|}{textbf{Proposed}} & multirow{2}{*}{textbf{Matching rate}} & multirow{2}{*}{textbf{Remarks}} \ cline{2-3}
multicolumn{1}{|c|}{} & textbf{Trial 1} & textbf{Trial 2} & & \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}The device\ works buggyend{tabular}} & Passed & Passed & 100% & Passed \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}That works\ only to monitor bugsend{tabular}} & Passed & Passed & 100% & Passed \ hline
& & multicolumn{1}{r|}{textbf{Functionality}} & textbf{100%} & textbf{Passed} \ cline{3-5}
end{tabular}
end{table}
end{document}
which would give you:
PS: [off-topic] you having been asked the same class of questions, I think you should also put in a little bit of effort to understand how these things works (the packages in particular) :-)
. Because, this is not a do-it-for-me
site (as @zarko
already emphasised). Atleast, for these type of questions, it would be great if you give a MWE
.
add a comment |
used @Raaja answer (+1) as op mwe:
documentclass{article}
usepackage{makecell, multirow}
setcellgapes{3pt}
begin{document}
begin{table}
makegapedcells
begin{tabular}{|c|c|c|c|c|}
hline
multirow{2}{*}{textbf{Criteria}}
& multicolumn{2}{c|}{textbf{Proposed}}
& multirow{2}{*}{textbf{Matching rate}}
& multirow{2}{*}{textbf{Remarks}} \
cline{2-3}
& textbf{Trial 1}
& textbf{Trial 2}
& & \
hline
makecell{The device\ works buggy}
& Passed & Passed & 100% & Passed \
hline
makecell{That works\ only to monitor bugs}
& Passed & Passed & 100% & Passed \
hline
multicolumn{1}{c|}{}
& multicolumn{2}{r|}{textbf{Functionality}}
& textbf{100%} & textbf{Passed} \
cline{2-5}
end{tabular}
end{table}
end{document}
So mine is an intermediate question :-D (yay!!!). Nevertheless, nice alignments per se (+1)
– Raaja
Feb 5 at 11:58
1
@Raaja, you do job of op, which i wasn't willing to do. so, yes, i exploit you (your answer) :-)
– Zarko
Feb 5 at 12:01
I remember that is how I started usingTeX
. So looking back, I always prefer to give a head-up when an OP suffers to compose aMWE
(but not repetitively ofc;-)
). [off-topic] may beyou(r ...)
would be more devastating thanyou (your ...)
:-D
.
– Raaja
Feb 5 at 12:06
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%2f473462%2fhow-to-split-one-table-column-into-two-sub-columns-with-merged-header-and-footer%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
I hope this helps:
documentclass{article}
usepackage{multirow}
begin{document}
begin{table}
begin{tabular}{cc|c|c|c|}
hline
multicolumn{1}{|c|}{multirow{2}{*}{textbf{Criteria}}} & multicolumn{2}{c|}{textbf{Proposed}} & multirow{2}{*}{textbf{Matching rate}} & multirow{2}{*}{textbf{Remarks}} \ cline{2-3}
multicolumn{1}{|c|}{} & textbf{Trial 1} & textbf{Trial 2} & & \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}The device\ works buggyend{tabular}} & Passed & Passed & 100% & Passed \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}That works\ only to monitor bugsend{tabular}} & Passed & Passed & 100% & Passed \ hline
& & multicolumn{1}{r|}{textbf{Functionality}} & textbf{100%} & textbf{Passed} \ cline{3-5}
end{tabular}
end{table}
end{document}
which would give you:
PS: [off-topic] you having been asked the same class of questions, I think you should also put in a little bit of effort to understand how these things works (the packages in particular) :-)
. Because, this is not a do-it-for-me
site (as @zarko
already emphasised). Atleast, for these type of questions, it would be great if you give a MWE
.
add a comment |
I hope this helps:
documentclass{article}
usepackage{multirow}
begin{document}
begin{table}
begin{tabular}{cc|c|c|c|}
hline
multicolumn{1}{|c|}{multirow{2}{*}{textbf{Criteria}}} & multicolumn{2}{c|}{textbf{Proposed}} & multirow{2}{*}{textbf{Matching rate}} & multirow{2}{*}{textbf{Remarks}} \ cline{2-3}
multicolumn{1}{|c|}{} & textbf{Trial 1} & textbf{Trial 2} & & \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}The device\ works buggyend{tabular}} & Passed & Passed & 100% & Passed \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}That works\ only to monitor bugsend{tabular}} & Passed & Passed & 100% & Passed \ hline
& & multicolumn{1}{r|}{textbf{Functionality}} & textbf{100%} & textbf{Passed} \ cline{3-5}
end{tabular}
end{table}
end{document}
which would give you:
PS: [off-topic] you having been asked the same class of questions, I think you should also put in a little bit of effort to understand how these things works (the packages in particular) :-)
. Because, this is not a do-it-for-me
site (as @zarko
already emphasised). Atleast, for these type of questions, it would be great if you give a MWE
.
add a comment |
I hope this helps:
documentclass{article}
usepackage{multirow}
begin{document}
begin{table}
begin{tabular}{cc|c|c|c|}
hline
multicolumn{1}{|c|}{multirow{2}{*}{textbf{Criteria}}} & multicolumn{2}{c|}{textbf{Proposed}} & multirow{2}{*}{textbf{Matching rate}} & multirow{2}{*}{textbf{Remarks}} \ cline{2-3}
multicolumn{1}{|c|}{} & textbf{Trial 1} & textbf{Trial 2} & & \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}The device\ works buggyend{tabular}} & Passed & Passed & 100% & Passed \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}That works\ only to monitor bugsend{tabular}} & Passed & Passed & 100% & Passed \ hline
& & multicolumn{1}{r|}{textbf{Functionality}} & textbf{100%} & textbf{Passed} \ cline{3-5}
end{tabular}
end{table}
end{document}
which would give you:
PS: [off-topic] you having been asked the same class of questions, I think you should also put in a little bit of effort to understand how these things works (the packages in particular) :-)
. Because, this is not a do-it-for-me
site (as @zarko
already emphasised). Atleast, for these type of questions, it would be great if you give a MWE
.
I hope this helps:
documentclass{article}
usepackage{multirow}
begin{document}
begin{table}
begin{tabular}{cc|c|c|c|}
hline
multicolumn{1}{|c|}{multirow{2}{*}{textbf{Criteria}}} & multicolumn{2}{c|}{textbf{Proposed}} & multirow{2}{*}{textbf{Matching rate}} & multirow{2}{*}{textbf{Remarks}} \ cline{2-3}
multicolumn{1}{|c|}{} & textbf{Trial 1} & textbf{Trial 2} & & \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}The device\ works buggyend{tabular}} & Passed & Passed & 100% & Passed \ hline
multicolumn{1}{|c|}{begin{tabular}[c]{@{}c@{}}That works\ only to monitor bugsend{tabular}} & Passed & Passed & 100% & Passed \ hline
& & multicolumn{1}{r|}{textbf{Functionality}} & textbf{100%} & textbf{Passed} \ cline{3-5}
end{tabular}
end{table}
end{document}
which would give you:
PS: [off-topic] you having been asked the same class of questions, I think you should also put in a little bit of effort to understand how these things works (the packages in particular) :-)
. Because, this is not a do-it-for-me
site (as @zarko
already emphasised). Atleast, for these type of questions, it would be great if you give a MWE
.
answered Feb 5 at 11:45
RaajaRaaja
3,75521037
3,75521037
add a comment |
add a comment |
used @Raaja answer (+1) as op mwe:
documentclass{article}
usepackage{makecell, multirow}
setcellgapes{3pt}
begin{document}
begin{table}
makegapedcells
begin{tabular}{|c|c|c|c|c|}
hline
multirow{2}{*}{textbf{Criteria}}
& multicolumn{2}{c|}{textbf{Proposed}}
& multirow{2}{*}{textbf{Matching rate}}
& multirow{2}{*}{textbf{Remarks}} \
cline{2-3}
& textbf{Trial 1}
& textbf{Trial 2}
& & \
hline
makecell{The device\ works buggy}
& Passed & Passed & 100% & Passed \
hline
makecell{That works\ only to monitor bugs}
& Passed & Passed & 100% & Passed \
hline
multicolumn{1}{c|}{}
& multicolumn{2}{r|}{textbf{Functionality}}
& textbf{100%} & textbf{Passed} \
cline{2-5}
end{tabular}
end{table}
end{document}
So mine is an intermediate question :-D (yay!!!). Nevertheless, nice alignments per se (+1)
– Raaja
Feb 5 at 11:58
1
@Raaja, you do job of op, which i wasn't willing to do. so, yes, i exploit you (your answer) :-)
– Zarko
Feb 5 at 12:01
I remember that is how I started usingTeX
. So looking back, I always prefer to give a head-up when an OP suffers to compose aMWE
(but not repetitively ofc;-)
). [off-topic] may beyou(r ...)
would be more devastating thanyou (your ...)
:-D
.
– Raaja
Feb 5 at 12:06
add a comment |
used @Raaja answer (+1) as op mwe:
documentclass{article}
usepackage{makecell, multirow}
setcellgapes{3pt}
begin{document}
begin{table}
makegapedcells
begin{tabular}{|c|c|c|c|c|}
hline
multirow{2}{*}{textbf{Criteria}}
& multicolumn{2}{c|}{textbf{Proposed}}
& multirow{2}{*}{textbf{Matching rate}}
& multirow{2}{*}{textbf{Remarks}} \
cline{2-3}
& textbf{Trial 1}
& textbf{Trial 2}
& & \
hline
makecell{The device\ works buggy}
& Passed & Passed & 100% & Passed \
hline
makecell{That works\ only to monitor bugs}
& Passed & Passed & 100% & Passed \
hline
multicolumn{1}{c|}{}
& multicolumn{2}{r|}{textbf{Functionality}}
& textbf{100%} & textbf{Passed} \
cline{2-5}
end{tabular}
end{table}
end{document}
So mine is an intermediate question :-D (yay!!!). Nevertheless, nice alignments per se (+1)
– Raaja
Feb 5 at 11:58
1
@Raaja, you do job of op, which i wasn't willing to do. so, yes, i exploit you (your answer) :-)
– Zarko
Feb 5 at 12:01
I remember that is how I started usingTeX
. So looking back, I always prefer to give a head-up when an OP suffers to compose aMWE
(but not repetitively ofc;-)
). [off-topic] may beyou(r ...)
would be more devastating thanyou (your ...)
:-D
.
– Raaja
Feb 5 at 12:06
add a comment |
used @Raaja answer (+1) as op mwe:
documentclass{article}
usepackage{makecell, multirow}
setcellgapes{3pt}
begin{document}
begin{table}
makegapedcells
begin{tabular}{|c|c|c|c|c|}
hline
multirow{2}{*}{textbf{Criteria}}
& multicolumn{2}{c|}{textbf{Proposed}}
& multirow{2}{*}{textbf{Matching rate}}
& multirow{2}{*}{textbf{Remarks}} \
cline{2-3}
& textbf{Trial 1}
& textbf{Trial 2}
& & \
hline
makecell{The device\ works buggy}
& Passed & Passed & 100% & Passed \
hline
makecell{That works\ only to monitor bugs}
& Passed & Passed & 100% & Passed \
hline
multicolumn{1}{c|}{}
& multicolumn{2}{r|}{textbf{Functionality}}
& textbf{100%} & textbf{Passed} \
cline{2-5}
end{tabular}
end{table}
end{document}
used @Raaja answer (+1) as op mwe:
documentclass{article}
usepackage{makecell, multirow}
setcellgapes{3pt}
begin{document}
begin{table}
makegapedcells
begin{tabular}{|c|c|c|c|c|}
hline
multirow{2}{*}{textbf{Criteria}}
& multicolumn{2}{c|}{textbf{Proposed}}
& multirow{2}{*}{textbf{Matching rate}}
& multirow{2}{*}{textbf{Remarks}} \
cline{2-3}
& textbf{Trial 1}
& textbf{Trial 2}
& & \
hline
makecell{The device\ works buggy}
& Passed & Passed & 100% & Passed \
hline
makecell{That works\ only to monitor bugs}
& Passed & Passed & 100% & Passed \
hline
multicolumn{1}{c|}{}
& multicolumn{2}{r|}{textbf{Functionality}}
& textbf{100%} & textbf{Passed} \
cline{2-5}
end{tabular}
end{table}
end{document}
answered Feb 5 at 11:56
ZarkoZarko
124k866163
124k866163
So mine is an intermediate question :-D (yay!!!). Nevertheless, nice alignments per se (+1)
– Raaja
Feb 5 at 11:58
1
@Raaja, you do job of op, which i wasn't willing to do. so, yes, i exploit you (your answer) :-)
– Zarko
Feb 5 at 12:01
I remember that is how I started usingTeX
. So looking back, I always prefer to give a head-up when an OP suffers to compose aMWE
(but not repetitively ofc;-)
). [off-topic] may beyou(r ...)
would be more devastating thanyou (your ...)
:-D
.
– Raaja
Feb 5 at 12:06
add a comment |
So mine is an intermediate question :-D (yay!!!). Nevertheless, nice alignments per se (+1)
– Raaja
Feb 5 at 11:58
1
@Raaja, you do job of op, which i wasn't willing to do. so, yes, i exploit you (your answer) :-)
– Zarko
Feb 5 at 12:01
I remember that is how I started usingTeX
. So looking back, I always prefer to give a head-up when an OP suffers to compose aMWE
(but not repetitively ofc;-)
). [off-topic] may beyou(r ...)
would be more devastating thanyou (your ...)
:-D
.
– Raaja
Feb 5 at 12:06
So mine is an intermediate question :-D (yay!!!). Nevertheless, nice alignments per se (+1)
– Raaja
Feb 5 at 11:58
So mine is an intermediate question :-D (yay!!!). Nevertheless, nice alignments per se (+1)
– Raaja
Feb 5 at 11:58
1
1
@Raaja, you do job of op, which i wasn't willing to do. so, yes, i exploit you (your answer) :-)
– Zarko
Feb 5 at 12:01
@Raaja, you do job of op, which i wasn't willing to do. so, yes, i exploit you (your answer) :-)
– Zarko
Feb 5 at 12:01
I remember that is how I started using
TeX
. So looking back, I always prefer to give a head-up when an OP suffers to compose a MWE
(but not repetitively ofc;-)
). [off-topic] may be you(r ...)
would be more devastating than you (your ...)
:-D
.– Raaja
Feb 5 at 12:06
I remember that is how I started using
TeX
. So looking back, I always prefer to give a head-up when an OP suffers to compose a MWE
(but not repetitively ofc;-)
). [off-topic] may be you(r ...)
would be more devastating than you (your ...)
:-D
.– Raaja
Feb 5 at 12:06
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%2f473462%2fhow-to-split-one-table-column-into-two-sub-columns-with-merged-header-and-footer%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
you can't split columns, but you can merge cells with
multicolumn{2}{c}{...}
where you need.– Zarko
Feb 5 at 11:44
how can i make that table sir?
– Beginner
Feb 5 at 11:45
no. i will not retype it. just write standard table and than i will help you further or you can wait that someone will do your task instead of you.
– Zarko
Feb 5 at 11:46