【发布时间】:2021-08-30 11:09:16
【问题描述】:
我在我的背页报告中使用了这个模板:
https://www.overleaf.com/project/60c75f5e234ec24080f0ea6a
如果链接无法访问,这里是代码:
\documentclass [11pt]{article}
\title{Fuel Cell Technology\\\medskip An Annotated Bibliography}
\author{Titus Barik (titus@barik.net)\\Georgia Institute of Technology}
\begin{document}
\maketitle
\nocite{*}
\bibliographystyle{IEEEannot}
\bibliography{annot}
\end{document}
annot.bib file
@InProceedings{Wang99,
author = {Yanqing Wang and Christine MacKenzie},
title = {Object Manipulation in Virtual Environments: Relative Size Matters},
booktitle = {Proc. CHI'99},
year = {1999},
month = {May},
annote = {.}
}
%%
@InProceedings{Feiner93,
author = {S. Feiner and B. MacIntyre and M. Haupt and E. Solomon},
title = {Windows on the World: {2D} Windows for {3D} Augmented Reality},
booktitle = {Proc. UIST'93},
year = {1993},
pages = {145-155},
annote = {I.}
}
我是乳胶编码的新手,但修复了大部分错误,但坚持在报告的最后一页打印参考。
我将annot.bib文件中的内容粘贴到我的背页报告中,如下所示:
\bibliography{annot}
\end{document}
输出仅将 References 显示为标题,内部没有引用。
我的代码:
https://www.overleaf.com/read/wnhgtcggncff
我的文件:
\documentclass[fleqn,10pt]{olplainarticle}
% Use option lineno for line numbers
\usepackage{graphics}
%\newcommand{\newpar}{\vspace{.2in}\noindent}
\usepackage{hyperref}
\let\oldhref\href
\renewcommand{\href}[2]{\oldhref{#1}{\bfseries#2}}
\begin{document}
\begin{center}
\includegraphics[width=0.2\textwidth]{IIT Hyderabad Logo_Final Design.jpeg}
\end{center}
\begin{center}
ABC
\end{center}
\section*{abstract}
\section*{Introduction}
\section*{Methods and Materials}
\begin{table}[ht]
\centering
\begin{tabular}{l|r}
\\\hline
\\
A & B
\end{tabular}
\caption{\label{tab:widgets}An exploration table.}
\end{table}
\section*{AL}
%\label{sec:examples}
%\noindent
……….
%\subsection*{Figures and Tables}
\begin{figure}
\centering
\includegraphics[width=0.7\textwidth]{download.png}
\caption{Diagram illustrating the three main active learning scenarios.}
\label{fig:view}
\end{figure}
\section*{DP}
\begin{figure}[ht]
\centering
\includegraphics[width=0.7\textwidth]{Picture 1.png}
\caption{Dealing with lack of annotated data}
\label{fig:view}
\includegraphics[width=0.7\textwidth]{Picture 2.png}
\caption{Pipeline}
\label{fig:view}
\end{figure}
\begin{figure}[ht]
\centering
\includegraphics[width=0.7\textwidth]{dp.png}
\caption{Architecture Diagram}
\label{fig:view}
\end{figure}
\section*{Acknowledgments}
\bibliography{annot}
\end{document}
我没有在输出中收到 References 并收到警告 You have used the same label more than once. Check that each \label{...} labels only one item.
【问题讨论】:
-
指向您的模板的链接给出了权限被拒绝错误。
-
你能制作一个不依赖于我们无权访问的文件的minimal reproducible example吗?
-
关于第二个警告:您正在使用
fig:view大约 4 次。为每个标题使用唯一的标签。 -
如何添加唯一标签并删除 fig:view single.?可以展示一下吗?
-
要解决标签问题,为每个标签选择不同的词。例如第一个数字可能有
\label{fig:view},下一个数字可能是\label{fig:tree},然后是\label{fig:flower},它们只需要不同