summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex2bibitem/biblatex2bibitem-hyperref.tex
diff options
context:
space:
mode:
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}