Skip to content

Instantly share code, notes, and snippets.

@moewew
Created January 30, 2020 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moewew/27384a6c5f73d202653260236f375a1f to your computer and use it in GitHub Desktop.
Save moewew/27384a6c5f73d202653260236f375a1f to your computer and use it in GitHub Desktop.
\documentclass{article}
\usepackage[backend=biber,style=chem-acs]{biblatex}
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map[overwrite]{
\step[fieldsource=shortjournal,fieldtarget=journaltitle]
}
}
}
\begin{filecontents}{\jobname.bib}
@article{rand_objective_1971,
author = {Rand, William M.},
title = {Objective criteria for the evaluation of clustering methods},
journaltitle = {Journal of the American Statistical Association},
shortjournal = {J Amer Statist Assoc},
date = {1971-12},
volume = {66},
number = {336},
pages = {846},
doi = {10.2307/2284239},
urldate = {2013-12-18},
}
@article{hubert_comparing_1985,
author = {Hubert, Lawrence and Arabie, Phipps},
title = {Comparing partitions},
journaltitle = {Journal of Classification},
shortjournal = {J Classif},
date = {1985-12-01},
volume = {2},
number = {1},
pages = {193-218},
doi = {10.1007/BF01908075},
urldate = {2013-12-18},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
This is the main text citing~\parencite{hubert_comparing_1985} and~\parencite{rand_objective_1971}
\printbibliography
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment