1 parent 3d004dc commit 07369a9Copy full SHA for 07369a9
1 file changed
preamble/references/doi-eprint-url.tex
@@ -13,7 +13,13 @@
13
%% -> changed from /usr/share/texmf-dist/tex/latex/biblatex-ext/ext-standard.bbx
14
\renewbibmacro*{doi+eprint+url}{%
15
\setlength{\parskip}{0pt} % fix spacing of \fullcite in the body text of the document
16
- \printtext{\par} % doi+eprint+url are printed on a new line
+ \ifboolexpr{
17
+ test {\iffieldundef{doi}} and
18
+ test {\iffieldundef{url}} and
19
+ test {\iffieldundef{eprint}} and
20
+ test {\iffieldundef{github}} and
21
+ test {\iffieldundef{gitlab}}
22
+ }{}{\printtext{\par}} % doi+eprint+url are printed on a new line
23
\footnotesize % make it small, so it (ideally) fits on one line
24
\raggedright % right-align the text (so that there are no overfull hboxes for long URLs)
25
\renewcommand{\newunitpunct}{\space} % no periods on this line
0 commit comments