![自定义书目格式并解决出版物标题的表达问题——LaTeX](https://linux22.com/image/473090/%E8%87%AA%E5%AE%9A%E4%B9%89%E4%B9%A6%E7%9B%AE%E6%A0%BC%E5%BC%8F%E5%B9%B6%E8%A7%A3%E5%86%B3%E5%87%BA%E7%89%88%E7%89%A9%E6%A0%87%E9%A2%98%E7%9A%84%E8%A1%A8%E8%BE%BE%E9%97%AE%E9%A2%98%E2%80%94%E2%80%94LaTeX.png)
我目前正在处理我的 LaTeX 文档,在自定义参考书目格式方面面临一些挑战。我有一个包含以下软件包的 .tex 文件和一个包含我的参考书目的相应 biblio.bib 文件。
\documentclass[a4paper,12pt]{report}
\usepackage{tabularx,amsmath,boxedminipage,graphicx}
\usepackage[margin=1in,letterpaper]{geometry}
\usepackage[final]{hyperref} %adds hyp
\usepackage{cite}
\linespread{1.8}
\usepackage{algpseudocode} %to write algorithms
\usepackage{xpatch}
\usepackage{subcaption}
\usepackage{bigints}
\usepackage{mathptmx} %Font style
\usepackage{lipsum}
\usepackage{relsize}
\DeclareUnicodeCharacter{2009}{\,}
\usepackage{caption}
\usepackage{ragged2e}
\usepackage{float}
\usepackage{authblk} %to include multiple authors
\usepackage{amssymb} %to include symbols for R, C etc
\usepackage{tcolorbox} %to make coloured boxes
\usepackage{multicol} %to make multiple columns of text
\usepackage{bm} %To use boldface in maer links inside the generated pdf file
\usepackage{array}
\hypersetup{
colorlinks=true, %false: boxed links; true: colored links
linkcolor=red, %color of internal links
citecolor=red, %color of links to bibliography
filecolor=magenta, %color of file links
urlcolor=blue
}
\xpatchcmd{\algorithmic}{\itemsep\z@}{\itemsep=2ex plus2pt}{}{}
\makeatother
\usepackage{exscale}
\usepackage[utf8]{inputenc}
\usepackage{cite}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage{wrapfig}
\usepackage{caption}
\usepackage{tcolorbox}
\hypersetup{
colorlinks=true,% make the links colored
}
\usepackage{datetime}
\newdateformat{monthyeardate}{\monthname[\THEMONTH], \THEYEAR}
\DeclareUnicodeCharacter{2212}{-}
\def\blankpage{%
\clearpage%
\thispagestyle{empty}%
\addtocounter{page}{-1}%
\null%
\clearpage}
\usepackage{xcolor}
\usepackage{color}
\begin{document}
.
carbon isotopes paper \cite{John}.
.
\bibliographystyle{unsrt}
\bibliography{biblio}
\end{document}
biblio.bib 示例:
@article{John,
title = {Z = 6 has isotopes 12,14C}, `//even if I change it to "Z = 6 has isotopes $^{12,14}$C," results remains same`
journal = {Nature Physics},
volume = {790},
pages = {251-256},
year = {2019},
issn = {0370-2693},
doi = {https://doi.org/10.1016/024},
url = {https://www.sciencedirect.com/science/0014},
author = {J. Smith and A. Smith and B. Smith and C. Smith and D. Smith and E. Smith},
}
我想以特定的格式打印参考书目,该格式以“[1] J. Smith et al.”开头,后跟论文标题,然后是期刊、年份等。此外,我希望参考书目列表根据正文中的引用保持时间顺序。
目前,我一直在尝试用上述风格来实现这一点。
但结果并不如预期。标题中的表达似乎有些混乱。例如,如果标题为“Z = 6 具有同位素 $^{12,14}$C”,则在应用 \bibliographystyle{unsrt} 后,它显示为“z = 6 具有同位素 12,14c”。
有什么建议可以让我的参考书目正常运行并修复这些表达问题吗?谢谢。