IEEE Template. cline error in table. Extra alignment tab has been changed to cr
I had this table working with an IEEETemplate but now when I try to build it with an IET Template I get the error that you can see on the title .. could anybody help me?
Thank very much for your time.
documentclass{cta-author}
usepackage{graphicx}
usepackage{multirow}
usepackage{booktabs}
begin{document}
begin{table}[h!]
centering
renewcommand{arraystretch}{1.2}
begin{tabular}[b]{|p{1cm}|l|c|c|c|c|}
hline
multirow{2}{0.3cm}{textbf{j}}& multicolumn{2}{c|}{textbf{k}} & multicolumn{2}{c|}{textbf{l}}\
cline{2-5}
& textbf{f} & textbf{g} & textbf{h} & textbf{i} \ hline
a & b & c & d & e \ hline
end{tabular}
caption{Example}
end{table}
end{document}
tables
add a comment |
I had this table working with an IEEETemplate but now when I try to build it with an IET Template I get the error that you can see on the title .. could anybody help me?
Thank very much for your time.
documentclass{cta-author}
usepackage{graphicx}
usepackage{multirow}
usepackage{booktabs}
begin{document}
begin{table}[h!]
centering
renewcommand{arraystretch}{1.2}
begin{tabular}[b]{|p{1cm}|l|c|c|c|c|}
hline
multirow{2}{0.3cm}{textbf{j}}& multicolumn{2}{c|}{textbf{k}} & multicolumn{2}{c|}{textbf{l}}\
cline{2-5}
& textbf{f} & textbf{g} & textbf{h} & textbf{i} \ hline
a & b & c & d & e \ hline
end{tabular}
caption{Example}
end{table}
end{document}
tables
Welcome to TeX.SE. It would be helpful if you composed a fully compilable minimal working example (MWE) includingdocumentclassand the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.
– samcarter
Jan 16 at 10:26
2
the class you are using is not generally available, I tried your code with article class and it produced no error, which suggests that the error is in code that you have not shown. Please post an example that produces the error or provide a link to the class if you can not generate the error usingarticleclass
– David Carlisle
Jan 16 at 10:34
2
unrelated but don't use[h!]latex usually warns about that and changes it to[!ht]but[htp]would be better
– David Carlisle
Jan 16 at 10:35
add a comment |
I had this table working with an IEEETemplate but now when I try to build it with an IET Template I get the error that you can see on the title .. could anybody help me?
Thank very much for your time.
documentclass{cta-author}
usepackage{graphicx}
usepackage{multirow}
usepackage{booktabs}
begin{document}
begin{table}[h!]
centering
renewcommand{arraystretch}{1.2}
begin{tabular}[b]{|p{1cm}|l|c|c|c|c|}
hline
multirow{2}{0.3cm}{textbf{j}}& multicolumn{2}{c|}{textbf{k}} & multicolumn{2}{c|}{textbf{l}}\
cline{2-5}
& textbf{f} & textbf{g} & textbf{h} & textbf{i} \ hline
a & b & c & d & e \ hline
end{tabular}
caption{Example}
end{table}
end{document}
tables
I had this table working with an IEEETemplate but now when I try to build it with an IET Template I get the error that you can see on the title .. could anybody help me?
Thank very much for your time.
documentclass{cta-author}
usepackage{graphicx}
usepackage{multirow}
usepackage{booktabs}
begin{document}
begin{table}[h!]
centering
renewcommand{arraystretch}{1.2}
begin{tabular}[b]{|p{1cm}|l|c|c|c|c|}
hline
multirow{2}{0.3cm}{textbf{j}}& multicolumn{2}{c|}{textbf{k}} & multicolumn{2}{c|}{textbf{l}}\
cline{2-5}
& textbf{f} & textbf{g} & textbf{h} & textbf{i} \ hline
a & b & c & d & e \ hline
end{tabular}
caption{Example}
end{table}
end{document}
tables
tables
edited Jan 16 at 10:31
Bernard
168k771195
168k771195
asked Jan 16 at 10:26
M. QuintanaM. Quintana
11
11
Welcome to TeX.SE. It would be helpful if you composed a fully compilable minimal working example (MWE) includingdocumentclassand the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.
– samcarter
Jan 16 at 10:26
2
the class you are using is not generally available, I tried your code with article class and it produced no error, which suggests that the error is in code that you have not shown. Please post an example that produces the error or provide a link to the class if you can not generate the error usingarticleclass
– David Carlisle
Jan 16 at 10:34
2
unrelated but don't use[h!]latex usually warns about that and changes it to[!ht]but[htp]would be better
– David Carlisle
Jan 16 at 10:35
add a comment |
Welcome to TeX.SE. It would be helpful if you composed a fully compilable minimal working example (MWE) includingdocumentclassand the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.
– samcarter
Jan 16 at 10:26
2
the class you are using is not generally available, I tried your code with article class and it produced no error, which suggests that the error is in code that you have not shown. Please post an example that produces the error or provide a link to the class if you can not generate the error usingarticleclass
– David Carlisle
Jan 16 at 10:34
2
unrelated but don't use[h!]latex usually warns about that and changes it to[!ht]but[htp]would be better
– David Carlisle
Jan 16 at 10:35
Welcome to TeX.SE. It would be helpful if you composed a fully compilable minimal working example (MWE) including
documentclass and the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.– samcarter
Jan 16 at 10:26
Welcome to TeX.SE. It would be helpful if you composed a fully compilable minimal working example (MWE) including
documentclass and the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.– samcarter
Jan 16 at 10:26
2
2
the class you are using is not generally available, I tried your code with article class and it produced no error, which suggests that the error is in code that you have not shown. Please post an example that produces the error or provide a link to the class if you can not generate the error using
article class– David Carlisle
Jan 16 at 10:34
the class you are using is not generally available, I tried your code with article class and it produced no error, which suggests that the error is in code that you have not shown. Please post an example that produces the error or provide a link to the class if you can not generate the error using
article class– David Carlisle
Jan 16 at 10:34
2
2
unrelated but don't use
[h!] latex usually warns about that and changes it to [!ht] but [htp] would be better– David Carlisle
Jan 16 at 10:35
unrelated but don't use
[h!] latex usually warns about that and changes it to [!ht] but [htp] would be better– David Carlisle
Jan 16 at 10:35
add a comment |
1 Answer
1
active
oldest
votes
With cmidrule instead of cline:
documentclass{cta-author}
usepackage{graphicx}
usepackage{multirow}
usepackage{booktabs}
setlength{aboverulesep}{-0.2pt}
setlength{belowrulesep}{-0.2pt}
begin{document}
begin{table}[h!]
centering
renewcommand{arraystretch}{1.2}
begin{tabular}[b]{|p{1cm}|l|c|c|c|c|}
hline
multirow{2}{0.3cm}{textbf{j}}& multicolumn{2}{c|}{textbf{k}} & multicolumn{2}{c|}{textbf{l}}\
cmidrule{2-5}
& textbf{f} & textbf{g} & textbf{h} & textbf{i} \ hline
a & b & c & d & e \ hline
end{tabular}
caption{Example}
end{table}
end{document}

