|
229 | 229 | % \cvbibname: bold name for usera fields and boldifown. |
230 | 230 | % Keeps \sffamily (matching bib body font) but forces series b (Bold), |
231 | 231 | % overriding the \fontseries{l} (Light) set by \bodyfontlight. |
232 | | -\newcommand{\cvbibname}[1]{{\normalfont\bfseries #1}} |
| 232 | +\newcommand{\cvbibname}[1]{{\sffamily\fontseries{b}\selectfont #1}} |
233 | 233 |
|
234 | 234 | \DeclareFieldFormat{usera}{#1} |
235 | 235 |
|
|
246 | 246 | % just before bibliography output — after all style hooks — and is the reliable |
247 | 247 | % point to set these aliases. Belt-and-suspenders: also set in preamble and AtBeginDocument. |
248 | 248 | \DeclareNameAlias{author}{boldifown} |
| 249 | +\DeclareNameAlias{sortname}{boldifown}% numeric style routes through sortname |
249 | 250 | \DeclareNameAlias{editor}{boldifown} |
250 | 251 | \DeclareNameAlias{inventor}{boldifown}% @patent entries use inventor list |
251 | 252 | \AtBeginDocument{% |
252 | 253 | \DeclareNameAlias{author}{boldifown}% |
| 254 | + \DeclareNameAlias{sortname}{boldifown}% |
253 | 255 | \DeclareNameAlias{editor}{boldifown}% |
254 | 256 | \DeclareNameAlias{inventor}{boldifown}% |
255 | 257 | } |
256 | 258 | \AtBeginBibliography{% |
257 | 259 | \DeclareNameAlias{author}{boldifown}% |
| 260 | + \DeclareNameAlias{sortname}{boldifown}% |
258 | 261 | \DeclareNameAlias{editor}{boldifown}% |
259 | 262 | \DeclareNameAlias{inventor}{boldifown}% |
260 | 263 | } |
|
264 | 267 | % NOT in the note field. See journals.bib and conference.bib for examples. |
265 | 268 | % Entries with note = {* equal contributions...} should have that note removed. |
266 | 269 |
|
267 | | -% Custom @misc driver: identical to standard.bbx except \printfield{note} |
268 | | -% is moved to AFTER \finentry (which appends the closing period), on its own |
269 | | -% line. This puts the scicomm "Authors contributed equally..." note below the |
270 | | -% citation without a stray period before it. |
271 | | -\DeclareBibliographyDriver{misc}{% |
272 | | - \usebibmacro{bibindex}% |
273 | | - \usebibmacro{begentry}% |
274 | | - \usebibmacro{author/editor+others/translator+others}% |
275 | | - \setunit{\printdelim{nametitledelim}}\newblock |
276 | | - \usebibmacro{title}% |
277 | | - \newunit |
278 | | - \printlist{language}% |
279 | | - \newunit\newblock |
280 | | - \usebibmacro{byauthor}% |
281 | | - \newunit\newblock |
282 | | - \usebibmacro{byeditor+others}% |
283 | | - \newunit\newblock |
284 | | - \printfield{howpublished}% |
285 | | - \newunit\newblock |
286 | | - \printfield{type}% |
287 | | - \newunit |
288 | | - \printfield{version}% |
289 | | - \newunit\newblock |
290 | | - \usebibmacro{organization+location+date}% |
291 | | - \newunit\newblock |
292 | | - \usebibmacro{doi+eprint+url}% |
293 | | - \newunit\newblock |
294 | | - \usebibmacro{addendum+pubstate}% |
295 | | - \setunit{\bibpagerefpunct}\newblock |
296 | | - \usebibmacro{pageref}% |
297 | | - \newunit\newblock |
298 | | - \iftoggle{bbx:related} |
299 | | - {\usebibmacro{related:init}% |
300 | | - \usebibmacro{related}} |
301 | | - {}% |
302 | | - \usebibmacro{finentry}% |
303 | | - \iffieldundef{note}{}{\par\smallskip\printfield{note}}% |
304 | | -} |
305 | | - |
306 | 270 | \addbibresource{refs/journals.bib} |
307 | 271 | \addbibresource{refs/preprints.bib} |
308 | 272 | \addbibresource{refs/conference.bib} |
|
500 | 464 | % Load preset overrides (must come after all \newtoggle/\def declarations). |
501 | 465 | \input{cv-preset} |
502 | 466 |
|
503 | | -% Increase vertical space before each section heading (default is 3mm). |
504 | | -\renewcommand{\acvSectionTopSkip}{7mm} |
505 | | - |
506 | 467 | % First-pass guard: skip all \printbibliography calls until the .bbl exists. |
507 | 468 | % This prevents xelatex from crashing before biber has run, which would |
508 | 469 | % produce a malformed .bcf that biber then refuses to process. |
|
562 | 523 | % cvitems (defined in awesome-cv.cls) ends with \vspace{1.0mm}, which adds |
563 | 524 | % extra trailing space after entries with bullet items vs those without, |
564 | 525 | % causing uneven gaps when the pretocmd adds a fixed 8pt before the next entry. |
565 | | -% Redefine here to use \vspace{-1.0mm} instead, making all inter-entry gaps uniform. |
| 526 | +% Redefine here to use \vspace{-2.0mm} to fully cancel the 1mm trailing + partial |
| 527 | +% compensation, making all inter-entry gaps uniform. |
566 | 528 | \renewenvironment{cvitems}{% |
567 | 529 | \vspace{-4.0mm}% |
568 | 530 | \begin{justify}% |
|
572 | 534 | }{% |
573 | 535 | \end{itemize}% |
574 | 536 | \end{justify}% |
575 | | - \vspace{-2.0mm}% tuned to match non-bullet inter-entry gap |
| 537 | + \vspace{-2.0mm}% was 1.0mm in cls; increased negation for uniform inter-entry gaps |
576 | 538 | } |
577 | 539 |
|
578 | 540 | %------------------------------------------------------------------------------ |
|
0 commit comments