3

I know it is not good to ask this question. But I am out of time and idea how should I start? My supervisor ask me to use LaTeX than document for this figure below which I had draw in .doc file.

enter image description here

3
  • I'd use TikZ for this. It's learning curve is very steep, but it gets the job done. Cremer's short tutorial is a very good place to start, and probably will get you to be able to do most, if not all, of your diagram. If not, here are lots of knowledgeable people.
    – vonbrand
    Feb 20 '20 at 22:05
  • 2
    Probably you could use the smartdiagram package.
    – leandriis
    Feb 20 '20 at 22:14
  • I would draw the picture outside of latex in a vector format (pdf) and then overlay the text only if I were out of time. Feb 21 '20 at 0:58
9

A short code with pstricks:

\documentclass[pdf, svgnames]{article}
\usepackage{pstricks-add}
\usepackage{eqparbox}

\begin{document}

\begin{pspicture}
\sffamily
\psset{framearc=0.3,framesep=5pt}
\begin{psmatrix}[colsep=-0.75, rowsep=0.25]
\psDefBoxNodes{SA}{\psframebox{\eqparbox{FC}{Sample \\Acquisition}}}\\
   & \psDefBoxNodes{SC}{\psframebox{\eqparbox{FC}{Sample \\Checking}}} \\
    & & \psDefBoxNodes{DSC}{\psframebox{\eqparbox{FC}{Dimensionality\\ Sample Check}}} \\
    & & &\psDefBoxNodes{SST}{\psframebox{ \eqparbox{FC}{Sample Synthesis \\Techniques}}} \\
\end{psmatrix}
\psset{linecolor=Silver, doubleline, doublesep=0.35, doublecolor=Silver, arrows=->, arrowlength=0.8, arrowsize=0.6, arrowinset=0}
\foreach \s/\t in{SA/SC, SC/DSC, DSC/SST}{\ncangle[offsetA =0.8, angleA=-90, angleB=180]{\s:bl}{\t:Cl}}
\end{pspicture}

\end{document}

enter code here

2
  • thanks. Can i ask if I am able to reduce the font size? This is because when I paste in a conference paper, it appears quite big.
    – aan
    Feb 24 '20 at 8:56
  • Just add \small or \footnotesize or whatever you want before the psmatrix environment
    – Bernard
    Feb 24 '20 at 8:59
8

Pure TikZ picture, simplified version of your image:

\documentclass[12pt,a4paper]{memoir}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,
                chains,
                positioning}

\begin{document}
    \begin{tikzpicture}[
node distance = -1mm and -1mm,
  start chain = A going below right,
   arr/.style = {-{Triangle[length=4mm,width=6mm]}, 
                 line width=4mm, gray!75},
   box/.style = {draw, rounded corners=3mm, semithick,
                 text width=28mm, minimum height=16mm,
                 inner xsep=3mm,
                 font=\sffamily, align=flush left, on chain=A},
                        ]         

% nodes in chaon
\node[box] {Sample Acquisition}; % A-1
\node[box] {Sample Checking};
\node[box] {Dimensionality Sample Check};
\node[box] {Sample\\ Synthesis\\ Techniques};
%
\draw[arr] (A-1) |- (A-2);
\draw[arr] (A-2) |- (A-3);
\draw[arr] (A-3) |- (A-4);
    \end{tikzpicture}
\end{document}

enter image description here

or as little bit more complex picture's code, with out-lined arrows drawn as small pictures pic:

\documentclass[12pt,a4paper]{memoir}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,
                chains,
                positioning}

\begin{document}
    \begin{tikzpicture}[
node distance = -1mm and -1mm,
  start chain = A going below right,
   arr/.style = {-{Triangle[length=4mm,width=6mm]}, 
                 line width=4mm, gray!75},
   box/.style = {draw, rounded corners=3mm, semithick,
                 text width=28mm, minimum height=16mm,
                 inner xsep=3mm,
                 font=\sffamily, align=flush left, on chain=A},
     ARR/.pic = {\draw[semithick, fill=gray!40] 
                 (0,0) |- ++ (1.0, -0.6) -- ++ (0,0.2) -- ++ (0.6,-0.4)
                       -- ++ (-0.6,-0.4) -- ++ (0,0.2) -| ++ (-1.4,1) -- cycle;}    
                        ]         

% nodes in chaon
\node[box] {Sample Acquisition}; % A-1
\node[box] {Sample Checking};
\node[box] {Dimensionality Sample Check};
\node[box] {Sample\\ Synthesis\\ Techniques};
%
\pic at (A-1.south) {ARR};
\pic at (A-2.south) {ARR};
\pic at (A-3.south) {ARR};
    \end{tikzpicture}
\end{document}

enter image description here

7
  • There's a very simple reason for the use of Mathcha :o)))))). No MWE created by the user and with my answer I simply informed him that if you need simple images use a simple tool like Mathcha. I have delete my answer :-) Always thanks...a billionssss.
    – Sebastiano
    Feb 20 '20 at 23:02
  • 1
    @sebastiano Thanks for the information regarding the tool Mathcha! Feb 21 '20 at 0:57
  • @Dr.ManuelKuehner :o) welcome always.
    – Sebastiano
    Feb 21 '20 at 7:26
  • @Zarko, Thanks. Is there a way to reduce the font size? This is because when I paste in a conference paper, it appears quite big.
    – aan
    Feb 24 '20 at 8:57
  • 1
    @aan, of course. Instead of font=\sffamily, you an write font=\small\sffamily. If I correctly remember, I show you example where this image is in two column document. There I reduce font size.
    – Zarko
    Feb 24 '20 at 9:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.