SHARE
TWEET

Untitled

a guest Jun 25th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. documentclass[tikz,border=10pt]{standalone}
  2. usetikzlibrary{decorations.text}
  3. definecolor{mygray}{RGB}{208,208,208}
  4. definecolor{mymagenta}{RGB}{226,0,116}
  5. newcommand*{mytextstyle}{sffamilyLargebfseriescolor{black!85}}
  6. begin{document}
  7. begin{tikzpicture}
  8.    fill[mymagenta] circle (1.35);
  9.    node at (0,0) [
  10.       font  = mytextstyle,
  11.       color = white,
  12.       align = center
  13.    ]{
  14.       PDCA\
  15.       Cycle
  16.    };
  17.    pgfmathsetmacro{mydist}{2}
  18.    pgfmathsetmacro{Radius}{2}
  19.     foreach X [count=Y] in {PLAN,DO,CHECK,ACT}
  20.     {pgfmathtruncatemacro{itest}{sign(sin(180-mydist-90*Y))}
  21.     ifnumitest>0
  22.     draw[mygray,line width=1cm,postaction={decoration = {
  23.          text along path,
  24.          text = {|mytextstyle|X},
  25.          text align = {align = center},
  26.          raise = -1.0ex
  27.       },
  28.       decorate}] (180-mydist-90*Y:Radius) arc(180-mydist-90*Y:90+mydist-90*Y:Radius);
  29.     else
  30.     draw[mygray,line width=1cm,postaction={decoration = {
  31.          text along path,
  32.          text = {|mytextstyle|X},
  33.          text align = {align = center},
  34.          raise = -1.0ex
  35.       },
  36.       decorate}] (90+mydist-90*Y:Radius) arc(90+mydist-90*Y:180-mydist-90*Y:Radius);
  37.     fi  
  38.       }
  39. end{tikzpicture}
  40. end{document}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top