Graphics, Figures & Tables ⇒ Hyperlink flow chart boxes.
Hyperlink flow chart boxes.
Thanks,
Carlee
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Hyperlink flow chart boxes.
you could use the PGF/TikZ package to draw the chart and then use the \hyperlink and \hypertarget commands provided by the hyperref package. For further information, please refer to page 13 of the package documentation.
The following simple code illustrates this approach:
Code: Select all
\documentclass{book}
\usepackage{tikz}
\usepackage{lipsum}% justo to automatically generate some text
\usepackage{hyperref}
\begin{document}
\begin{tikzpicture}
\draw (0,0) node[draw,fill=blue!30](a) {\hyperlink{link1}{Link1}} (1,1)
node[draw,fill=green!30](b) [draw] {\hyperlink{link2}{Link2}};
\draw[->] (a.north) |- (b.west);
\draw[color=red,<-] (a.east) -| (2,1.5) -| (b.north);
\end{tikzpicture}
\chapter{Test chapter one}
\lipsum[1-10]
Link1 on the initial diagram will lead you to \hypertarget{link1}{this text}.
\chapter{Test chapter two}
\lipsum[1-2]
Link2 on the initial diagram will lead you to \hypertarget{link2}{this other text}.
\lipsum[1-3]
\end{document}