Perfect cmidrule works, thank you very much!
– M. Quintana
Jan 16 at 11:02
@Zarko try it withcline, it does not work!
– user177954
Jan 16 at 12:14
@Zarko If you did not test, please don't make such claims. Why would you think I'm doing such a complicate workaround?
– user177954
Jan 16 at 14:45
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%2f470358%2fieee-template-cline-error-in-table-extra-alignment-tab-has-been-changed-to-c%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
With cmidrule instead of cline:
documentclass{cta-author}
usepackage{graphicx}
usepackage{multirow}
usepackage{booktabs}
setlength{aboverulesep}{-0.2pt}
setlength{belowrulesep}{-0.2pt}
begin{document}
begin{table}[h!]
centering
renewcommand{arraystretch}{1.2}
begin{tabular}[b]{|p{1cm}|l|c|c|c|c|}
hline
multirow{2}{0.3cm}{textbf{j}}& multicolumn{2}{c|}{textbf{k}} & multicolumn{2}{c|}{textbf{l}}\
cmidrule{2-5}
& textbf{f} & textbf{g} & textbf{h} & textbf{i} \ hline
a & b & c & d & e \ hline
end{tabular}
caption{Example}
end{table}
end{document}

Perfect cmidrule works, thank you very much!
– M. Quintana
Jan 16 at 11:02
@Zarko try it withcline, it does not work!
– user177954
Jan 16 at 12:14
@Zarko If you did not test, please don't make such claims. Why would you think I'm doing such a complicate workaround?
– user177954
Jan 16 at 14:45
add a comment |
With cmidrule instead of cline:
documentclass{cta-author}
usepackage{graphicx}
usepackage{multirow}
usepackage{booktabs}
setlength{aboverulesep}{-0.2pt}
setlength{belowrulesep}{-0.2pt}
begin{document}
begin{table}[h!]
centering
renewcommand{arraystretch}{1.2}
begin{tabular}[b]{|p{1cm}|l|c|c|c|c|}
hline
multirow{2}{0.3cm}{textbf{j}}& multicolumn{2}{c|}{textbf{k}} & multicolumn{2}{c|}{textbf{l}}\
cmidrule{2-5}
& textbf{f} & textbf{g} & textbf{h} & textbf{i} \ hline
a & b & c & d & e \ hline
end{tabular}
caption{Example}
end{table}
end{document}

Perfect cmidrule works, thank you very much!
– M. Quintana
Jan 16 at 11:02
@Zarko try it withcline, it does not work!
– user177954
Jan 16 at 12:14
@Zarko If you did not test, please don't make such claims. Why would you think I'm doing such a complicate workaround?
– user177954
Jan 16 at 14:45
add a comment |
With cmidrule instead of cline:
documentclass{cta-author}
usepackage{graphicx}
usepackage{multirow}
usepackage{booktabs}
setlength{aboverulesep}{-0.2pt}
setlength{belowrulesep}{-0.2pt}
begin{document}
begin{table}[h!]
centering
renewcommand{arraystretch}{1.2}
begin{tabular}[b]{|p{1cm}|l|c|c|c|c|}
hline
multirow{2}{0.3cm}{textbf{j}}& multicolumn{2}{c|}{textbf{k}} & multicolumn{2}{c|}{textbf{l}}\
cmidrule{2-5}
& textbf{f} & textbf{g} & textbf{h} & textbf{i} \ hline
a & b & c & d & e \ hline
end{tabular}
caption{Example}
end{table}
end{document}

With cmidrule instead of cline:
documentclass{cta-author}
usepackage{graphicx}
usepackage{multirow}
usepackage{booktabs}
setlength{aboverulesep}{-0.2pt}
setlength{belowrulesep}{-0.2pt}
begin{document}
begin{table}[h!]
centering
renewcommand{arraystretch}{1.2}
begin{tabular}[b]{|p{1cm}|l|c|c|c|c|}
hline
multirow{2}{0.3cm}{textbf{j}}& multicolumn{2}{c|}{textbf{k}} & multicolumn{2}{c|}{textbf{l}}\
cmidrule{2-5}
& textbf{f} & textbf{g} & textbf{h} & textbf{i} \ hline
a & b & c & d & e \ hline
end{tabular}
caption{Example}
end{table}
end{document}

answered Jan 16 at 10:41
user177954user177954
2508
2508
Perfect cmidrule works, thank you very much!
– M. Quintana
Jan 16 at 11:02
@Zarko try it withcline, it does not work!
– user177954
Jan 16 at 12:14
@Zarko If you did not test, please don't make such claims. Why would you think I'm doing such a complicate workaround?
– user177954
Jan 16 at 14:45
add a comment |
Perfect cmidrule works, thank you very much!
– M. Quintana
Jan 16 at 11:02
@Zarko try it withcline, it does not work!
– user177954
Jan 16 at 12:14
@Zarko If you did not test, please don't make such claims. Why would you think I'm doing such a complicate workaround?
– user177954
Jan 16 at 14:45
Perfect cmidrule works, thank you very much!
– M. Quintana
Jan 16 at 11:02
Perfect cmidrule works, thank you very much!
– M. Quintana
Jan 16 at 11:02
@Zarko try it with
cline, it does not work!– user177954
Jan 16 at 12:14
@Zarko try it with
cline, it does not work!– user177954
Jan 16 at 12:14
@Zarko If you did not test, please don't make such claims. Why would you think I'm doing such a complicate workaround?
– user177954
Jan 16 at 14:45
@Zarko If you did not test, please don't make such claims. Why would you think I'm doing such a complicate workaround?
– user177954
Jan 16 at 14:45
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%2f470358%2fieee-template-cline-error-in-table-extra-alignment-tab-has-been-changed-to-c%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
Welcome to TeX.SE. It would be helpful if you composed a fully compilable minimal working example (MWE) including
documentclassand the appropriate packages that sets up the problem. While solving problems can be fun, setting them up is not. Then, those trying to help can simply cut and paste your MWE and get started on solving the problem.– samcarter
Jan 16 at 10:26
2
the class you are using is not generally available, I tried your code with article class and it produced no error, which suggests that the error is in code that you have not shown. Please post an example that produces the error or provide a link to the class if you can not generate the error using
articleclass– David Carlisle
Jan 16 at 10:34
2
unrelated but don't use
[h!]latex usually warns about that and changes it to[!ht]but[htp]would be better– David Carlisle
Jan 16 at 10:35