2 列浮点数和引用顺序问题

2 列浮点数和引用顺序问题

我正在使用以下方式编写文档IEEEtran类。我正在处理典型的 2 列浮点数问题(在我的例子中是一张表)。

我知道一个问题,即表格必须在我想要显示它之前一页声明。但是,如果我想使用数字书目(IEEE 标准)并把浮标标题内的引用数字将按照代码中的声明而不是文档中的顺序排列。这当然是不可取的。

有没有什么办法可以解决这个问题?

INFO 和 MWE:

使用 MiKTeX 2.9(版本 0.4.3 r.857)

\documentclass[journal,a4paper]{IEEEtran}
\usepackage{cite}

\ifCLASSINFOpdf
\usepackage[pdftex]{graphicx}
\graphicspath{{Pictures/}}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\else
\fi
\usepackage[cmex10]{amsmath}
\interdisplaylinepenalty=2500
\usepackage{array}
\usepackage{mdwmath}
\usepackage{mdwtab}
\usepackage[caption=false,font=footnotesize]{subfig}
\usepackage{fixltx2e}
\usepackage{url}
\usepackage{booktabs}
\usepackage{lipsum}

\hyphenation{op-tical net-works semi-conduc-tor}

\begin{document}
\title{TITLE}
\author{Author
\thanks{Author is with the Department
of Electrical Engineering and Computing, University of Zagreb, Croatia, e-mail:([email protected]).}}

\markboth{journa;, August~2012}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals}

\maketitle
\begin{abstract}
\lipsum[2]
\end{abstract}

\begin{IEEEkeywords}
Stars, space, time.
\end{IEEEkeywords}
\IEEEpeerreviewmaketitle


 \section{Introduction}
 \IEEEPARstart{E}{very} \lipsum[2-6]

\begin{table*}[!t]
\renewcommand{\arraystretch}{1.3}
\caption{Properties of systems, data are obtain from \cite{TheU.S.government-TheDepartmentofDefense2008} and \cite{EuropeanUnion2010} and valid for 25th July
}
\label{tab:stat}
\centering
\begin{tabular}{@{}lrrrrr@{}}\toprule[1.5pt]
 GNSS & satellites [\#] & altitude [km] & orbit period [$^{\circ}$] & inclination [$^{\circ}]$ & used frequencies [MHz] \\ \midrule
 GPS & 32(+3) & 20 185  & 11h58m & 55 &  1575.42 \& 1227.6\\
 GLONASS & 22(+4) & 19 100  & 11h16m & 65 & 1597-1606 \& 1238-1250\\
 Galileo& 0(+1) & 23 222  & 14h & 56 & 1575.42 \& 1278.75 \& 1191.795\\
 Beidou & 13 & 21 500 & 12h & 55 & 1610-1626.5 \& 2483.5-2500\\
 \bottomrule[1.5pt]
 \end{tabular}
 \end{table*}

 \section{Positioning principle of GNSS} 
 \IEEEPARstart{A}{propo} \cite{IEEEhowto:kopka} \lipsum[7-10]

 \section{Conclusion}
 \lipsum[8]
 \ifCLASSOPTIONcaptionsoff
 \newpage
 \fi

 \begin{thebibliography}{9}


 \bibitem{TheU.S.government-TheDepartmentofDefense2008}
 The U.S. government - The Department of Defense, \emph{GLOBAL POSITIONING SYSTEM
   STANDARD POSITIONING SERVICE},'' \relax no.~September, 2008.

 \bibitem{EuropeanUnion2010}
 European Union, ``\emph{European GNSS ( Galileo ) Open Service - Signal In Space
   Interface Control Document},'' \relax no.~September, 2008.

 \bibitem{IEEEhowto:kopka}
  H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
   0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.

 \end{thebibliography}
 \end{document}

可以看到,表格放置的很好,但是引用的数量比第一页的引用少。

! 笔记 !) 参考书目会自动创建!在其他情况下,我当然会按照自己想要的方式手动写下顺序!

