I would like the name and year in my bibliography to be bold. For this I used the following LaTeX code:
\usepackage[backend=bibtex, natbib=true, citestyle=numeric, style=numeric, sorting=nty]{biblatex}
\AtBeginBibliography{%
\renewcommand*\mkbibnamefirst[1]{\mkbibbold{#1}}
\renewcommand*\mkbibnamelast[1]{\mkbibbold{#1}}
\renewcommand*\mkbibnameprefix[1]{\mkbibbold{#1}}
\renewcommand*\mkbibnameaffix[1]{\mkbibbold{#1}}
\DeclareFieldFormat{parens}{\mkbibbold{\mkbibparens{#1}}}
\DeclareFieldFormat{date}{\mkbibbold{#1}}
\DeclareFieldFormat{author}{\mkbibbold{#1}}
}
\DeclareNameAlias{sortname}{last-first}
\DeclareNameAlias{default}{last-first}
I write my text on two computers and in both cases I use TeXstudio (with MikTeX). The problem is that on machines (A) the names and years are as desired bold and not on computer (B).
Why? How can I fix this?
\listfilesto your preamble and comparing the logs, see here: http://tex.stackexchange.com/q/13304/101651 – CarLaTeX Feb 15 '17 at 11:08\listfiles? What do the logs say? – CarLaTeX Feb 15 '17 at 11:14biblatexas user. The code above looks like pre-3.3 code, for current versions ofbiblatexyou should apply some modifications, see Biblatex 3.3 name formatting. – moewe Feb 15 '17 at 15:38.logfiles between the two machines differ? Does computer (B) have anything further to say about warnings and errors? – moewe Feb 21 '17 at 07:02biblatex3.3 name formatting question as that is the only thing 'wrong' with your code at the moment. If you have any more information or a proper MWE, don't hesitate to edit your question and it can be reopened. – moewe Feb 25 '17 at 15:36