Graphics, Figures & Tables ⇒ Figures text to a timeline
-
- Posts: 5
- Joined: Mon Oct 10, 2022 10:56 am
Figures text to a timeline
- Attachments
-
- template page-1.png (58.65 KiB) Viewed 3216 times
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
- Stefan Kottwitz
- Site Admin
- Posts: 10328
- Joined: Mon Mar 10, 2008 9:44 pm
Figures text to a timeline
willkommen im Forum!
Hier mal auf die Schnelle ein Vorschlag mit TikZ:
Code: Select all
\documentclass[demo]{article}\usepackage{tikz}\usetikzlibrary{positioning}\begin{document}\begin{tikzpicture}\foreach \x in {0,5,10,15} {\draw (-3pt, -\x cm) -- node (\x) [right=1em] {$t=\x$ sec} (3pt, -\x cm);\node [right = 1cm of \x] {\includegraphics{file\x}};}\draw[-stealth] (0,1) -- (0, -17);\end{tikzpicture};\end{document}
-
- Posts: 5
- Joined: Mon Oct 10, 2022 10:56 am
Figures text to a timeline
- Stefan Kottwitz
- Site Admin
- Posts: 10328
- Joined: Mon Mar 10, 2008 9:44 pm
-
- Posts: 5
- Joined: Mon Oct 10, 2022 10:56 am
Figures text to a timeline
- Stefan Kottwitz
- Site Admin
- Posts: 10328
- Joined: Mon Mar 10, 2008 9:44 pm
Figures text to a timeline
I proceed in English, as it's an English language forum. You can also gladly visit TeXwelt or goLaTeX if you like, in German. I'm also there. That's the reason why I wrote in German earlier, as I was in a German forum at the same time.

But to the topic. The
\includegraphics
is in a foreach
loop, including file0, file5, file 10, file15. Just as an example. You don't need to have a loop or you can change file names and loop variables.Stefan