问题是:有什么解决方案吗,或者我必须避免在浮动标题中写引用?

谢谢您的反馈!

答案1

也许可以实现自动化版本,但对于短篇论文来说,手动管理可能更容易:

\begin{filecontents*}{\jobname.bib}
@techreport{TheU.S.government-TheDepartmentofDefense2008,
  institution={{The U.S. government - The Department of Defense}}, 
  title={{GLOBAL POSITIONING SYSTEM
   STANDARD POSITIONING SERVICE}},
  year={2008},
}
@techreport{EuropeanUnion2010,
  institution={{European Union}},
  title={European {GNSS} ({Galileo}) Open Service - Signal In Space
   Interface Control Document},
  year={2008},
}
@book{IEEEhowto:kopka,
  author={Kopka, H. and Daly, P. W.},
  title={A Guide to {\LaTeX}},
  edition={3rd},
  publisher={Harlow, England: Addison-Wesley},
  year={1999},
}
\end{filecontents*}


\documentclass[journal,a4paper]{IEEEtran}
\usepackage{cite}
\usepackage{etoolbox}

\makeatletter
\newcommand{\disablewritingcites}{%
  \patchcmd{\@nocite}{\if@filesw}{\iffalse}{}{}%
}
\makeatother

\ifCLASSINFOpdf
\usepackage[pdftex]{graphicx}
\graphicspath{{Pictures/}}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\else
\fi
\usepackage[cmex10]{amsmath}
\interdisplaylinepenalty=2500
\usepackage{array}
\usepackage{mdwmath}
\usepackage{mdwtab}
\usepackage[caption=false,font=footnotesize]{subfig}
\usepackage{fixltx2e}
\usepackage{url}
\usepackage{booktabs}
\usepackage{lipsum}

\hyphenation{op-tical net-works semi-conduc-tor}

\begin{document}
\title{TITLE}
\author{Author
\thanks{Author is with the Department
of Electrical Engineering and Computing, University of Zagreb, Croatia, e-mail:([email protected]).}}

\markboth{journa;, August~2012}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals}

\maketitle
\begin{abstract}
\lipsum[2]
\end{abstract}

\begin{IEEEkeywords}
Stars, space, time.
\end{IEEEkeywords}
\IEEEpeerreviewmaketitle


 \section{Introduction}
 \IEEEPARstart{E}{very} \lipsum[2-6]

