You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\usepackage[style=apa,
citestyle=numeric, % <-- add this option so numbers are used
defernumbers=true, % <-- add this option so numbers reset with each section
backend=biber,
sortcites=true,
sorting=ydmdnt,
language=american]{biblatex}
Second, change the \defbibenvironment{mybib} from:
% no letter for same year entries\defbibenvironment{mybib}
{\list
{}
{\setlength{\leftmargin}{\bibhang}%\setlength{\itemindent}{-\leftmargin}%\setlength{\itemsep}{\bibitemsep}%\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\clearfield{extradate}\item}
to
% no letter for same year entries\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}}
\defbibenvironment{mybib}
{\list
{\printtext[labelnumberwidth]{%\printfield{labelprefix}%\printfield{labelnumber}}}
{\setlength{\labelwidth}{\labelnumberwidth}%\setlength{\leftmargin}{\labelwidth}%\setlength{\labelsep}{\biblabelsep}%\addtolength{\leftmargin}{\labelsep}%\setlength{\itemsep}{\bibitemsep}%\setlength{\parsep}{\bibparsep}}%\renewcommand*{\makelabel}[1]{\hss##1}}
{\endlist}
{\clearfield{extradate}\item}
Results
Original
### Numbered
Changes in numbered branch
Alternately, you can git checkout numbered branch, which includes these changes.
The text was updated successfully, but these errors were encountered:
Question
Someone emailed to ask whether it was possible to number publications. Here's a solution that I think will work.
h/t
Changes in
cv.tex
to number bibliography entries (but still APA style and reverse chronological order)First, change the options in
\usepackage{biblatex}
from:\usepackage[style=apa, backend=biber, sortcites=true, sorting=ydmdnt, language=american]{biblatex}
to
Second, change the
\defbibenvironment{mybib}
from:to
Results
Original
### Numbered
Changes in
numbered
branchAlternately, you can
git checkout numbered
branch, which includes these changes.The text was updated successfully, but these errors were encountered: