natbib 中的字母分配问题

natbib 中的字母分配问题

我正在使用 LyX 撰写文档。但我的参考书目存在问题:

我使用natbibplainnat作为选项。但正如您所见,LyX 没有为日期分配正确的字母。

以“R”开头的条目应该有字母“a”,以“S”开头的条目应该有字母“b”。我该如何解决?

在此处输入图片描述


    @InCollection{carston_2012,
  author    = {Robyn Carston},
  booktitle = {The Cambridge Handbook of Pragmatics},
  publisher = {Cambridge University Press},
  title     = {{Metaphor and the literal/non-literal distinction}},
  year      = {2012},
  editor    = {Keith Allan and Kasia M. Jaszczolt},
  pages     = {469--492},
}


@Article{lewis1988a,
  author  = {David Lewis},
  journal = {Theoria},
  title   = {{Relevant Implication}},
  year    = {1988},
  number  = {3},
  pages   = {161-174},
  volume  = {54},
}


@Article{1988b,
  author  = {David Lewis},
  journal = {Philosophical Papers},
  title   = {Statements Partly About Observation},
  year    = {1988},
  number  = {1},
  pages   = {1--31},
  volume  = {17},
}

\usepackage{tabularx}
\usepackage{setspace}
\usepackage{amsthm}
\usepackage{rotating}
\usepackage{caption}
\usepackage{epsfig}
\usepackage{indentfirst}
\usepackage{fancyhdr}
\usepackage{url}
\usepackage{cite}
\usepackage[normalem]{ulem}
\usepackage[table]{xcolor}
\usepackage{booktabs}
\usepackage{algpseudocode}





\fancypagestyle{plain}{
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyfoot[OC]{\begin{flushright}\thepage\end{flushright}}
}



\fancyhead{}
\fancyhead[LE]{\slshape \nouppercase \leftmark}
\fancyhead[RO]{\slshape \nouppercase \rightmark}
\fancyfoot[EC]{\begin{flushleft}\thepage\end{flushleft}}
\fancyfoot[OC]{\begin{flushright}\thepage\end{flushright}}
\renewcommand{\headrulewidth}{0.4pt}
\setlength{\headheight}{14pt}

答案1

(评论太长,因此作为答案发布)

以下测试文档使用了您目前选择分享的信息,它确实不是重现您声称要修复的问题。

在此处输入图片描述

请检查未修改您系统上的版本plainnat.bst复制了上面的屏幕截图。如果确实如此,那么罪魁祸首一定是您对 所做的个人更改plainnat

\documentclass{article}
\begin{filecontents}[overwrite]{mybib.bib}
@Article{lewis1988a,
  author  = {David Lewis},
  journal = {Theoria},
  title   = {{Relevant Implication}},
  year    = {1988},
  number  = {3},
  pages   = {161-174},
  volume  = {54},
}
@Article{lewis1988b,
  author  = {David Lewis},
  journal = {Philosophical Papers},
  title   = {Statements Partly About Observation},
  year    = {1988},
  number  = {1},
  pages   = {1--31},
  volume  = {17},
}
\end{filecontents}

\usepackage{natbib}
\bibliographystyle{plainnat}

\begin{document}
\nocite{*}
\bibliography{mybib}
\end{document}

相关内容