\begin{table*}[!t]
\renewcommand{\arraystretch}{1.3}
\disablewritingcites
\caption{Properties of systems, data are obtain from \cite{TheU.S.government-TheDepartmentofDefense2008} and 
\cite{EuropeanUnion2010} and valid for 25th July}\label{tab:stat}
\centering
\begin{tabular}{@{}lrrrrr@{}}\toprule[1.5pt]
 GNSS & satellites [\#] & altitude [km] & orbit period [$^{\circ}$] & inclination [$^{\circ}]$ &
   used frequencies [MHz] \\ \midrule
 GPS & 32(+3) & 20 185  & 11h58m & 55 &  1575.42 \& 1227.6\\
 GLONASS & 22(+4) & 19 100  & 11h16m & 65 & 1597-1606 \& 1238-1250\\
 Galileo& 0(+1) & 23 222  & 14h & 56 & 1575.42 \& 1278.75 \& 1191.795\\
 Beidou & 13 & 21 500 & 12h & 55 & 1610-1626.5 \& 2483.5-2500\\
 \bottomrule[1.5pt]
 \end{tabular}
 \end{table*}

 \section{Positioning principle of GNSS} 
 \IEEEPARstart{A}{propo} \cite{IEEEhowto:kopka} \lipsum[7-9]

\nocite{TheU.S.government-TheDepartmentofDefense2008}
\nocite{EuropeanUnion2010}

\lipsum[10]

 \section{Conclusion}
 \lipsum[8]
 \ifCLASSOPTIONcaptionsoff
 \newpage
 \fi

\bibliographystyle{unsrt}
\bibliography{\jobname}

\end{document}

.aux如您所见,环境中已禁用文件中的引用写入table\nocite段落之间添加了针对这些条目的两个命令,以便正确确定编号。

注意。修补命令是\@nocite因为文档会加载cite软件包。如果没有它,则要执行的命令是\@citex

答案2

我移动了源中的表格,使其位于第一次引用之后,它浮动到第 2 页顶部的相同位置,这似乎正是您想要的?当然,由于它是一个固定的参考书目,因此此 MWE 中的条目不会重新编号,但如果您的真实示例是使用 bibtex 重新生成的,它可能会按文件中的使用顺序排序,因此部分标题中的条目将是 [1]。

\documentclass[journal,a4paper]{IEEEtran}
\usepackage{cite}

\ifCLASSINFOpdf
\usepackage[pdftex]{graphicx}
\graphicspath{{Pictures/}}
\DeclareGraphicsExtensions{.pdf,.jpeg,.png}
\else
\fi
\usepackage[cmex10]{amsmath}
\interdisplaylinepenalty=2500
\usepackage{array}
\usepackage{mdwmath}
\usepackage{mdwtab}
\usepackage[caption=false,font=footnotesize]{subfig}
\usepackage{fixltx2e}
\usepackage{url}
\usepackage{booktabs}
\usepackage{lipsum}

\hyphenation{op-tical net-works semi-conduc-tor}

\begin{document}
\title{TITLE}
\author{Author
\thanks{Author is with the Department
of Electrical Engineering and Computing, University of Zagreb, Croatia, e-mail:([email protected]).}}

\markboth{journa;, August~2012}%
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Journals}

\maketitle
\begin{abstract}
\lipsum[2]
\end{abstract}

\begin{IEEEkeywords}
Stars, space, time.
\end{IEEEkeywords}
\IEEEpeerreviewmaketitle


 \section{Introduction}
 \IEEEPARstart{E}{very} \lipsum[2-6]


 \section{Positioning principle of GNSS} 
 \IEEEPARstart{A}{propo} \cite{IEEEhowto:kopka} 

\begin{table*}[!t]
\renewcommand{\arraystretch}{1.3}
\caption{Properties of systems, data are obtain from \cite{TheU.S.government-TheDepartmentofDefense2008} and \cite{EuropeanUnion2010} and valid for 25th July
}
\label{tab:stat}
\centering
\begin{tabular}{@{}lrrrrr@{}}\toprule[1.5pt]
 GNSS & satellites [\#] & altitude [km] & orbit period [$^{\circ}$] & inclination [$^{\circ}]$ & used frequencies [MHz] \\ \midrule
 GPS & 32(+3) & 20 185  & 11h58m & 55 &  1575.42 \& 1227.6\\
 GLONASS & 22(+4) & 19 100  & 11h16m & 65 & 1597-1606 \& 1238-1250\\
 Galileo& 0(+1) & 23 222  & 14h & 56 & 1575.42 \& 1278.75 \& 1191.795\\
 Beidou & 13 & 21 500 & 12h & 55 & 1610-1626.5 \& 2483.5-2500\\
 \bottomrule[1.5pt]
 \end{tabular}
 \end{table*}

\lipsum[7-10]

 \section{Conclusion}
 \lipsum[8]
 \ifCLASSOPTIONcaptionsoff
 \newpage
 \fi

 \begin{thebibliography}{9}


 \bibitem{TheU.S.government-TheDepartmentofDefense2008}
 The U.S. government - The Department of Defense, \emph{GLOBAL POSITIONING SYSTEM
   STANDARD POSITIONING SERVICE},'' \relax no.~September, 2008.

 \bibitem{EuropeanUnion2010}
 European Union, ``\emph{European GNSS ( Galileo ) Open Service - Signal In Space
   Interface Control Document},'' \relax no.~September, 2008.

 \bibitem{IEEEhowto:kopka}
  H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus
   0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999.

 \end{thebibliography}
 \end{document}

相关内容