参考书目未显示在 Overleaf 中
Bibliography is not showing up in Overleaf
我在背页报告中使用此模板:
https://www.overleaf.com/project/60c75f5e234ec24080f0ea6a
如果link无法访问这里是代码:
\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.}
}
我是 Latex 编码的新手,但修复了大部分错误,但仍坚持在报告的最后一页打印参考文献。
我将 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.
问题是您的文档 class 已经选择了参考书目样式,此后您无法更改。两种解决方法:
通过从代码中删除 \bibliographystyle{IEEEannot}
来使用文档 class 设置的样式
如果您确实需要其他样式,请将 olplainarticle.cls
保存在新名称下并将 l.8 \ProvidesClass{olplainarticle}[06/12/2015, v1.0]
更改为新名称,删除第 43/44 行 \RequirePackage{natbib} \bibliographystyle{apalike}
来自新的 .cls 文件,然后将 \documentclass{olplainarticle}
更改为新名称
我在背页报告中使用此模板:
https://www.overleaf.com/project/60c75f5e234ec24080f0ea6a
如果link无法访问这里是代码:
\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.}
}
我是 Latex 编码的新手,但修复了大部分错误,但仍坚持在报告的最后一页打印参考文献。
我将 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.
问题是您的文档 class 已经选择了参考书目样式,此后您无法更改。两种解决方法:
通过从代码中删除
\bibliographystyle{IEEEannot}
来使用文档 class 设置的样式如果您确实需要其他样式,请将
olplainarticle.cls
保存在新名称下并将 l.8\ProvidesClass{olplainarticle}[06/12/2015, v1.0]
更改为新名称,删除第 43/44 行\RequirePackage{natbib} \bibliographystyle{apalike}
来自新的 .cls 文件,然后将\documentclass{olplainarticle}
更改为新名称