summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex2bibitem/biblatex2bibitem-hyperref.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-30 03:00:57 +0000
committerNorbert Preining <norbert@preining.info>2021-10-30 03:00:57 +0000
commitf6b069c5441e2ba598b97c269ac8d00977606ef6 (patch)
tree36dd70aa94191ec75988c91a2e5c35db0fe61035 /macros/latex/contrib/biblatex2bibitem/biblatex2bibitem-hyperref.tex
parent1f549499c63bd9e6345c4015f74a5475cb7fd2fa (diff)
CTAN sync 202110300300
Diffstat (limited to 'macros/latex/contrib/biblatex2bibitem/biblatex2bibitem-hyperref.tex')
-rw-r--r--macros/latex/contrib/biblatex2bibitem/biblatex2bibitem-hyperref.tex43
1 files changed, 43 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex2bibitem/biblatex2bibitem-hyperref.tex b/macros/latex/contrib/biblatex2bibitem/biblatex2bibitem-hyperref.tex
new file mode 100644
index 0000000000..ff139a9af2
--- /dev/null
+++ b/macros/latex/contrib/biblatex2bibitem/biblatex2bibitem-hyperref.tex
@@ -0,0 +1,43 @@
+\documentclass[british]{article}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\usepackage{babel}
+\usepackage{csquotes}
+
+\usepackage{amssymb} % Just for \mathbb
+
+
+\usepackage{xcolor}
+\usepackage[colorlinks]{hyperref}
+\makeatletter
+\Hy@AtBeginDocument{%
+ \def\@pdfborder{0 0 1}% Overrides border definition set with colorlinks=true
+ \def\@pdfborderstyle{/S/U/W 1}% Overrides border style set with colorlinks=true
+ % Hyperlink border style will be underline of width 1pt
+}
+\makeatother
+\hypersetup{%
+ colorlinks=true,% hyperlinks will be coloured
+ linkcolor=blue,% hyperlink text will be blue
+ urlcolor=blue,% hyperlink text will be blue
+ linkbordercolor=red,% hyperlink border will be red
+ urlbordercolor=red,% hyperlink border will be red
+}
+
+\usepackage[backend=biber,style=alphabetic,citestyle=alphabetic,backref]{biblatex}
+\addbibresource{biblatex-examples.bib}
+\addbibresource{biblatex2bibitem-examples.bib}
+
+\usepackage{biblatex2bibitem}
+
+\begin{document}
+\cite{sigfridsson,knuth:ct:e}.
+
+See also \cite{solymosi2010question,halbeisen2019geometric,Kohnert2006IntegralPS}.
+
+\newpage
+
+\printbibliography
+
+\printbibitembibliography
+\end{document}