Graphics, Figures & Tables ⇒ Creating a Diagram
Creating a Diagram
I'd like to get help with this diagram. How can I create it with LaTeX?
Thanks.
- Attachments
-
- The wanted diagram.
- diagram.jpg (16.83 KiB) Viewed 8615 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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Creating a Diagram
You can try packages like PGF/TikZ (Example gallery) or PSTricks (Example gallery) to draw the diagram. The respective manuals have the details. You may also look at the "Similar Topics" at the bottom of this page for possible solutions (only when logged in).
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Creating a Diagram
welcome to the forum!
There are several packages which could be used for such diagrams, such as TikZ, tikz-cd, PSTricks, xy-pic and amscd.

Have a look at this commutative diagram example, or at TikZ diagrams in the example gallery.
Perhaps try it and tell us, when you would have further questions about this.
Stefan
Creating a Diagram

I tried to do it with this:
Code: Select all
\begin{diagram}[heads=LaTeX]
& &\textrm{výraz?} & \\
&\ldTo^{označuje} &&\rdTo^{vyjadřuje}\\
\textrm{denotát} &\rTo^{dole} &\textrm{smysl}
\end{diagram}
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Creating a Diagram
diagram
environment.Stefan
Creating a Diagram
Code: Select all
\usepackage[small,nohug,heads=vee]{diagrams}
\diagramstyle[labelstyle=\scriptstyle]
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Creating a Diagram
With the already suggested PGF/TikZ it is quite straightforward with nice arrows. The output is attached.
Code: Select all
\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
>=stealth,
node distance=3cm
]
\node (A) at (0,0) {A};
\node[below left=of A] (B) {B};
\node[below right=of A] (C) {C};
\path[<->] (A) edge node[midway,above left] {D} (B)
(A) edge node[midway,above right] {E} (C)
(B) edge node[midway,below] {F} (C);
\end{tikzpicture}
\end{document}
- Attachments
-
- stmp.png (1.84 KiB) Viewed 8609 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Creating a Diagram

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: Creating a Diagram
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Creating a Diagram

