summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex2bibitem/biblatex2bibitem-hyperref.tex
blob: ff139a9af2ac2335729819d868732c8e2b1a3b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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}