ลิงก์ในบรรณานุกรมที่แสดงในแบบอักษรต่างๆ

Aug 16 2020

ฉันกำลังใช้รูปแบบการอ้างอิง IEEE เพื่อสร้างบรรณานุกรมของฉัน อย่างไรก็ตามลิงก์และ DOI มีรูปแบบที่แตกต่างจากเนื้อหาของการอ้างอิง ฉันจะทำให้มันสอดคล้องกับแบบอักษรและขนาดเดียวกันได้อย่างไร

ตัวอย่างรหัสสำหรับสร้างสิ่งนี้มีดังนี้:

\usepackage[style=ieee]{biblatex}
\addbibresource{`my references`}
\printbibliography

รหัส. bib:

@article{Abkenari2015,
author = {Abkenari, Mehrdad and  Rezaei, Alireza and Pournayeb, Naghmeh},
doi = {10.5281/zenodo.1339604},
journal = {International Journal of Architectural, Civil and Construction Sciences},
pages = {1138--1142},
title = {{Recycling Construction Waste Materials to Reduce the Environmental Pollutants}},
year = {2015}
}
@misc{DenseNet,
    title={Densely Connected Convolutional Networks},
    author={Gao Huang and Zhuang Liu and Laurens van der Maaten and Kilian Q. Weinberger},
    year={2016},
    eprint={1608.06993},
    archivePrefix={arXiv},
    primaryClass={cs.CV}
}

คำตอบ

3 moewe Aug 16 2020 at 12:14

biblatexใช้สิ่งอำนวยความสะดวกของurlแพ็คเกจในการเรียงพิมพ์ URL และวัตถุคล้าย URL (DOIs, eprints, ... )

โดยค่าเริ่มต้นจะurlพิมพ์ URL ใน\ttfamilyแต่คุณสามารถขอแบบอักษรเอกสารปกติด้วย

\urlstyle{same}

โทรไปได้อื่น ๆ สำหรับ\urlstyleสามารถพบได้ในคู่มือการแพคเกจurl

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[style=ieee]{biblatex}
\urlstyle{same}

\addbibresource{biblatex-examples.bib}

\begin{document}
\cite{sigfridsson,baez/online,ctan,markey}
\printbibliography
\end{document}

นอกจากนี้ยังใช้งานได้หากคุณโหลดhyperrefหรือxurlแพ็กเกจ