Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DeclareFieldFormat{title}{usebibmacro{string+doiurlisbn}{mkbibemph{#1}}}
- DeclareFieldFormat[article,incollection]{title}%
- {usebibmacro{string+doiurlisbn}{mkbibquote{#1}}}
- DeclareFieldFormat{title}{%
- usebibmacro{string+doiurlisbn}{mkbibemph{#1}}}
- DeclareFieldFormat
- [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
- {title}{usebibmacro{string+doiurlisbn}{mkbibquote{#1isdot}}}
- DeclareFieldFormat
- [suppbook,suppcollection,suppperiodical]
- {title}{usebibmacro{string+doiurlisbn}{#1}}
- documentclass{article}
- usepackage[doi=false,url=false,isbn=false]{biblatex}
- usepackage[colorlinks]{hyperref}
- newbibmacro{string+doiurlisbn}[1]{%
- iffieldundef{doi}{%
- iffieldundef{url}{%
- iffieldundef{isbn}{%
- iffieldundef{issn}{%
- #1%
- }{%
- href{http://books.google.com/books?vid=ISSNthefield{issn}}{#1}%
- }%
- }{%
- href{http://books.google.com/books?vid=ISBNthefield{isbn}}{#1}%
- }%
- }{%
- href{thefield{url}}{#1}%
- }%
- }{%
- href{http://dx.doi.org/thefield{doi}}{#1}%
- }%
- }
- DeclareFieldFormat{title}{%
- usebibmacro{string+doiurlisbn}{mkbibemph{#1}}}
- DeclareFieldFormat
- [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
- {title}{usebibmacro{string+doiurlisbn}{mkbibquote{#1isdot}}}
- DeclareFieldFormat
- [suppbook,suppcollection,suppperiodical]
- {title}{usebibmacro{string+doiurlisbn}{#1}}
- begin{filecontents}{jobname.bib}
- @phdthesis{elk,
- author = {Anne Elk},
- year = {1972},
- title = {A Theory on Brontosauruses},
- url = {https://example.edu/~elk/bronto.pdf},
- institution = {Monty University},
- }
- end{filecontents}
- addbibresource{jobname.bib}
- nocite{*}
- begin{document}
- printbibliography
- end{document}
Add Comment
Please, Sign In to add comment