Graphics, Figures & TablesFigures text to a timeline

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Davidgerber11
Posts: 5
Joined: Mon Oct 10, 2022 10:56 am

Figures text to a timeline

Post by Davidgerber11 »

I am working on a math thesis in which I want to display some simulation screenshots. I want a page with 4 Screenshots on the right below eachother with a timeline on the left. A picture with how it is supposed to look like is in the attachments. I have no clue how to do this in LateX though. Any help?
Attachments
template page-1.png
template page-1.png (58.65 KiB) Viewed 3216 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post by Stefan Kottwitz »

Hallo David,

willkommen im Forum!

Hier mal auf die Schnelle ein Vorschlag mit TikZ:

Code: Select all

Code, edit and compile here:
\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}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Stefan
LaTeX.org admin
Davidgerber11
Posts: 5
Joined: Mon Oct 10, 2022 10:56 am

Figures text to a timeline

Post by Davidgerber11 »

Danke vielmals!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10328
Joined: Mon Mar 10, 2008 9:44 pm

Figures text to a timeline

Post by Stefan Kottwitz »

Sorry, I was in German mode :)

Stefan
LaTeX.org admin
Davidgerber11
Posts: 5
Joined: Mon Oct 10, 2022 10:56 am

Figures text to a timeline

Post by Davidgerber11 »

Ich habe trozdem noch eine Frage: Ich will ja vier verschiedene Bilder bei der Seite. Aber bei deinem MusterCode ist nur einmal \includegraphics. Wie mache ich es für 4 verschiedene?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10328
Joined: Mon Mar 10, 2008 9:44 pm

Figures text to a timeline

Post by Stefan Kottwitz »

Hi David,

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
LaTeX.org admin
Post Reply