IEEEtrans BiBTeX 风格:如何引用完整的作者姓名(未缩写的名字)?

IEEEtrans BiBTeX 风格:如何引用完整的作者姓名(未缩写的名字)?

我想引用作者姓名作为例子

安妮·M·简

请帮忙

\documentclass[a4paper,12pt]{article}
\renewcommand{\baselinestretch}{1.5}
% all heading are same font size++++++++++++++++++++++++++++++
\usepackage{titlesec}

\titleformat*{\section}{\large\bfseries\sffamily}
\titleformat*{\subsection}{\large\bfseries\sffamily}
\titleformat*{\subsubsection}{\large\bfseries\sffamily}
%------------------------------------------------------------------

\usepackage{fontspec}
%\setmainfont{Georgia}
\setmainfont{Times New Roman}

\usepackage[table,xcdraw]{xcolor}
\usepackage{pgf}
\usepackage{pgfpages}
\usepackage{ragged2e}
\usepackage{tikz}
\usepackage{gensymb}
\usepackage{wrapfig}
%\usepackage{amssymb, amsfonts, amsthm, fouriernc}
\usepackage{graphicx}
\usepackage{float}
\usepackage{array}
\usepackage{tabto}
%\usepackage[hidelinks]{hyperref}
\usepackage[none]{hyphenat}
%\usepackage{background}
\usetikzlibrary{calc}
\usepackage{lipsum}
\usepackage{soul}
\usepackage{datetime}
\newdate{date}{23}{09}{2016}
\date{\displaydate{date}}
\usepackage[normalem]{ulem}
\usepackage{caption}
\usetikzlibrary{calc}
\newcommand\HRule{\rule{\textwidth}{1pt}}
\usepackage{tabularx} % extra features for tabular environment
\usepackage{amsmath}  % improve math presentation
\usepackage{graphicx} % takes care of graphic including machinery
\usepackage[left=3cm,right=1in,top=1in,bottom=1in]{geometry} % decreases margins
\usepackage{cite} % takes care of citations
\usepackage[final]{hyperref} % adds hyper links inside the generated pdf file
\hypersetup{
    colorlinks=true,       % false: boxed links; true: colored links
    linkcolor=blue,        % color of internal links
    citecolor=blue,        % color of links to bibliography
    filecolor=magenta,     % color of file links
    urlcolor=blue         
}

%\usepackage{biblatex}
\usepackage{xfrac}
\usepackage[version=4]{mhchem}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyfoot[R]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\renewcommand{\labelitemi}{$\ast$}
\renewcommand{\labelitemii}{$\diamond$}
\renewcommand{\labelitemiii}{$\bullet$}
%\renewcommand{\labelitemiii}{$\diamond$}
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\begin{document}
identified : congruent, incongruent and semi-congruent melting\cite{Anne}.
\cleardoublepage

\bibliographystyle{IEEEtran}
\bibliography{LiteratureReveiw}



\end{document}

/////////////////

@MastersThesis{Anne,
  author = {Mallow,Anne. M.},
  title  = {STABLE PARAFFIN COMPOSITES FOR LATENT HEAT THERMAL STORAGE SYSTEMS},
  school = {Georgia Institute of Technology},
  year   = {2015},
}

答案1

您必须做四件事。在文档的序言中(即在\documentclass{...}和之间\begin{document}),您必须插入以下几行:

\makeatletter
\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}}
\def\@bstctlcite[#1]#2{\@bsphack
  \@for\@citeb:=#2\do{%
    \edef\@citeb{\expandafter\@firstofone\@citeb}%
    \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}%
  \@esphack}
\makeatother

这些命令定义了一个命令\bstctlcite。你必须在之后立即使用此命令,\begin{document}如下所示:

\bstctlcite{BSTcontrol}

创建文件myIEEE.bib;使用普通文本编辑器(用于纯文本)并输入奇怪的 BibTeX 条目

@IEEEtranBSTCTL{BSTcontrol,
    CTLname_format_string = "{ff~}{vv~}{ll}{, jj}"
}

作为单个条目(或者,您可以将此条目放入常规bib文件中)。最后,修改\bibliography文档中的命令,使其内容为

\bibliography{myIEEE, ... your bib files ...}

例子

PDF 文档

在此处输入图片描述

example.tex是由包含以下项的文件生成的:

\documentclass{article}
\makeatletter
\def\bstctlcite{\@ifnextchar[{\@bstctlcite}{\@bstctlcite[@auxout]}}
\def\@bstctlcite[#1]#2{\@bsphack
  \@for\@citeb:=#2\do{%
    \edef\@citeb{\expandafter\@firstofone\@citeb}%
    \if@filesw\immediate\write\csname #1\endcsname{\string\citation{\@citeb}}\fi}%
  \@esphack}
\makeatother
\begin{document}
\bstctlcite{BSTcontrol}

identified : congruent, incongruent and semi-congruent melting\cite{Anne}.

\bibliographystyle{IEEEtran}
\bibliography{myIEEE,LiteratureReview}
\end{document}

myIEEE.bib以及包含以下书目文件

@IEEEtranBSTCTL{BSTcontrol,
    CTLname_format_string = "{ff~}{vv~}{ll}{, jj}"
}

LiteratureReview.bib包含

@MastersThesis{Anne,
  author = {Mallow, Anne M.},
  title  = {STABLE PARAFFIN COMPOSITES FOR LATENT HEAT THERMAL STORAGE SYSTEMS},
  school = {Georgia Institute of Technology},
  year   = {2015},
}

通过运行命令

pdflatex example.tex
bibtex example
pdflatex example.tex
pdflatex example.tex

(当然你也可以使用其他 TeX 变体,比如lualatex,也应该可以正常工作。)

链接

如何使用 IEEEtran BibTeX 样式,第七节

Oren Patashnik:设计 BibTeX 样式,第 5 节

相关内容