From: Thomas Pietrzak Date: Mon, 14 Feb 2022 08:03:27 +0000 (+0100) Subject: highlight nom dans biblio X-Git-Tag: first-full-draft~62 X-Git-Url: https://git.thomaspietrzak.com/?a=commitdiff_plain;h=177893b2926ade290e9708792ef5fb5f6563d350;p=hdr.git highlight nom dans biblio --- diff --git a/mystyle.sty b/mystyle.sty index 1a7d34f..8f00993 100644 --- a/mystyle.sty +++ b/mystyle.sty @@ -554,8 +554,19 @@ } \DeclareFieldFormat{title}{\usebibmacro{string+doiurlisbn}{#1}} -\DeclareFieldFormat*{title}% - {\usebibmacro{string+doiurlisbn}{#1}} +\DeclareFieldFormat*{title}{\usebibmacro{string+doiurlisbn}{#1}} % don't split references \patchcmd{\bibsetup}{\interlinepenalty=5000}{\interlinepenalty=10000}{}{} + +% highlight authors 2: +% author+an = {2=highlight}, +\renewcommand*{\mkbibnamegiven}[1]{% + \ifitemannotation{highlight} + {\textbf{#1}} + {#1}} + +\renewcommand*{\mkbibnamefamily}[1]{% + \ifitemannotation{highlight} + {\textbf{#1}} + {#1}} \ No newline at end of file