
我最近才開始使用 Latex 來製作我的大學文檔,而對於我目前的文檔,我使用的是他們提供的範本。
我正在使用 bibtex 來管理我的資源。這是一個 bibtex 條目的範例:
@misc{webpage1,
shorthand = {CompanyName},
author = {Company Name Ltd.},
title="The company's webplatform",
howpublished = "\url{http://company.com/}",
lastchecked = {01.01.2013},
year = 2013
}
@misc{webpage2,
shorthand = {OtherCompanyName},
author = {Some other Company Name Ltd.},
title="Another company's webplatform",
howpublished = "\url{http://other-company.com/}",
lastchecked = {01.01.2013},
year = 2013
}
在我的 Latex 文件中,我使用以下程式碼建立參考書目:
\bibliography{references} % this causes the references to be listed (file: references.bib)
\bibliographystyle{alpha}
我現在的問題是,當我編譯文件時,結果是參考書目具有以下格式:
[Ltd13a] Full Company Name Ltd.
[Ltd13b] Some Other Company Name Ltd.
我已經嘗試在名稱和有限公司之間添加逗號,如下所示:
author = {Company Name, Ltd.}
但這會導致這個
[FC13a] Ltd. Full Company Name
我讀過速記應該有幫助,但我沒有成功。
答案1
你有沒有嘗試過{{Full Company Name Ltd}}
?這樣,Full Company Name Ltd
就可以理解為名字了。在其他方面,首先Ltd
被理解為姓氏以及名字Full Company Name
和中間名。對於逗號,BibTeX 中姓名的格式為Family, Given
,因此在這種情況下Full Company Name
是姓氏,Ltd
是名字。
texdoc bibtex
根據BibTeX 手冊,可以使用MANUAL
或代替。在這種情況下,該欄位優先於。因此你可以嘗試使用 PROCEEDINGS
organization
author
key
organization
@misc{webpage1,
key = {CompanyName},
organization = {Company Name, Ltd.},
title="The company's webplatform",
howpublished = "\url{http://company.com}",
lastchecked = {01.01.2013},
year = 2013
}
答案2
如果你不喜歡正確的方法,我建議一個 hack:
\newcommand{\Bibkeyhack}[3]{}
像使用它一樣
author = {This Is The Author\Bibkeyhack LAU}
完整答案這裡。