can someone please help me get the same diagram as the picture. This is my first tentative using tikz. So, sorry if there were some obvious mistakes. I tried but the output does not come out the way I want it to. Thank you so much. enter image description here

\documentclass[oneside, a4paper, 12pt, french]{book}
\usepackage[margin=2.5cm, top=3cm, headheight=26pt, headsep=25pt, heightrounded, showframe]{geometry}
\frenchbsetup{FrenchFootnotes=false} %more common footnote style
\usepackage[hang,flushmargin]{footmisc} % footnote presentation
\setcounter{tocdepth}{5} % level of section in titles printed in TOC
\setcounter{secnumdepth}{5} %sectionning titles are numbered: level 5
\usepackage[titles]{tocloft} % nom du chapitre apparait en TOC
\usepackage[dvipsnames, table]{xcolor}
\usepackage{tabularx, multirow, booktabs, hhline, caption}
\usepackage{setspace} %interligne 1.5
\usepackage[parfill]{parskip} % espace entre deux paragraphes
\usepackage[explicit, clearempty]{titlesec}
\usepackage{enumitem} % modifier et personaliser les puces des listes
\usepackage{pifont} % les symboles pour les listes
%\setlength{\parskip}{10pt plus 1pt minus 1pt}}
\setlength{\overfullrule}{5pt} % show the hfull and underfull vbox hbox warning 
  punktchain/.style={rectangle, rounded corners, draw=black, very thick,
  text width=16em, minimum height=3em, 
  text centered,on chain},
  line/.style={draw, thick, <-},
  top color=white,
  bottom color=blue!50!black!60!,
  minimum width=8em,
  draw=blue!40!black!90, very thick,
  text width=10em, 
  minimum height=3.5em, 
  text centered, 
  on chain},
 every join/.style={->, thick,shorten >=1pt},
 tubnode/.style={midway, right=2pt},
 [node distance=.8cm, start chain=going below,]
 \node[punktchain, join] {Etape 1: Identification du thème};
 \node[punktchain, join] {Etape 2: Revue de littérature};
 \node[punktchain, join] {Etape 3: Définition de la problèmatique};
 \node[punktchain, join] {Etape 4: Elaboration du design de recherche};
 \node[punktchain, join, ] {Etape 5: collecte des données};
 \node[punktchain, join, ] {Etape 6: Analyse des données};
   \node[punktchain, join, ] {Etape 7:  Résultats};


You were almost there, weren't you?

\begin{tikzpicture}[node distance=.8cm, start chain=going below,punktchain/.style={rectangle, rounded corners, draw=black, very thick,
  text width=25em, minimum height=3em, 
  text centered,on chain},every join/.style={->, thick,shorten >=1pt}]
 \node (1) {Etape 1: Identification du th\`eme};
 \node[yshift=-1cm] (2)  {Etape 2: Revue de litt\'erature};
 \node (3) {Etape 3: D\'efinition de la probl\`ematique};
 \node (4)  {Etape 4: Elaboration du design de recherche};
 \node[yshift=-1cm] (5)  {Etape 5: collecte des donn\'ees};
 \node (6)  {Etape 6: Analyse des donn\'ees};
 \node (7)  {Etape 7:  R\'esultats};
 \node[above=0.2em of 2,font=\itshape] (2l){Processus blablabla};
 \node[draw,fit=(2l)(4),inner xsep=1cm]{};

enter image description here

| improve this answer | |
  • well I tried my best :) Thank you so much. I did some research about standalone do I have in order to put this code in my main file to add \usepackage{standalone} \usetikzlibrary{chains,fit} in preambule of my main file and then Use \figure and \input{tikzcode}? – Alexia Colaud Aug 1 '19 at 14:13
  • and can you please tell me how can I add some space between the word "processus" and the arrow? – Alexia Colaud Aug 1 '19 at 14:29
  • @AlexiaColaud Yes, you can add it to the document in the way you describe. If you punch in the text you want to have (such that I do not have to punch it in from a screen shot, I will show how to add the gap. – user121799 Aug 1 '19 at 16:07

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.