View Single Post
Old 04-29-2012, 10:40 AM   #1
FMP
Enthusiast
FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!FMP , Klaatu Barada Niktu!
 
Posts: 28
Karma: 5106
Join Date: Feb 2012
Device: m92
Colored scribbles in LaTeX-generated pdf files with hyperlinks.

This is a curiosity I wanted to share in case it could be of any use.

I commonly scribble on pdf files generated with LaTeX. In doing so, I noticed that the scribbles on a page with a hyperlink happen to be merged into pdf with the color of the hyperlink.

For instance, running pdflatex on the file:

%%%%%%%%%%
\documentclass{article}
\usepackage{hyperref}

\begin{document}

\section{Black}

\newpage
\section{Green\protect\cite{Wikipedia}}

\newpage
\section{Red\protect\footnote{Footnote.}}

\newpage
\begin{thebibliography}{0}
\bibitem{Wikipedia}
\href{http://en.wikipedia.org/}{Blue}.
\end{thebibliography}

\end{document}
%%%%%%%%%%

generates four pages, respectively with no hyperlink and a green, red, and light blue hyperlinks. Scribbling on this pdf and merging will result on a pdf with scribbles in black, green, read, and light blue. A pdf file so generated with this effect is attached.
Attached Files
File Type: pdf color_2012-4-29_15-2-18_xournal-printout.pdf (50.0 KB, 360 views)
FMP is offline   Reply With Quote