1

我在我的背页报告中使用了这个模板:

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.

4

1 回答 1

1

问题是您的文档类已经选择了参考书目样式,之后您无法更改。两种解决方法:

  • \bibliographystyle{IEEEannot}通过从代码中删除来使用您的文档类设置的样式

  • 如果您确实需要其他样式,请olplainarticle.cls以新名称保存并将 l.8 更改为新名称,从新的 .cls 文件\ProvidesClass{olplainarticle}[06/12/2015, v1.0]中删除第 43/44 行,然后更改为新名称\RequirePackage{natbib} \bibliographystyle{apalike}\documentclass{olplainarticle}

于 2021-06-14T21:22:49.597 回答