
Estou tentando configurar meu ambiente hyperref para replicar o estilo deste artigo:https://iopscience.iop.org/article/10.1088/1126-6708/2000/04/018/pdf
Mas não consigo entender e todos os manuais de hiperref que encontro são bastante técnicos e não ilustrativos, vocês podem me ajudar?
Responder1
Isso é algo parecido com o que você está procurando? No exemplo que você vinculou, parece que todo tipo de link tem uma borda azul tracejada ao redor, exceto notas de rodapé. Eu tentei o meu melhor para recriar isso sem as notas de rodapé, que desativei com hyperfootnotes=false
.
No código abaixo, pdfborderstyle
os dois números [3.5 2.5]
controlam o comprimento de cada traço e o tamanho do intervalo entre os traços, respectivamente, conforme medido em unidades de pontos. O número a seguir W
é a largura (espessura) dos traços em unidades de pontos.
\documentclass{article}
\usepackage{amsmath}
\usepackage[hyperfootnotes=false]{hyperref}
\hypersetup{
allcolors=blue,
allbordercolors={0 0 1},
pdfborderstyle={/S/D/D[3.5 2.5]/W 1}
}
\begin{document}
\section{Hi there!}
\subsection{Nice to meet you}
\label{sec:greeting}
This is the first sentence in Section \ref{sec:greeting}.
According to some great mathematicians \cite{ExampleCitation}, it can be proved that
\begin{equation}
1 + 1 \neq -1. \tag{Amazing Lemma} \label{eq:astonishing_theorem}
\end{equation}
The \ref{eq:astonishing_theorem} has revolutionized mathematics.\footnote{Want to know a secret? This theorem is actually pretty trivial.}
\begin{thebibliography}{1}
\bibitem{ExampleCitation}
Audrey Author and Carrie Coauthor. 1999. \emph{Example citation}. Retrieved from \url{https://www.example.com}
\end{thebibliography}
\end{document}