I'm looking for a bibliography style (in bibtex) that displays the web url of the references AND also writes the names of the authors of each reference in bold, e.g.
Smith, Nick and John Zeigler, "How to become rich", Journal of Dreams, 2007, 74 (2), 391-415. URL https://blurp.org/a/dreams/issue/16-340.html
I have used \bibliographystyle{plainnat}
which gets the url right but doesn't display the authors in bold, and \bibliographystyle{aer}
which displays the authors in bold but doesn't write the url.
Remark: I know it can probably be done with biblatex but I would like to know specifically if there is a way to do it with bibtex. Is there a bibliography style that gets it done right?
I attach below a sample document
\documentclass[a4paper,12pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amsmath}
%\usepackage{floats}
\setcounter{MaxMatrixCols}{10}
\thispagestyle{empty}
\setcounter{secnumdepth}{0}
\setlength{\topmargin}{-1.0in}
\setlength{\textheight}{9.25in}
\setlength{\oddsidemargin}{0.0in}
\setlength{\evensidemargin}{0.0in}
\setlength{\textwidth}{6.5in}
\usepackage[authoryear]{natbib}
\usepackage[plainpages=false,breaklinks=true,colorlinks=true,urlcolor=magenta,
citecolor=blue,linkcolor=blue,bookmarks=true,bookmarksopen=true,
bookmarksopenlevel=1,pdfstartview=FitH,pdfview=FitH]{hyperref}
\begin{document}
Bla bla \citet{CK_jme2006}
\bibliography{macro_firstyear_biblio}
%\bibliographystyle{aer} % OK but only bold
\bibliographystyle{plainnat} % OK but only url
\end{document}
Best Answer
You can modify
plainnat.bst
so that it prints the author/editor list in bold.plainnat.bst
on your machine (withkpsewhich plainnat.bst
) or download it from CTAN at http://mirrors.ctan.org/macros/latex/contrib/natbib/plainnat.bstplainnat-boldauthors.bst
. This is strongly recommended. Using the old name will only lead to confusion.Add a new function
after the definition of
FUNCTION {emphasize}
.For each entry type
<type>
addbold
after the call toformat.authors
/format.editors
in initial position so that, e.g. inFUNCTION {article}
becomes
etc.
You can find a ready-made copy of the modified file at https://gist.github.com/moewew/b5b57513bbe6e4ec51ca70d098b72913, the diff to
plainnat.bst
isThen you just use
plainnat-boldauthors
instead ofplainnat
in your documentsSince you mention
biblatex
, version 3.12 makes it very easy to get bold name lists