LaTeX gives error undefined control sequence table Announcing the arrival of Valued Associate...
Sci-Fi book where patients in a coma ward all live in a subconscious world linked together
Is the Standard Deduction better than Itemized when both are the same amount?
Generate an RGB colour grid
Identify plant with long narrow paired leaves and reddish stems
What does the "x" in "x86" represent?
How does debian/ubuntu knows a package has a updated version
Do I really need recursive chmod to restrict access to a folder?
What causes the vertical darker bands in my photo?
Why do we bend a book to keep it straight?
3 doors, three guards, one stone
A coin, having probability p of landing heads and probability of q=(1-p) of landing on heads.
Why am I getting the error "non-boolean type specified in a context where a condition is expected" for this request?
What is the logic behind the Maharil's explanation of why we don't say שעשה ניסים on Pesach?
Single word antonym of "flightless"
Dating a Former Employee
Extract all GPU name, model and GPU ram
2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?
How to align text above triangle figure
How do pianists reach extremely loud dynamics?
How do I stop a creek from eroding my steep embankment?
51k Euros annually for a family of 4 in Berlin: Is it enough?
How to call a function with default parameter through a pointer to function that is the return of another function?
Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?
What does an IRS interview request entail when called in to verify expenses for a sole proprietor small business?
LaTeX gives error undefined control sequence table
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Align columns correctly in multicolumn environmentError “Undefined control sequence”'Undefined control sequence' error when typesetting tableNew editor and undefined control sequence errorLatex table error, Forbidden control sequenceI'm getting the error “Undefined control sequence”?'Undefined control sequence' error tabular tabitemLaTeX table undefined control sequenceundefined control sequence. bstctlcitetable error: undefined control sequenceundefined control sequence apacite
documentclass[journal]{IEEEtran}
hyphenation{Smart Grid}
usepackage[classicReIm]{kpfonts}
usepackage{siunitx,booktabs}
usepackage{subfloat}
usepackage{subcaption}
usepackage{graphicx}
usepackage{color} %for colors
usepackage{epstopdf}
usepackage{url}
usepackage{hhline}%%%
usepackage{float} %for fix the image position
%usepackage[]{algorithm2e}
usepackage{amsmath} %% for case bracket
%usepackage{url}
usepackage{multirow} % for devide row
usepackage{caption}
%usepackage{subcaption} % forr subfigures
usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
usepackage{cleveref}
usepackage{amsmath}
pagenumbering{gobble} %%% for without page numbers
usepackage{float}
%usepackage{algorithm}
usepackage{array}
usepackage{pdflscape}
usepackage[classicReIm]{kpfonts}
begin{document}
begin{table}[H]
centering small
tablesize{footnotesize}
caption{Comprehension of recent and relevant work.} label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}}
toprule
centering{bf Methodologies } & centering{bf Features}¢ering{bf Targets Achieved}&bf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
midrule Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
midrule GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \ bottomrule
end{tabular}
end{table}
end{document}
tables ieeetran
add a comment |
documentclass[journal]{IEEEtran}
hyphenation{Smart Grid}
usepackage[classicReIm]{kpfonts}
usepackage{siunitx,booktabs}
usepackage{subfloat}
usepackage{subcaption}
usepackage{graphicx}
usepackage{color} %for colors
usepackage{epstopdf}
usepackage{url}
usepackage{hhline}%%%
usepackage{float} %for fix the image position
%usepackage[]{algorithm2e}
usepackage{amsmath} %% for case bracket
%usepackage{url}
usepackage{multirow} % for devide row
usepackage{caption}
%usepackage{subcaption} % forr subfigures
usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
usepackage{cleveref}
usepackage{amsmath}
pagenumbering{gobble} %%% for without page numbers
usepackage{float}
%usepackage{algorithm}
usepackage{array}
usepackage{pdflscape}
usepackage[classicReIm]{kpfonts}
begin{document}
begin{table}[H]
centering small
tablesize{footnotesize}
caption{Comprehension of recent and relevant work.} label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}}
toprule
centering{bf Methodologies } & centering{bf Features}¢ering{bf Targets Achieved}&bf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
midrule Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
midrule GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \ bottomrule
end{tabular}
end{table}
end{document}
tables ieeetran
1
Off-topic: When using theIEEEtran
document class, employing thecaption
andsubcaption
packages is not recommended. Depending on the options with whichcaption
is loaded, you may experience some serious conflicts and may not be able to compile your document successfully.
– Mico
19 hours ago
add a comment |
documentclass[journal]{IEEEtran}
hyphenation{Smart Grid}
usepackage[classicReIm]{kpfonts}
usepackage{siunitx,booktabs}
usepackage{subfloat}
usepackage{subcaption}
usepackage{graphicx}
usepackage{color} %for colors
usepackage{epstopdf}
usepackage{url}
usepackage{hhline}%%%
usepackage{float} %for fix the image position
%usepackage[]{algorithm2e}
usepackage{amsmath} %% for case bracket
%usepackage{url}
usepackage{multirow} % for devide row
usepackage{caption}
%usepackage{subcaption} % forr subfigures
usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
usepackage{cleveref}
usepackage{amsmath}
pagenumbering{gobble} %%% for without page numbers
usepackage{float}
%usepackage{algorithm}
usepackage{array}
usepackage{pdflscape}
usepackage[classicReIm]{kpfonts}
begin{document}
begin{table}[H]
centering small
tablesize{footnotesize}
caption{Comprehension of recent and relevant work.} label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}}
toprule
centering{bf Methodologies } & centering{bf Features}¢ering{bf Targets Achieved}&bf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
midrule Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
midrule GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \ bottomrule
end{tabular}
end{table}
end{document}
tables ieeetran
documentclass[journal]{IEEEtran}
hyphenation{Smart Grid}
usepackage[classicReIm]{kpfonts}
usepackage{siunitx,booktabs}
usepackage{subfloat}
usepackage{subcaption}
usepackage{graphicx}
usepackage{color} %for colors
usepackage{epstopdf}
usepackage{url}
usepackage{hhline}%%%
usepackage{float} %for fix the image position
%usepackage[]{algorithm2e}
usepackage{amsmath} %% for case bracket
%usepackage{url}
usepackage{multirow} % for devide row
usepackage{caption}
%usepackage{subcaption} % forr subfigures
usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
usepackage{cleveref}
usepackage{amsmath}
pagenumbering{gobble} %%% for without page numbers
usepackage{float}
%usepackage{algorithm}
usepackage{array}
usepackage{pdflscape}
usepackage[classicReIm]{kpfonts}
begin{document}
begin{table}[H]
centering small
tablesize{footnotesize}
caption{Comprehension of recent and relevant work.} label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}}
toprule
centering{bf Methodologies } & centering{bf Features}¢ering{bf Targets Achieved}&bf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
midrule Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
midrule GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \ bottomrule
end{tabular}
end{table}
end{document}
tables ieeetran
tables ieeetran
edited 18 hours ago
Kurt
41.4k950164
41.4k950164
asked 21 hours ago
Ghulam HafeezGhulam Hafeez
614
614
1
Off-topic: When using theIEEEtran
document class, employing thecaption
andsubcaption
packages is not recommended. Depending on the options with whichcaption
is loaded, you may experience some serious conflicts and may not be able to compile your document successfully.
– Mico
19 hours ago
add a comment |
1
Off-topic: When using theIEEEtran
document class, employing thecaption
andsubcaption
packages is not recommended. Depending on the options with whichcaption
is loaded, you may experience some serious conflicts and may not be able to compile your document successfully.
– Mico
19 hours ago
1
1
Off-topic: When using the
IEEEtran
document class, employing the caption
and subcaption
packages is not recommended. Depending on the options with which caption
is loaded, you may experience some serious conflicts and may not be able to compile your document successfully.– Mico
19 hours ago
Off-topic: When using the
IEEEtran
document class, employing the caption
and subcaption
packages is not recommended. Depending on the options with which caption
is loaded, you may experience some serious conflicts and may not be able to compile your document successfully.– Mico
19 hours ago
add a comment |
3 Answers
3
active
oldest
votes
You have a lot of issues in your shown code.
- Do you really need all the packages you are loading?
- You load several packages twice, do not do this!
- Have a closer look at the order of calling packages. In your case package
cleveref
should be called last. If you want to usehyperref
too load it beforecleveref
! - For the problem with your table the used font is not relevant (I commented it).
- The definition for
C
you used in your table is missing. Because you loadarray
I thinknewcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
is what you are using but you had not copied into your code. If you usep{#1}
instead of mym{#1}
please check the added screenshot below for differences! - I did a little bit pretty printing with your table so the reader can faster locate a special cell in the table.
- I commented all not needed packages you used in your code for the issue with the table. Please check the different order of loading packages!
Please see that
centering
is not working with your used class inside environmenttable
. To visualize this I added packageshowframe
. It shows typing area and margins ... The reason is that classIEEEtran
uses a two-column-layout. Then environmenttable
has to fit into one column, but your used table exceeds the possiblecolumnwidth
. To get rid of this use environmenttable*
instead. It spans both columns ...I commented
tablesize{footnotesize}
because it throws the error messagecomand tablesize undefined
.- Your used command
bf
is outdated, in your case you can usetextbf{...}
instead (as I did in the following code). An alternative would be to changebf
tobfseries
. - Because you gave us no
bib
file I simply commented your citing of books etc. in the table (cite
) ...
With the following code
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
usepackage{caption}
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
end{document}
you get the result:
or better for showing the issue with environment table
with filled columns in document:
With using the following code for the table (I used package blindtext
to generate dummy text to fill the columns) with environment table*
:
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
you get the following result:
The complete code is with both tables (see the better label for the tables with label{tab:<name>}
):
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
%usepackage{caption} % unsupported in IEEEtran!
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
usepackage{blindtext}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
bf Methodologies
& bf Features
& bf Targets Achieved
& bf{Limitations and Remarks} \
midrule
bfseries Methodologies
& bfseries Features
& bfseries Targets Achieved
& bfseries{Limitations and Remarks} \
midrule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
Blindtext
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
end{document}
@Mico I added it, thanks!
– Kurt
11 hours ago
add a comment |
Your code has some serious issues. The fact that the C
column type isn't defined is not even the most serious issue.
The
IEEEtran
document class employs a two-column layout by default. You need to employ atable*
environment instead of atable
environment, so that the tabular material may safely span both columns.Since the
table*
environment spans both columns, you might as well make use of this fact and employ atabularx
environment instead of atabular
environment. I suggest you use the basicl
column type for the left-hand column and theX
column type for the next three columns.The
caption
andsubcaption
packages are known not be compatible with theIEEEtran
document class. Don't load these packages. Instead, just rely on the caption formatting algorithms provided by theIEEEtran
document class.Do give the tabular material a more open "look", mainly by using fewer horizontal rules. Also, don't over-use bold-facing. For sure, for the table at hand, using bold-facing for the header cells risks coming across as tacky, maybe even a bit vulgar.
As @Kurt has already pointed out in his answer, don't load packages multiple times. In fact, do ask yourself if you really need all the packages you currently load. The code below loads only those packages that are required to make the table compilable.
documentclass[journal]{IEEEtran}
usepackage[classicReIm]{kpfonts}
usepackage{booktabs,tabularx,lipsum}
begin{document}
begin{table*}
caption{Summary of recent and relevant work.} label{litrature}
begin{tabularx}{textwidth}{@{}lXXX@{}}
toprule
Methodologies & Features & Targets Achieved & Limitations and Remarks \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
addlinespace %midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
addlinespace %midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabularx}
end{table*}
lipsum[1-30] % filler text
end{document}
add a comment |
You need to define the C
column. I took the definition from here.
documentclass[journal]{IEEEtran}
usepackage{siunitx,booktabs}
usepackage{float} %for fix the image position
usepackage{amsmath} %% for case bracket
pagenumbering{gobble} %%% for without page numbers
usepackage{float}
usepackage{array}
usepackage[classicReIm]{kpfonts}
% from https://tex.stackexchange.com/a/175138/121799
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
centering small
caption{Comprehension of recent and relevant work.} label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}}
toprule
textbf{Methodologies } & textbf{Features}&textbf{Targets Achieved}&bf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \ bottomrule
end{tabular}
end{table}
end{document}
The fact that the caption is not centered over the table should be a give-away that the document class employs two-column mode. Hence, do please inform the OP that he/she should be using atable*
environment, to let the material span both columns.
– Mico
19 hours ago
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%2f485076%2flatex-gives-error-undefined-control-sequence-table%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have a lot of issues in your shown code.
- Do you really need all the packages you are loading?
- You load several packages twice, do not do this!
- Have a closer look at the order of calling packages. In your case package
cleveref
should be called last. If you want to usehyperref
too load it beforecleveref
! - For the problem with your table the used font is not relevant (I commented it).
- The definition for
C
you used in your table is missing. Because you loadarray
I thinknewcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
is what you are using but you had not copied into your code. If you usep{#1}
instead of mym{#1}
please check the added screenshot below for differences! - I did a little bit pretty printing with your table so the reader can faster locate a special cell in the table.
- I commented all not needed packages you used in your code for the issue with the table. Please check the different order of loading packages!
Please see that
centering
is not working with your used class inside environmenttable
. To visualize this I added packageshowframe
. It shows typing area and margins ... The reason is that classIEEEtran
uses a two-column-layout. Then environmenttable
has to fit into one column, but your used table exceeds the possiblecolumnwidth
. To get rid of this use environmenttable*
instead. It spans both columns ...I commented
tablesize{footnotesize}
because it throws the error messagecomand tablesize undefined
.- Your used command
bf
is outdated, in your case you can usetextbf{...}
instead (as I did in the following code). An alternative would be to changebf
tobfseries
. - Because you gave us no
bib
file I simply commented your citing of books etc. in the table (cite
) ...
With the following code
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
usepackage{caption}
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
end{document}
you get the result:
or better for showing the issue with environment table
with filled columns in document:
With using the following code for the table (I used package blindtext
to generate dummy text to fill the columns) with environment table*
:
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
you get the following result:
The complete code is with both tables (see the better label for the tables with label{tab:<name>}
):
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
%usepackage{caption} % unsupported in IEEEtran!
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
usepackage{blindtext}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
bf Methodologies
& bf Features
& bf Targets Achieved
& bf{Limitations and Remarks} \
midrule
bfseries Methodologies
& bfseries Features
& bfseries Targets Achieved
& bfseries{Limitations and Remarks} \
midrule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
Blindtext
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
end{document}
@Mico I added it, thanks!
– Kurt
11 hours ago
add a comment |
You have a lot of issues in your shown code.
- Do you really need all the packages you are loading?
- You load several packages twice, do not do this!
- Have a closer look at the order of calling packages. In your case package
cleveref
should be called last. If you want to usehyperref
too load it beforecleveref
! - For the problem with your table the used font is not relevant (I commented it).
- The definition for
C
you used in your table is missing. Because you loadarray
I thinknewcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
is what you are using but you had not copied into your code. If you usep{#1}
instead of mym{#1}
please check the added screenshot below for differences! - I did a little bit pretty printing with your table so the reader can faster locate a special cell in the table.
- I commented all not needed packages you used in your code for the issue with the table. Please check the different order of loading packages!
Please see that
centering
is not working with your used class inside environmenttable
. To visualize this I added packageshowframe
. It shows typing area and margins ... The reason is that classIEEEtran
uses a two-column-layout. Then environmenttable
has to fit into one column, but your used table exceeds the possiblecolumnwidth
. To get rid of this use environmenttable*
instead. It spans both columns ...I commented
tablesize{footnotesize}
because it throws the error messagecomand tablesize undefined
.- Your used command
bf
is outdated, in your case you can usetextbf{...}
instead (as I did in the following code). An alternative would be to changebf
tobfseries
. - Because you gave us no
bib
file I simply commented your citing of books etc. in the table (cite
) ...
With the following code
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
usepackage{caption}
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
end{document}
you get the result:
or better for showing the issue with environment table
with filled columns in document:
With using the following code for the table (I used package blindtext
to generate dummy text to fill the columns) with environment table*
:
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
you get the following result:
The complete code is with both tables (see the better label for the tables with label{tab:<name>}
):
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
%usepackage{caption} % unsupported in IEEEtran!
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
usepackage{blindtext}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
bf Methodologies
& bf Features
& bf Targets Achieved
& bf{Limitations and Remarks} \
midrule
bfseries Methodologies
& bfseries Features
& bfseries Targets Achieved
& bfseries{Limitations and Remarks} \
midrule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
Blindtext
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
end{document}
@Mico I added it, thanks!
– Kurt
11 hours ago
add a comment |
You have a lot of issues in your shown code.
- Do you really need all the packages you are loading?
- You load several packages twice, do not do this!
- Have a closer look at the order of calling packages. In your case package
cleveref
should be called last. If you want to usehyperref
too load it beforecleveref
! - For the problem with your table the used font is not relevant (I commented it).
- The definition for
C
you used in your table is missing. Because you loadarray
I thinknewcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
is what you are using but you had not copied into your code. If you usep{#1}
instead of mym{#1}
please check the added screenshot below for differences! - I did a little bit pretty printing with your table so the reader can faster locate a special cell in the table.
- I commented all not needed packages you used in your code for the issue with the table. Please check the different order of loading packages!
Please see that
centering
is not working with your used class inside environmenttable
. To visualize this I added packageshowframe
. It shows typing area and margins ... The reason is that classIEEEtran
uses a two-column-layout. Then environmenttable
has to fit into one column, but your used table exceeds the possiblecolumnwidth
. To get rid of this use environmenttable*
instead. It spans both columns ...I commented
tablesize{footnotesize}
because it throws the error messagecomand tablesize undefined
.- Your used command
bf
is outdated, in your case you can usetextbf{...}
instead (as I did in the following code). An alternative would be to changebf
tobfseries
. - Because you gave us no
bib
file I simply commented your citing of books etc. in the table (cite
) ...
With the following code
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
usepackage{caption}
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
end{document}
you get the result:
or better for showing the issue with environment table
with filled columns in document:
With using the following code for the table (I used package blindtext
to generate dummy text to fill the columns) with environment table*
:
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
you get the following result:
The complete code is with both tables (see the better label for the tables with label{tab:<name>}
):
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
%usepackage{caption} % unsupported in IEEEtran!
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
usepackage{blindtext}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
bf Methodologies
& bf Features
& bf Targets Achieved
& bf{Limitations and Remarks} \
midrule
bfseries Methodologies
& bfseries Features
& bfseries Targets Achieved
& bfseries{Limitations and Remarks} \
midrule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
Blindtext
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
end{document}
You have a lot of issues in your shown code.
- Do you really need all the packages you are loading?
- You load several packages twice, do not do this!
- Have a closer look at the order of calling packages. In your case package
cleveref
should be called last. If you want to usehyperref
too load it beforecleveref
! - For the problem with your table the used font is not relevant (I commented it).
- The definition for
C
you used in your table is missing. Because you loadarray
I thinknewcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
is what you are using but you had not copied into your code. If you usep{#1}
instead of mym{#1}
please check the added screenshot below for differences! - I did a little bit pretty printing with your table so the reader can faster locate a special cell in the table.
- I commented all not needed packages you used in your code for the issue with the table. Please check the different order of loading packages!
Please see that
centering
is not working with your used class inside environmenttable
. To visualize this I added packageshowframe
. It shows typing area and margins ... The reason is that classIEEEtran
uses a two-column-layout. Then environmenttable
has to fit into one column, but your used table exceeds the possiblecolumnwidth
. To get rid of this use environmenttable*
instead. It spans both columns ...I commented
tablesize{footnotesize}
because it throws the error messagecomand tablesize undefined
.- Your used command
bf
is outdated, in your case you can usetextbf{...}
instead (as I did in the following code). An alternative would be to changebf
tobfseries
. - Because you gave us no
bib
file I simply commented your citing of books etc. in the table (cite
) ...
With the following code
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
usepackage{caption}
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
end{document}
you get the result:
or better for showing the issue with environment table
with filled columns in document:
With using the following code for the table (I used package blindtext
to generate dummy text to fill the columns) with environment table*
:
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
you get the following result:
The complete code is with both tables (see the better label for the tables with label{tab:<name>}
):
documentclass[journal]{IEEEtran}
%usepackage[classicReIm]{kpfonts}
%usepackage{siunitx}
usepackage{booktabs}
usepackage{float} % for fix the image position
%usepackage{subfloat}
%usepackage{caption} % unsupported in IEEEtran!
%usepackage{subcaption} % for subfigures
%usepackage{graphicx}
%usepackage{color} % for colors
%usepackage{epstopdf}
%usepackage{url}
%usepackage{hhline}%%%
%usepackage[]{algorithm2e}
%usepackage{amsmath} % for case bracket
%usepackage{multirow} % for devide row
%usepackage{multicol}
%usepackage{subfig}
%usepackage{cite}
%usepackage{algorithm}
usepackage{array}
%usepackage{pdflscape}
usepackage{showframe}
usepackage{blindtext}
%usepackage{cleveref} % <===============================================
hyphenation{Smart Grid}
pagenumbering{gobble} %%% for without page numbers
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
% centering
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
bf Methodologies
& bf Features
& bf Targets Achieved
& bf{Limitations and Remarks} \
midrule
bfseries Methodologies
& bfseries Features
& bfseries Targets Achieved
& bfseries{Limitations and Remarks} \
midrule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table}
Blindtext
blindtext
begin{table*}
centering % <========================================================
small
%tablesize{footnotesize} % <==========================================
caption{Comprehension of recent and relevant work.}
label{tab:litraturea}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}} % C
toprule
textbf{Methodologies}
& textbf{Features}
& textbf{Targets Achieved}
& textbf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP
& Optimal domestic load scheduling %cite{35}
& Electricity cost reduction
& The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm
& Heuristic optimization of generic cost model %cite{6}
& Reduced user frustration and electricity cost
& The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP
& GWO applied to economic load dispatch problems %cite{3}
& Load dispatching in off-peak hours
& Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabular}
end{table*}
Blindtext
end{document}
edited 11 hours ago
answered 19 hours ago
KurtKurt
41.4k950164
41.4k950164
@Mico I added it, thanks!
– Kurt
11 hours ago
add a comment |
@Mico I added it, thanks!
– Kurt
11 hours ago
@Mico I added it, thanks!
– Kurt
11 hours ago
@Mico I added it, thanks!
– Kurt
11 hours ago
add a comment |
Your code has some serious issues. The fact that the C
column type isn't defined is not even the most serious issue.
The
IEEEtran
document class employs a two-column layout by default. You need to employ atable*
environment instead of atable
environment, so that the tabular material may safely span both columns.Since the
table*
environment spans both columns, you might as well make use of this fact and employ atabularx
environment instead of atabular
environment. I suggest you use the basicl
column type for the left-hand column and theX
column type for the next three columns.The
caption
andsubcaption
packages are known not be compatible with theIEEEtran
document class. Don't load these packages. Instead, just rely on the caption formatting algorithms provided by theIEEEtran
document class.Do give the tabular material a more open "look", mainly by using fewer horizontal rules. Also, don't over-use bold-facing. For sure, for the table at hand, using bold-facing for the header cells risks coming across as tacky, maybe even a bit vulgar.
As @Kurt has already pointed out in his answer, don't load packages multiple times. In fact, do ask yourself if you really need all the packages you currently load. The code below loads only those packages that are required to make the table compilable.
documentclass[journal]{IEEEtran}
usepackage[classicReIm]{kpfonts}
usepackage{booktabs,tabularx,lipsum}
begin{document}
begin{table*}
caption{Summary of recent and relevant work.} label{litrature}
begin{tabularx}{textwidth}{@{}lXXX@{}}
toprule
Methodologies & Features & Targets Achieved & Limitations and Remarks \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
addlinespace %midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
addlinespace %midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabularx}
end{table*}
lipsum[1-30] % filler text
end{document}
add a comment |
Your code has some serious issues. The fact that the C
column type isn't defined is not even the most serious issue.
The
IEEEtran
document class employs a two-column layout by default. You need to employ atable*
environment instead of atable
environment, so that the tabular material may safely span both columns.Since the
table*
environment spans both columns, you might as well make use of this fact and employ atabularx
environment instead of atabular
environment. I suggest you use the basicl
column type for the left-hand column and theX
column type for the next three columns.The
caption
andsubcaption
packages are known not be compatible with theIEEEtran
document class. Don't load these packages. Instead, just rely on the caption formatting algorithms provided by theIEEEtran
document class.Do give the tabular material a more open "look", mainly by using fewer horizontal rules. Also, don't over-use bold-facing. For sure, for the table at hand, using bold-facing for the header cells risks coming across as tacky, maybe even a bit vulgar.
As @Kurt has already pointed out in his answer, don't load packages multiple times. In fact, do ask yourself if you really need all the packages you currently load. The code below loads only those packages that are required to make the table compilable.
documentclass[journal]{IEEEtran}
usepackage[classicReIm]{kpfonts}
usepackage{booktabs,tabularx,lipsum}
begin{document}
begin{table*}
caption{Summary of recent and relevant work.} label{litrature}
begin{tabularx}{textwidth}{@{}lXXX@{}}
toprule
Methodologies & Features & Targets Achieved & Limitations and Remarks \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
addlinespace %midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
addlinespace %midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabularx}
end{table*}
lipsum[1-30] % filler text
end{document}
add a comment |
Your code has some serious issues. The fact that the C
column type isn't defined is not even the most serious issue.
The
IEEEtran
document class employs a two-column layout by default. You need to employ atable*
environment instead of atable
environment, so that the tabular material may safely span both columns.Since the
table*
environment spans both columns, you might as well make use of this fact and employ atabularx
environment instead of atabular
environment. I suggest you use the basicl
column type for the left-hand column and theX
column type for the next three columns.The
caption
andsubcaption
packages are known not be compatible with theIEEEtran
document class. Don't load these packages. Instead, just rely on the caption formatting algorithms provided by theIEEEtran
document class.Do give the tabular material a more open "look", mainly by using fewer horizontal rules. Also, don't over-use bold-facing. For sure, for the table at hand, using bold-facing for the header cells risks coming across as tacky, maybe even a bit vulgar.
As @Kurt has already pointed out in his answer, don't load packages multiple times. In fact, do ask yourself if you really need all the packages you currently load. The code below loads only those packages that are required to make the table compilable.
documentclass[journal]{IEEEtran}
usepackage[classicReIm]{kpfonts}
usepackage{booktabs,tabularx,lipsum}
begin{document}
begin{table*}
caption{Summary of recent and relevant work.} label{litrature}
begin{tabularx}{textwidth}{@{}lXXX@{}}
toprule
Methodologies & Features & Targets Achieved & Limitations and Remarks \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
addlinespace %midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
addlinespace %midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabularx}
end{table*}
lipsum[1-30] % filler text
end{document}
Your code has some serious issues. The fact that the C
column type isn't defined is not even the most serious issue.
The
IEEEtran
document class employs a two-column layout by default. You need to employ atable*
environment instead of atable
environment, so that the tabular material may safely span both columns.Since the
table*
environment spans both columns, you might as well make use of this fact and employ atabularx
environment instead of atabular
environment. I suggest you use the basicl
column type for the left-hand column and theX
column type for the next three columns.The
caption
andsubcaption
packages are known not be compatible with theIEEEtran
document class. Don't load these packages. Instead, just rely on the caption formatting algorithms provided by theIEEEtran
document class.Do give the tabular material a more open "look", mainly by using fewer horizontal rules. Also, don't over-use bold-facing. For sure, for the table at hand, using bold-facing for the header cells risks coming across as tacky, maybe even a bit vulgar.
As @Kurt has already pointed out in his answer, don't load packages multiple times. In fact, do ask yourself if you really need all the packages you currently load. The code below loads only those packages that are required to make the table compilable.
documentclass[journal]{IEEEtran}
usepackage[classicReIm]{kpfonts}
usepackage{booktabs,tabularx,lipsum}
begin{document}
begin{table*}
caption{Summary of recent and relevant work.} label{litrature}
begin{tabularx}{textwidth}{@{}lXXX@{}}
toprule
Methodologies & Features & Targets Achieved & Limitations and Remarks \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
addlinespace %midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
addlinespace %midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \
bottomrule
end{tabularx}
end{table*}
lipsum[1-30] % filler text
end{document}
answered 19 hours ago
MicoMico
287k32392781
287k32392781
add a comment |
add a comment |
You need to define the C
column. I took the definition from here.
documentclass[journal]{IEEEtran}
usepackage{siunitx,booktabs}
usepackage{float} %for fix the image position
usepackage{amsmath} %% for case bracket
pagenumbering{gobble} %%% for without page numbers
usepackage{float}
usepackage{array}
usepackage[classicReIm]{kpfonts}
% from https://tex.stackexchange.com/a/175138/121799
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
centering small
caption{Comprehension of recent and relevant work.} label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}}
toprule
textbf{Methodologies } & textbf{Features}&textbf{Targets Achieved}&bf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \ bottomrule
end{tabular}
end{table}
end{document}
The fact that the caption is not centered over the table should be a give-away that the document class employs two-column mode. Hence, do please inform the OP that he/she should be using atable*
environment, to let the material span both columns.
– Mico
19 hours ago
add a comment |
You need to define the C
column. I took the definition from here.
documentclass[journal]{IEEEtran}
usepackage{siunitx,booktabs}
usepackage{float} %for fix the image position
usepackage{amsmath} %% for case bracket
pagenumbering{gobble} %%% for without page numbers
usepackage{float}
usepackage{array}
usepackage[classicReIm]{kpfonts}
% from https://tex.stackexchange.com/a/175138/121799
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
centering small
caption{Comprehension of recent and relevant work.} label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}}
toprule
textbf{Methodologies } & textbf{Features}&textbf{Targets Achieved}&bf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \ bottomrule
end{tabular}
end{table}
end{document}
The fact that the caption is not centered over the table should be a give-away that the document class employs two-column mode. Hence, do please inform the OP that he/she should be using atable*
environment, to let the material span both columns.
– Mico
19 hours ago
add a comment |
You need to define the C
column. I took the definition from here.
documentclass[journal]{IEEEtran}
usepackage{siunitx,booktabs}
usepackage{float} %for fix the image position
usepackage{amsmath} %% for case bracket
pagenumbering{gobble} %%% for without page numbers
usepackage{float}
usepackage{array}
usepackage[classicReIm]{kpfonts}
% from https://tex.stackexchange.com/a/175138/121799
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
centering small
caption{Comprehension of recent and relevant work.} label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}}
toprule
textbf{Methodologies } & textbf{Features}&textbf{Targets Achieved}&bf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \ bottomrule
end{tabular}
end{table}
end{document}
You need to define the C
column. I took the definition from here.
documentclass[journal]{IEEEtran}
usepackage{siunitx,booktabs}
usepackage{float} %for fix the image position
usepackage{amsmath} %% for case bracket
pagenumbering{gobble} %%% for without page numbers
usepackage{float}
usepackage{array}
usepackage[classicReIm]{kpfonts}
% from https://tex.stackexchange.com/a/175138/121799
newcolumntype{C}[1]{>{centeringarraybackslash}m{#1}}
begin{document}
begin{table}[H]
centering small
caption{Comprehension of recent and relevant work.} label{litrature}
begin{tabular}{C{2.5cm}C{6cm}C{2.5cm}C{2.5cm}}
toprule
textbf{Methodologies } & textbf{Features}&textbf{Targets Achieved}&bf{Limitations and Remarks} \
midrule
%hline Optimal power scheduling method for DR in HEMS is presented in cite{9} & GA & Cost and PAR reduction & Increased system complexity \
MILP& Optimal domestic load scheduling cite{35} & Electricity cost reduction & The cost is reduced at expense of user discomfort\
midrule
Greedy algorithm& Heuristic optimization of generic cost model cite{6} & Reduced user frustration and electricity cost & The PAR is ignored and complexity of the system is increased \
midrule
GWO and ILP &GWO applied to economic load dispatch problems cite{3}& Load dispatching in off-peak hours & Solved economic load dispatch (ELD) problems in the current study \ bottomrule
end{tabular}
end{table}
end{document}
answered 20 hours ago
marmotmarmot
118k6153288
118k6153288
The fact that the caption is not centered over the table should be a give-away that the document class employs two-column mode. Hence, do please inform the OP that he/she should be using atable*
environment, to let the material span both columns.
– Mico
19 hours ago
add a comment |
The fact that the caption is not centered over the table should be a give-away that the document class employs two-column mode. Hence, do please inform the OP that he/she should be using atable*
environment, to let the material span both columns.
– Mico
19 hours ago
The fact that the caption is not centered over the table should be a give-away that the document class employs two-column mode. Hence, do please inform the OP that he/she should be using a
table*
environment, to let the material span both columns.– Mico
19 hours ago
The fact that the caption is not centered over the table should be a give-away that the document class employs two-column mode. Hence, do please inform the OP that he/she should be using a
table*
environment, to let the material span both columns.– Mico
19 hours ago
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%2f485076%2flatex-gives-error-undefined-control-sequence-table%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
1
Off-topic: When using the
IEEEtran
document class, employing thecaption
andsubcaption
packages is not recommended. Depending on the options with whichcaption
is loaded, you may experience some serious conflicts and may not be able to compile your document successfully.– Mico
19 hours ago