I have been asked to modify one of the reference in my paper to the following fashion:
LastName1, Initial of First Name1, LastName2, Initial of First Name2, ..., year. Title, Journal.
I am using \documentclass[manuscript]{acmart}
style and for bibliography style as \bibliographystyle{ACM-Reference-Format}
, which renders the default style of the references as FirstName, LastName
. How to modify one of the reference to LastName1, Initial of First Name1
format.
Please note that I want this for only one reference and answer here: Displaying author's name in a bibliographic entry in the form: Surname, First Initial of Firstname modifies all the entries.
If I directly paste the author names in the LastName,Initial of FirstName
fashion in author field of bibtex file, it renders as Initial of FirstName,LastName
fashion.
EDIT (an attempt at producing MWE for this):
\documentclass[manuscript]{acmart}
\usepackage[utf8]{inputenc}
\title{MWE ACMART BIBLIOGRAPHY}
\author{abc}
\date{August 2020}
\begin{document}
\maketitle
\section{Introduction}
\cite{paper1}
\cite{paper2}
\bibliographystyle{ACM-Reference-Format}
\bibliography{main}
\end{document}
My bib file:
@misc{paper1,
title={title},
author={LastName1 and Initial-of-FirstName1. and LastName2 and Initial-of-FirstName2. and LastName3 and Initial-of-FirstName3.},
year={2020},
eprint={xxxx.xxxx},
archivePrefix={arXiv},
primaryClass={cs.SI}
}
@misc{paper2,
title={title},
author={FirstName1 LastName1 and FirstName2 LastName2 and FirstName3 LastName3},
year={2020},
eprint={xxxx.xxxx},
archivePrefix={arXiv},
primaryClass={cs.SI}
}
This is what I get:
What I really want:
LastName1, Initial-of-First-Name1., LastName2, Initial-of-First-Name2. and LastName3, Initial-of-First-Name3. title. arXiv:cs.SI/xxxx.xxxx
\bibliographystyle{ACM-Reference-Format}
you use BibTeX and notbiblatex
, so I'll retag the question accordingly. pdfTeX is also unlikely to be relevant here, so I'll remove it as well. Note that you have a much better chance of getting a good answer quickly if you also include a short example document in your question that shows what you are doing (an MWE: tex.meta.stackexchange.com/q/228/35864).\author
field in that particular bibliographic entry, but, now facing a problem with the last comma. I will attempt by adding a MWE, thanks.author={{LastName1, I.} and {LastName2, I.} and {LastName3, I.}},
It is not impossible for a BibTeX style to support different name formats, but it would be very unusual (at least if I understand what you want correctly) and you'd need a 'flag' to tell BibTeX to format certain names differently. (For future questions note that MWEs with real data can sometimes be easier to understand than those with stuff like 'LastName1, Initial-of-First-Name1.')