Fix inconsistent hanging indent for double-digit reversed bibliography labels#1
Fix inconsistent hanging indent for double-digit reversed bibliography labels#1
Conversation
Co-authored-by: kbuffardi <8324410+kbuffardi@users.noreply.github.com> Agent-Logs-Url: https://github.com/kbuffardi/cv/sessions/36c68077-9367-4330-a9cd-10fec7579b20
kbuffardi
left a comment
There was a problem hiding this comment.
This does not meet the acceptance criteria.
It removes the citation numbering (i.e. [1]) and the last citation has inconsistent indentation
|
@copilot please address the problems identified in the requested changes |
Co-authored-by: kbuffardi <8324410+kbuffardi@users.noreply.github.com> Agent-Logs-Url: https://github.com/kbuffardi/cv/sessions/dac6bc00-b44f-4f39-aecd-0238192cc743
The root cause was a bug in the Fixed in commit dbafc06: corrected argument order to |
|
This revision is good but it is easier to integrate it with the latest CV revisions via Overleaf |
With reversed biblatex numbering, biblatex sizes
\labelnumberwidthfrom the largest internal label (e.g.,42), which\mkbibdescmaps to displayed[1]. The allocated box is single-digit wide, so double-digit displayed labels like[10]–[42]overflow it — pushing the first line of each affected entry further right than its continuation lines.Fix
Override the bibliography list environment via
\defbibenvironment{bibliography}to measure\labelnumberwidthfrom the actual maximum displayed label (=entrycount) rather than the internal one:\settowidth{\labelnumberwidth}{[\csuse{entrycount:\therefsection}]}sizes the label box to the widest possible displayed number, giving uniform indentation across all lines of all entries regardless of digit count.💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.