General ⇒ Block diagrams in latex
Block diagrams in latex
Hello! What thing i may use for simple drawing block diagrams in latex documents? I think this is a some metapost macroses?
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Block diagrams in latex
Take a look at pgf/tikZ or PSTricks (especially pstricks-add). To get familiar with those, some examples might be helpful [1,2]. You should find something useful for you in the archives or in the documentations of the packages.
[1] PSTricks examples
[2] PGF and TikZ examples gallery | fauskes.net
Best regards
Thorsten
[1] PSTricks examples
[2] PGF and TikZ examples gallery | fauskes.net
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: Block diagrams in latex
Thanks. Oh may be i used not right english word for thing that i need.
In wikipedia this name is flowchart, like this: http://upload.wikimedia.org/wikipedia/e ... xample.png. May be some special tool for drawing flowcharts exists?
It is possible that i need only to specify dependency between elements, not its position? Or big flowcharts automatic divided between pages?
Thanks!

It is possible that i need only to specify dependency between elements, not its position? Or big flowcharts automatic divided between pages?
Thanks!
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
Block diagrams in latex
My answer remains the same. Taking look at the examples reveals the packages to be the right ones [1,2]. You could have found these examples very easily by yourself. Reading the documentations will be of great help. That's what they are made for.
[1] PSTricks / psmatrix
[2] PGF and TikZ examples gallery | fauskes.net - Page 3
[1] PSTricks / psmatrix
[2] PGF and TikZ examples gallery | fauskes.net - Page 3
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: Block diagrams in latex
Pstricks are very usefull! But thete is no framed box for figure like this: http://upload.wikimedia.org/wikipedia/ru/f/ff/Loop.GIF
How i can create it?
Thanks!
How i can create it?
Thanks!
Block diagrams in latex
All I can see in your linked figure is a non-regular hexagon that can be easily produced with both PSTricks and PGF/TikZ, Maybe your link was not correct?frey wrote:Pstricks are very usefull! But thete is no framed box for figure like this: http://upload.wikimedia.org/wikipedia/ru/f/ff/Loop.GIF
How i can create it?
Thanks!
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: Block diagrams in latex
Yes, but i need framed box, that changes size accordingly to text inside it. Or it easily produced too?
Re: Block diagrams in latex
Oh, already found answer:
\pspolygonbox[PolyNbSides=6]{text}
\pspolygonbox[PolyNbSides=6]{text}
Block diagrams in latex
Hello! New question. 
I make a flowchart with pspolygonbox and can't achieve right node connection with it, look like this:
How i can move pspolygonbox relative to the node center? I used \Rnode[vref=x], but this only affect to the right arrow.
Thanks!

I make a flowchart with pspolygonbox and can't achieve right node connection with it, look like this:

Code: Select all
\begin{document}
\begin{frame}[shrink]
\psset{shadowcolor=black!70,blur=true}%
\frametitle{Ðлгоритм вычиÑÐ»ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð¿Ñ€Ð°Ð²Ð¾Ðº ÑкороÑти.}
\begin{center}
\begin{tabular}{p{2cm}c}
\begin{psmatrix}[rowsep=0.8,colsep=0.4]
% \begin{psmatrix}
& \\[-25pt]
& \rnode{N1}{\psovalbox[fillstyle=solid,fillcolor=yellow!30,shadow=true]{Ðачало}}\\[0pt]
[name=X1] & \\[-25pt]
& \rnode{N2}{\psframebox[fillstyle=solid,fillcolor=blue!30,shadow=true]{
\tabular{cccc}
some & long & text & here
\endtabular}}\\[0pt]
[name=X2] & \\[-25pt]
& \Rnode{N3}{\pspolygonbox[fillstyle=solid,fillcolor=green!30,shadow=true,PolyNbSides=6]{
\tabular{cc}
this & too
\endtabular}}\\[0pt]
[name=X3] & \\[-25pt]
& \rnode{N4}{\psframebox[fillstyle=solid,fillcolor=blue!30,shadow=true]{
\tabular{l}
and this
\endtabular}}\\[0pt]
Thanks!
Re: Block diagrams in latex
Please help! Diploma defending are coming soon! 
