Graphics, Figures & Tablestikz sample change

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
cheikhrouhou
Posts: 3
Joined: Thu Jul 23, 2020 11:00 am

tikz sample change

Post by cheikhrouhou »

I would like to update the follwing smart diagram

\usepackage{smartdiagram}
\begin{document}
\smartdiagram[descriptive diagram]{
{Style,{Define shapes, colors, shading,
and line styles for nodes and arrows}},
{Position, {Place nodes using a matrix,
relative or absolute positioning}},
{Relation, Insert edges or arrows
between selected nodes},
{Label, Add labels on edges or arrows}}
\end{document}

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

Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

tikz sample change

Post by Ijon Tichy »

This seems to be a very vague question. Can you give us some more information, i.e., what kind of update you would like, and, e.g., extend your code snippet to a Infominimal working example?
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
cheikhrouhou
Posts: 3
Joined: Thu Jul 23, 2020 11:00 am

tikz sample change

Post by cheikhrouhou »

In the present figures it display Style, Position, etc..
I would like to display my name labels and change also the corresponding text and add also other level
thanks
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

tikz sample change

Post by Ijon Tichy »

Have you tried to change the texts "Style", "Position" etc. in the shown code and to add one more {Topic,Description} pair to the comma-separated list? See also the smartdiagram manual for more information.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
cheikhrouhou
Posts: 3
Joined: Thu Jul 23, 2020 11:00 am

tikz sample change

Post by cheikhrouhou »

Ok now it is working
However, I would like to add a figure to each topic
So I need to procude at each level three items like
{Topic, description, figure}

How to add this 3rd element
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

tikz sample change

Post by Ijon Tichy »

AFAIK the package currently does not provide a user interface to define a new diagram type.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply