mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-25 15:38:35 +00:00
Fix issue with \DeclareNameFormat
## See for details - https://github.com/plk/biblatex/issues/372
This commit is contained in:
parent
1f1bd17583
commit
6c08ff11ff
1 changed files with 10 additions and 3 deletions
|
@ -799,10 +799,17 @@
|
||||||
\par\vspace{0.3\baselineskip}
|
\par\vspace{0.3\baselineskip}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% New syntax for flexible backend (BibLaTeX > v3.3)
|
||||||
\DeclareNameFormat{author}{%
|
\DeclareNameFormat{author}{%
|
||||||
\small\addfontfeature{Color=lightgray}%
|
\small\addfontfeature{Color=lightgray}%
|
||||||
\ifblank{#3}{}{#3\space}#1%
|
\renewcommand*{\multinamedelim}{\addcomma\addspace}%
|
||||||
|
\nameparts{#1}%
|
||||||
|
\ifthenelse{\value{listcount}=1}
|
||||||
|
{\ifblank{\namepartgiven}{}{\namepartgiven\space}%
|
||||||
|
\namepartfamily}%
|
||||||
|
{\ifblank{\namepartgiven}{}{\namepartgiven\space}%
|
||||||
|
\namepartfamily}%
|
||||||
\ifthenelse{\value{listcount}<\value{liststop}}
|
\ifthenelse{\value{listcount}<\value{liststop}}
|
||||||
{\addcomma\space}
|
{\addcomma\space}
|
||||||
{}%
|
{}
|
||||||
}
|
}
|
Loading…
Reference in a new issue