
答案1
如果參考書目樣式(例如alpha
)足夠舊,無法透過程式設計來識別和處理名為 的字段url
,則只需將與 URL 相關的資訊轉儲到該note
字段中即可。我建議您將@misc
條目類型與natbib
引文管理包一起使用。
以下條目用於引用相關課程的全部講義。如果您只想創建一個講座的參考,請進行適當的調整。
\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@misc{sutherland-notes,
author = "Andrew Sutherland",
title = "{MIT Mathematics 18.783, Lecture Notes: Elliptic Curves}",
note = "URL: \url{https://math.mit.edu/classes/18.783/2015/lectures.html}.
Last visited on 2017/07/01",
year = 2015,
}
\end{filecontents}
\documentclass{article}
\usepackage[hyphens,spaces]{url}
\usepackage{natbib}
\citestyle{alpha}
\bibliographystyle{alpha}
\usepackage{hyperref}
\hypersetup{colorlinks,urlcolor=blue,citecolor=cyan} % choose suitable colors
\begin{document}
\cite{sutherland-notes}
\bibliography{mybib}
\end{document}
答案2
如果可以選擇使用 biblatex 和 biber(參見這個帖子開始),那麼我建議使用booklet
或report
條目類型。
根據文件:
小冊子
沒有正式出版商或贊助機構的類似書籍的作品。使用欄位 howpublished 提供自由格式的發佈資訊(如果適用)。字段類型也可能有用。
必填字段:作者/編輯、標題、年份/日期
選用字段:副標題、titleaddon、語言、發布方式、類型、註釋、地點、章節、頁數、總頁數、附錄、pubstate、doi、eprint、eprintclass、eprinttype、url、urldate
報告
由大學或其他機構發表的技術報告、研究報告或白皮書。使用類型欄位指定報告的類型。主辦單位進入機構領域。
必填字段:作者、標題、類型、機構、年份/日期
選用字段:字幕、titleaddon、語言、數字、版本、註解、地點、月份、isrn、章節、頁數、頁數、附錄、pubstate、doi、eprint、eprintclass、eprinttype、url、urldate
您的條目的一個可能的範例可能是:
\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@misc{sutherland-notes-misc,
author = "Andrew Sutherland",
title = "{Elliptic Curves}",
note = "URL: \url{https://math.mit.edu/classes/18.783/2015/lectures.html}.
Last visited on 2017/07/01",
year = 2015,
}
@booklet{sutherland-notes-booklet,
author = "Andrew Sutherland",
title = "{Elliptic Curves}",
note = "URL: \url{https://math.mit.edu/classes/18.783/2015/lectures.html}.
Last visited on 2017/07/01",
year = 2015,
}
@report{sutherland-notes-report,
author = "Andrew Sutherland",
title = "{Elliptic Curves}",
note = "URL: \url{https://math.mit.edu/classes/18.783/2015/lectures.html}.
Last visited on 2017/07/01",
year = 2015,
institution = "Massachusetts Institute of Technology, Department of Mathematics"
}
\end{filecontents}
\documentclass{article}
\usepackage{biblatex}
\bibliography{mybib}
\begin{document}
\cite[14. Ordinary and supersingular curve]{sutherland-notes-misc}, \cite[14. Ordinary and supersingular curve]{sutherland-notes-booklet}, \cite[14. Ordinary and supersingular curve]{sutherland-notes-report}
\printbibliography
\end{document}