UG: add comment about underlined links in pdf from ##13105.

This commit is contained in:
Pavel Sanda 2024-09-29 22:23:40 +02:00
parent 75f467fa13
commit 475d8e6433

View File

@ -39048,25 +39048,44 @@ status open
\begin_layout Plain Layout \begin_layout Plain Layout
\change_inserted 5863208 1727201632 \change_inserted 5863208 1727641281
The "colorlinks" option in the hyperref package disables the borders at the beginning of the document. The "colorlinks" option in the hyperref package disables the frames around links at the beginning of the document.
If you want both you need to add the following to the preamble after enabling colored links If you want both you need to add the following to the preamble after enabling colored links:
\begin_inset Flex Code \begin_inset Flex Code
status open status open
\begin_layout Plain Layout \begin_layout Plain Layout
\change_inserted 5863208 1727201632 \change_inserted 5863208 1727641266
\backslash \backslash
AtBeginDocument{ AtBeginDocument{
\backslash \backslash
hypersetup{pdfborder=0 0 1}} hypersetup{pdfborder=0 0 1}}
\change_unchanged
\end_layout \end_layout
\end_inset \end_inset
.
In similar vein
\begin_inset Flex Code
status open
\begin_layout Plain Layout
\change_inserted 5863208 1727641281
pdfborderstyle={/S/U/W 1}
\change_unchanged
\end_layout
\end_inset
can be used for underline style instead of frames.
Consult hyperref manual for details.
\end_layout \end_layout
\end_inset \end_inset