
我想將標題設為斜體,但它只以斜體印製作者。所以我用這個>將所有內容強制轉換為普通文本
\addcontentsline{toc}{chapter}{Bibliography}
\begingroup
\let\itshape\upshape
\bibliographystyle{unsrt}
\bibliography{mybib}
\endgroup
但我想把文章的標題用斜體:
最小的例子應該是:
Laszlo Tabar、Ming-Fang Yen、Bedrich Vitak、Hsiu-Hsi Tony Chen、Robert A Smith 和 Stephen W Duy。 「乳房 X 光檢查服務篩檢和乳癌患者死亡率:引入篩檢前後 20 年追蹤」。 《柳葉刀》,361(9367):1405{1410,2003 年 4 月。
我想放:
“乳房 X 光檢查服務篩檢和乳癌患者死亡率:篩檢前後 20 年追蹤”
像這樣的斜體:
“乳房 X 光檢查服務篩檢和乳癌患者死亡率:篩檢前後 20 年追蹤”
答案1
這個問題確實沒有提供足夠的資訊來提供明確的答案,但可以提供一些東西。一些評論建議使用不同的參考書目程式。但如果您希望繼續使用 bibtex,您可以製作參考書目樣式的副本(.bst 檔案)。在本例中,我重新命名unsrt.bst
為myunsrt.bst
.
emphasize
使用 BST 語言進行程式設計是很神秘的,但在將某些內容設為斜體的情況下,這相當於在欄位後面添加單字。因此,如果有問題的項目是 an @ARTICLE
,那麼我編輯定義以添加emphasize
以下單詞format.title
,如下所示:
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
new.block
format.title emphasize "title" output.check
new.block
crossref missing$
{ journal emphasize "journal" output.check
format.vol.num.pages output
format.date "year" output.check
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
new.block
note output
fin.entry
}
然後,當我運行程式時
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{mybib.bib}
@ARTICLE{myref,
AUTHOR = "last, first",
TITLE = "This is the title",
JOURNAL = "The Lancet",
YEAR = "2014"
}
\end{filecontents}
\bibliographystyle{myunsrt}
\begin{document}
I will cite \cite{myref}
\bibliography{mybib}
\end{document}
我得到以下輸出,其中強調了標題(在本例中為斜體):