【LaTeX应用】latex排版中插入参考文献

    科技2024-11-19  33

    不使用BibTeX

    在文章的最后,添加要插入的参考文献

    \documentclass{book} \usepackage{ctex} \begin{document} 引入参考文献\cite{ref1} 引用文献\cite{ref1,ref2,ref3} \begin{thebibliography}{99} \bibitem{ref1}Zheng L, Wang S, Tian L, et al., Query-adaptive late fusion for image search and person re-identification, Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015: 1741-1750. \bibitem{ref2}Arandjelović R, Zisserman A, Three things everyone should know to improve object retrieval, Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on, IEEE, 2012: 2911-2918. \bibitem{ref3}Lowe D G. Distinctive image features from scale-invariant keypoints, International journal of computer vision, 2004, 60(2): 91-110. \bibitem{ref4}Philbin J, Chum O, Isard M, et al. Lost in quantization: Improving particular object retrieval in large scale image databases, Computer Vision and Pattern Recognition, 2008. CVPR 2008, IEEE Conference on, IEEE, 2008: 1-8. \end{thebibliography} \end{document}

    几点说明:

    参考文献的环境为thebibliography,放在文章的后面,但是在document的里面\bibitem后面的标识符为文献的引用标记,需要引用什么文献直接通过标记即可加入的包ctex表示支持中文\cite{ref1},引用文献\cite{ref1,ref2,ref3}都是可以的99表示最多插入的文献数量,可以是其他值

    使用BibTeX

    需要建立参考文献数据库,也就是一个.bib文件,引用的时候调用所需要的参考文献。

    建立一个新文件,结束标志为.bib,里面添加一些文献,如

    @article{ecrc-blockchain-certificate, author = {Lei, Ao and Cao, Yue and Bao, Shihan and Li, Dasen and Asuquo, Philip and Cruickshank, Haitham and Sun, Z.}, year = {2019}, month = {04}, pages = {}, title = {A blockchain based certificate revocation scheme for vehicular communication systems}, journal = {Future Generation Computer Systems}, doi = {10.1016/j.future.2019.03.039} } @article{SHI2020101966, title = "Applications of blockchain in ensuring the security and privacy of electronic health record systems: A survey", journal = "Computers \& Security", volume = "97", pages = "101966", year = "2020", issn = "0167-4048", doi = "https://doi.org/10.1016/j.cose.2020.101966", url = "http://www.sciencedirect.com/science/article/pii/S016740482030239X", author = "Shuyun Shi and Debiao He and Li Li and Neeraj Kumar and Muhammad Khurram Khan and Kim-Kwang Raymond Choo", keywords = "Blockchain, Healthcare, Electronic health record system, Security, Privacy", abstract = "Due to the popularity of blockchain, there have been many proposed applications of blockchain in the healthcare sector, such as electronic health record (EHR) systems. Therefore, in this paper we perform a systematic literature review of blockchain approaches designed for EHR systems, focusing only on the security and privacy aspects. As part of the review, we introduce relevant background knowledge relating to both EHR systems and blockchain, prior to investigating the (potential) applications of blockchain in EHR systems. We also identify a number of research challenges and opportunities." } @InProceedings{u-prove, author="Hanzlik, Lucjan and Kluczniak, Kamil", editor="Christin, Nicolas and Safavi-Naini, Reihaneh", title="A Short Paper on How to Improve U-Prove Using Self-Blindable Certificates", booktitle="Financial Cryptography and Data Security", year="2014", publisher="Springer Berlin Heidelberg", address="Berlin, Heidelberg", pages="273--282", abstract="U-Prove is a credential system that allows users to disclose information about themselves in a minimalistic way. Roughly speaking, in the U-Prove system a user obtains certified cryptographic tokens containing a set of attributes and is able to disclose a subset of his attributes to a verifier, while hiding the undisclosed attributes. In U-prove the actual identity of a token holder is hidden from verifiers, however each token has a static public key (i.e. token pseudonym), which makes a single token traceable, by what we mean that, if a token is presented twice to a verifier, then the verifier knows that it is the same token. We propose an extension to the U-Prove system which enables users to show U-Prove tokens in a blinded form, so even if a single token is presented twice, a verifier is not able to tell whether it is the same token or two distinct tokens. Our proposition is an optional extension, not changing the core of the U-Prove system. A verifier decides whether to use issuer signatures from U-Prove, or the blind certificates from the extension.", isbn="978-3-662-45472-5" } @ARTICLE{mixgroup-exchanging-identity, author={R. {Yu} and J. {Kang} and X. {Huang} and S. {Xie} and Y. {Zhang} and S. {Gjessing}}, journal={IEEE Transactions on Dependable and Secure Computing}, title={MixGroup: Accumulative Pseudonym Exchanging for Location Privacy Enhancement in Vehicular Social Networks}, year={2016}, volume={13}, number={1}, pages={93-105},} @article{jeephack2015, title = "Remote Exploitation of an Unaltered Passenger Vehicle", journal = "", volume = "", pages = "", year = "2015", url = "https://fliphtml5.com/kgcw/luyw/basic", author = "Chris Valasek and Charlie Miller", keywords = "", abstract="" }

    说明:

    @article 告诉 BibTeX 这是一个文章类型的参考文献,还有其它格式, 例如 article, book, booklet, conference, inbook, incollection, inproceedings,manual, misc, mastersthesis, phdthesis, proceedings, techreport, unpublished 等等

    为了能在LaTeX中使用BibTeX 数据库, 需要做下面三件事情: 

    设置参考文献的类型 (bibliography style). 标准的为 plain:

      \bibliographystyle{plain} 将上面的命令放在 LaTeX 文档的 \begin{document}后边. 其它的类型包括 ·unsrt – 基本上跟 plain 类型一样,除了参考文献的条目的编号是按照引用的顺序,而不是按照作者的字母顺序 ·alpha – 类似于 plain 类型,当参考文献的条目的编号基于作者名字和出版年份的顺序 ·abbrv – 缩写格式

     标记引用 :\cite{引用文章名称}

    告诉LaTeX生成参考文献列表,在 LaTeX 的结束前输入:\bibliography{reference},这里reference 就是你的 BibTeX 数据库文件 reference.bib

     

    \documentclass{book} \usepackage{ctex} \begin{document} 引入参考文献\cite{ref1} 引用文献\cite{ref1,ref2,ref3} \bibliographystyle{plain} \bibliography{reference} \end{document}

     

    Processed: 0.009, SQL: 8