Latex:如何在普通文章中引用ACM-Reference-Format.srt格式

写作业的时候需要引用,但是也不想直接下载ACM的模板去套,想着只用ACM的引用格式。
ACM-Reference-Format.srt文件可以去ACM的网站去下载,这里说一下如何引用。

\documentclass[a4paper,10pt]{article}
\usepackage[number]{natbib} %至关重要的包 不然就不是数字格式了。
\usepackage{hyperref}
\begin{document}

This is an example of a paragraph with in-text
citations using the ACM-Reference-Format BibTeX style.
Here is a reference to a journal article with
a single author \cite{article1}, to a journal
article with two authors \cite{article2} and
three authors \cite{article3}, and to a book
with four authors \cite{book4}.

\bibliographystyle{ACM-Reference-Format}  %引用格式文件
\bibliography{sampleBibFile}
\end{document}  

当然,删除
\usepackage[number]{natbib} 命令,
直接使用自带的acm格式也可以:
\bibliographystyle{acm}

这里有一个很好的网站,对于各种各样的引用格式都写得非常清楚,也有具体的实例。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值