TeX - LaTeX Asked on September 5, 2021
Using the IEEEtran
class, I have problems positioning a two-column figure on the desired page: The figure is always plotted on the next page.
Here my minimal code:
documentclass[conference]{IEEEtran}
usepackage{cite}
usepackage[pdftex]{graphicx}
begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
section{Conclusion}
label{sec:EndConclusion}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Conclusion text
begin{figure*}[tb]
centering
includegraphics[width=textwidth]{figure1}
caption{caption}
end{figure*}
bibliographystyle{IEEEtran}
nocite{*}
bibliography{bibliography}
end{document}
which results in:
I’d like to have the figure on the top and then Conclusion and References below. There is definitely enough space for everything. What can I do?
Well, my real conclusion is longer, and I have more bib entries, then the references should continue on the next page.
Next paragraph appears in page 11 from IEEEtran_HOWTO
Another
LATEX2ε
limitation (patched with stfloats or not) is that double column floats will not appear on the same page where they are defined. So, the user will have to define such things prior to the page on which they are to (possibly) appear.
So if you want that your figure be placed where Conclusions and References, declare it in previous page. And remember that due to next paragraph (page 9)
Furthermore, IEEE journals never place floats in the first column of the first page and rarely (if ever) do they do so in the second column of the first page. Middle in-text placement (“here”) is not used.
you must test it with enough text to fill more than one page, otherwise your figure will always appear on an empty second page.
Correct answer by Ignasi on September 5, 2021
This worked for me
begin{figure*}[t]
centering
includegraphics[width=textwidth]{images/classifiers-boxplot.png}
caption{}
end{figure*}
Answered by afsara_ben on September 5, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP