我在用IEEE 访问模板我想让我的图形位于页面的底部而不是顶部,但是使用hbp
图像会转到文档的最后一页,就像这样。
这里有 MWE:
\documentclass{ieeeaccess}
\usepackage{cite}
\usepackage{enumitem,amsmath,amssymb,amsfonts}
\usepackage{lipsum}
%% Todo list -- remove after
\newlist{todolist}{itemize}{2}
\setlist[todolist]{label=$\square$}
\usepackage{pifont}
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\newcommand{\done}{\rlap{$\square$}{\raisebox{2pt}{\large\hspace{1pt}\cmark}}%
\hspace{-2.5pt}}
\newcommand{\wontfix}{\rlap{$\square$}{\large\hspace{1pt}\xmark}}
%%
\usepackage{placeins}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{float}
\usepackage{rotating}
\usepackage{multirow}
\usepackage{url}
\usepackage{textcomp}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\begin{document}
\newpage
\history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.}
\doi{10.1109/ACCESS.2017.DOI}
\title{Preparation of Papers for IEEE ACCESS}
\tfootnote{This paragraph of the first footnote will contain support
information, including sponsor and financial support acknowledgment. For
example, ``This work was supported in part by the U.S. Department of
Commerce under Grant BS123456.''}
\markboth
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
\begin{abstract}
\end{abstract}
\begin{keywords}
Enter key words or phrases in alphabetical
order, separated by commas. For a list of suggested keywords, send a blank
e-mail to [email protected] or visit \underline
{http://www.ieee.org/organizations/pubs/ani\_prod/keywrd98.txt}
\end{keywords}
\titlepgskip=-15pt
\maketitle
\section{Introduction}
\lipsum[2-4]
\Figure[!htp](topskip=0pt, botskip=1pt, midskip=0pt)[width=.45\textwidth]{example-image-duck}{f1.\label{fig:f1}}
\lipsum[2-4]
\Figure[!htp](topskip=0pt, botskip=1pt, midskip=0pt)[width=.45\textwidth]{example-image-duck}{f1.\label{fig:f3}}
\Figure[!htp](topskip=0pt, botskip=1pt, midskip=0pt)[width=.65\textwidth]{example-image-duck}{f2.\label{fig:f2}}
\lipsum[1-10]
\EOD
\end{document}
我不确定如何.cls
在此处添加文件,但提供的链接应该可以工作。
答案1
此解决方案dblfloatfix
允许底部浮动。最大的问题是twocolumn
必须在上一页创建浮动。
由于不清楚您希望字幕以什么顺序出现,因此我假设了最坏的情况并手动\setcounter{figure}{...}
设置字幕编号。
\documentclass{ieeeaccess}
\usepackage{cite}
\usepackage{enumitem}
\usepackage{lipsum}
%% Todo list -- remove after
\newlist{todolist}{itemize}{2}
\setlist[todolist]{label=$\square$}
\usepackage{pifont}
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\newcommand{\done}{\rlap{$\square$}{\raisebox{2pt}{\large\hspace{1pt}\cmark}}%
\hspace{-2.5pt}}
\newcommand{\wontfix}{\rlap{$\square$}{\large\hspace{1pt}\xmark}}
%%
\usepackage{placeins}
\usepackage{algorithmic}
%\usepackage{graphicx} redundant
\usepackage{dblfloatfix}
\usepackage{rotating}
\usepackage{multirow}
\usepackage{url}
\usepackage{textcomp}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\begin{document}
\newpage
\history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.}
\doi{10.1109/ACCESS.2017.DOI}
\title{Preparation of Papers for IEEE ACCESS}
\tfootnote{This paragraph of the first footnote will contain support
information, including sponsor and financial support acknowledgment. For
example, ``This work was supported in part by the U.S. Department of
Commerce under Grant BS123456.''}
\markboth
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
\begin{abstract}
\end{abstract}
\begin{keywords}
Enter key words or phrases in alphabetical
order, separated by commas. For a list of suggested keywords, send a blank
e-mail to [email protected] or visit \underline
{http://www.ieee.org/organizations/pubs/ani\_prod/keywrd98.txt}
\end{keywords}
\titlepgskip=-15pt
\maketitle
\section{Introduction}
\lipsum[2-4]
\Figure[!htp](topskip=0pt, botskip=1pt, midskip=0pt)[width=.45\textwidth]{example-image-duck}{f1.\label{fig:f1}}
\setcounter{figure}{2}% for figure 3
\Figure[b](topskip=0pt, botskip=1pt, midskip=0pt)[width=.65\textwidth]{example-image-duck}{f3.\label{fig:f3}}
\lipsum[2-4]
\setcounter{figure}{1}% for figure 2
\Figure[!htp](topskip=0pt, botskip=1pt, midskip=0pt)[width=.45\textwidth]{example-image-duck}{f2.\label{fig:f2}}
\setcounter{figure}{3}% resume automatic
\lipsum[1-10]
\EOD
\end{document}