
この論文のスタイルを再現するために、hyperref 環境を設定しようとしています。https://iopscience.iop.org/article/10.1088/1126-6708/2000/04/018/pdf
しかし、どうも理解できないようで、私が見つけたハイパーリファレンスのマニュアルはどれも非常に技術的で、説明が不十分です。皆さん、助けてくれませんか?
答え1
これはあなたが探しているもののようなものですか? リンクした例では、脚注を除くすべての種類のリンクの周囲に青い破線の境界線があるように見えます。脚注を除いてこれを再現しようと最善を尽くしましたが、 で脚注を無効にしましたhyperfootnotes=false
。
以下のコードでは、pdfborderstyle
の 2 つの数値は、[3.5 2.5]
それぞれ各ダッシュの長さとダッシュ間のギャップ サイズをポイント単位で制御します。 の後の数値は、W
ポイント単位でのダッシュの幅 (太さ) です。
\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}