问题描述
我在我的背页报告中使用了这个模板:
https://www.overleaf.com/project/60c75f5e234ec24080f0ea6a
Before
Runnable
true
After
\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
我是 Latex 编码的新手,但修复了大部分错误,但仍然坚持在报告的最后一页打印参考资料。
我将内容 @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}
显示为标题,内部没有引用。
我的代码:
https://www.overleaf.com/read/wnhgtcggncff
我的文件:
References
我没有在输出中收到 \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
解决方法
问题是您的文档类已经选择了书目样式,之后您无法更改。两种解决方法:
-
通过从代码中删除
\bibliographystyle{IEEEannot}
来使用文档类设置的样式 -
如果您确实需要其他样式,请将
olplainarticle.cls
保存在新名称下并将 l.8\ProvidesClass{olplainarticle}[06/12/2015,v1.0]
更改为新名称,删除第 43/44 行\RequirePackage{natbib} \bibliographystyle{apalike}
从新的 .cls 文件,然后将\documentclass{olplainarticle}
更改为新名称