对于我的简历(pdflatex),我喜欢添加我的出版物(BibTex),但无法摆脱引用条目的键/索引。不幸的是,我喜欢使用一种特殊的mstyle.bst文件(不是我自己做的)
%% This is file `mstyle.bst',
%% generated with the docstrip utility. - The original source files were:
%% merlin.mbs ... german.mbs ... merlin.mbs ...
我需要做哪些更改才能隐藏/删除此引用[键]:
例子:
\begin{filecontents*}{Literatur.bib}
@article{article001,
author = {Hans Mustermann},
title = {Einfach nur ein Titel},
number = {ABCD-E/2008/de/1234},
institution = {Firma AG},
year = {2008}
}
@article{article002,
author = {Hans-Dieter Müller},
title = {Noch ein Titel},
number = {ABCD-E/2007/en/1234},
institution = {Firma AG},
year = {2007}
}
\end{filecontents*}
\documentclass{scrreprt}
\usepackage[ngerman]{babel}
\begin{document}
%% -- CV Body --
\bibliography{Literatur} % Bib File
\bibliographystyle{plain} % I use my mstyle here
\nocite{*}
\end{document}
答案1
您可以尝试删除所有与列表相关的间距,以及删除\@biblabel
打印的方式(只要\@gobble
它是参数即可):
\documentclass{scrreprt}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{article001,
author = {Hans Mustermann},
title = {Einfach nur ein Titel},
number = {ABCD-E/2008/de/1234},
institution = {Firma AG},
year = {2008}
}
@article{article002,
author = {Hans-Dieter Müller},
title = {Noch ein Titel},
number = {ABCD-E/2007/en/1234},
institution = {Firma AG},
year = {2007}
}
\end{filecontents*}
\begin{document}
\nocite{*}
\bibliographystyle{plain} % bibliography style
\makeatletter
\setlength{\itemindent}{0pt}
\setlength{\labelsep}{0pt}
\setlength{\labelwidth}{0pt}
\let\@biblabel\@gobble
\makeatother
\bibliography{\jobname} % bibliography file
\end{document}