From c0fb14edeffc78016dba4ea4b2f47de364f64f60 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Mar 2026 06:48:38 +0000 Subject: [PATCH 1/3] Initial plan From 7ea8eadb87acf33bc245383c7227e4f14ad7fb7f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Mar 2026 07:03:25 +0000 Subject: [PATCH 2/3] Fix biblatex label width for reversed double-digit reference numbers Co-authored-by: kbuffardi <8324410+kbuffardi@users.noreply.github.com> Agent-Logs-Url: https://github.com/kbuffardi/cv/sessions/36c68077-9367-4330-a9cd-10fec7579b20 --- main.tex | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/main.tex b/main.tex index 51c1405..9e7058a 100644 --- a/main.tex +++ b/main.tex @@ -51,6 +51,28 @@ \DeclareFieldFormat{labelnumber}{\mkbibdesc{#1}} \newrobustcmd*{\mkbibdesc}[1]{% \number\numexpr\csuse{entrycount:\therefsection}+1-#1\relax} +% Fix label width so every line of every reference is indented consistently, +% regardless of whether the displayed number has one, two, or three digits. +% With reversed numbering, internal label N maps to displayed "1" and internal +% label 1 maps to the highest displayed number (= entrycount). biblatex sizes +% \labelnumberwidth from the largest *internal* number, which after reversal is +% the *smallest* displayed number, making the box too narrow for double-digit +% (or larger) displayed labels. Redefining the bibliography environment here +% forces the box width to match the actual maximum displayed number. +\defbibenvironment{bibliography} + {\list + {\printtext[labelnumberwidth]{% + \printfield{labelprefix}% + \printfield{labelnumber}}} + {\settowidth{\labelnumberwidth}{[\csuse{entrycount:\therefsection}]}% + \setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {} + {\endlist} \newcommand{\bibliofont}{\small} \setlength{\bibitemsep}{0.22\baselineskip} From dbafc06e7d1d9ac97b539779179bd15d3a20658e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Mar 2026 07:15:06 +0000 Subject: [PATCH 3/3] Fix defbibenvironment argument order and missing labelsep setting Co-authored-by: kbuffardi <8324410+kbuffardi@users.noreply.github.com> Agent-Logs-Url: https://github.com/kbuffardi/cv/sessions/dac6bc00-b44f-4f39-aecd-0238192cc743 --- main.tex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.tex b/main.tex index 9e7058a..4439516 100644 --- a/main.tex +++ b/main.tex @@ -67,12 +67,13 @@ {\settowidth{\labelnumberwidth}{[\csuse{entrycount:\therefsection}]}% \setlength{\labelwidth}{\labelnumberwidth}% \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% \addtolength{\leftmargin}{\labelsep}% \setlength{\itemsep}{\bibitemsep}% \setlength{\parsep}{\bibparsep}}% \renewcommand*{\makelabel}[1]{\hss##1}} - {} {\endlist} + {\item} \newcommand{\bibliofont}{\small} \setlength{\bibitemsep}{0.22\baselineskip}