Skip to content

Commit 5d682a3

Browse files
committed
more name bolding and spacing fixes
1 parent 345624c commit 5d682a3

1 file changed

Lines changed: 7 additions & 45 deletions

File tree

‎cv.tex‎

Lines changed: 7 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
% \cvbibname: bold name for usera fields and boldifown.
230230
% Keeps \sffamily (matching bib body font) but forces series b (Bold),
231231
% overriding the \fontseries{l} (Light) set by \bodyfontlight.
232-
\newcommand{\cvbibname}[1]{{\normalfont\bfseries #1}}
232+
\newcommand{\cvbibname}[1]{{\sffamily\fontseries{b}\selectfont #1}}
233233

234234
\DeclareFieldFormat{usera}{#1}
235235

@@ -246,15 +246,18 @@
246246
% just before bibliography output — after all style hooks — and is the reliable
247247
% point to set these aliases. Belt-and-suspenders: also set in preamble and AtBeginDocument.
248248
\DeclareNameAlias{author}{boldifown}
249+
\DeclareNameAlias{sortname}{boldifown}% numeric style routes through sortname
249250
\DeclareNameAlias{editor}{boldifown}
250251
\DeclareNameAlias{inventor}{boldifown}% @patent entries use inventor list
251252
\AtBeginDocument{%
252253
\DeclareNameAlias{author}{boldifown}%
254+
\DeclareNameAlias{sortname}{boldifown}%
253255
\DeclareNameAlias{editor}{boldifown}%
254256
\DeclareNameAlias{inventor}{boldifown}%
255257
}
256258
\AtBeginBibliography{%
257259
\DeclareNameAlias{author}{boldifown}%
260+
\DeclareNameAlias{sortname}{boldifown}%
258261
\DeclareNameAlias{editor}{boldifown}%
259262
\DeclareNameAlias{inventor}{boldifown}%
260263
}
@@ -264,45 +267,6 @@
264267
% NOT in the note field. See journals.bib and conference.bib for examples.
265268
% Entries with note = {* equal contributions...} should have that note removed.
266269

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-
306270
\addbibresource{refs/journals.bib}
307271
\addbibresource{refs/preprints.bib}
308272
\addbibresource{refs/conference.bib}
@@ -500,9 +464,6 @@
500464
% Load preset overrides (must come after all \newtoggle/\def declarations).
501465
\input{cv-preset}
502466

503-
% Increase vertical space before each section heading (default is 3mm).
504-
\renewcommand{\acvSectionTopSkip}{7mm}
505-
506467
% First-pass guard: skip all \printbibliography calls until the .bbl exists.
507468
% This prevents xelatex from crashing before biber has run, which would
508469
% produce a malformed .bcf that biber then refuses to process.
@@ -562,7 +523,8 @@
562523
% cvitems (defined in awesome-cv.cls) ends with \vspace{1.0mm}, which adds
563524
% extra trailing space after entries with bullet items vs those without,
564525
% 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.
566528
\renewenvironment{cvitems}{%
567529
\vspace{-4.0mm}%
568530
\begin{justify}%
@@ -572,7 +534,7 @@
572534
}{%
573535
\end{itemize}%
574536
\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
576538
}
577539

578540
%------------------------------------------------------------------------------

0 commit comments

Comments
 (0)