Guest User

Arrows with rounded corners

a guest
Jan 12th, 2019
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 2.23 KB | None | 0 0
  1. \documentclass[tikz,border=3.14mm]{standalone}
  2. \usepackage{textgreek}
  3. \usetikzlibrary{decorations.text,arrows.meta,bending}
  4. \pgfdeclarearrow{
  5.  name =rtriangle,
  6.  parameters = { \the\pgfarrowlength },
  7.   setup code = {
  8.     % The different end values:
  9.     \pgfarrowssettipend{.25\pgfarrowlength}
  10.    \pgfarrowssetlineend{-.25\pgfarrowlength}
  11.    \pgfarrowssetvisualbackend{-.5\pgfarrowlength}
  12.    \pgfarrowssetbackend{-.75\pgfarrowlength}
  13. % The hull
  14. \pgfarrowshullpoint{.3\pgfarrowlength}{0pt}
  15. \pgfarrowshullpoint{-.5\pgfarrowlength}{.5\pgfarrowlength}
  16. \pgfarrowshullpoint{-.5\pgfarrowlength}{-.5\pgfarrowlength} % Saves: Only the length:
  17.     \pgfarrowssavethe\pgfarrowlength
  18.   },
  19.   drawing code = {
  20.    \pgfsetroundjoin
  21.    \pgfsetlinewidth{.1\pgflinewidth}
  22.    \pgfpathmoveto{\pgfqpoint{.3\pgfarrowlength}{0\pgfarrowlength}}
  23.    \pgfpathlineto{\pgfpoint{-.5\pgfarrowlength}{.47\pgfarrowlength}}
  24.    \pgfpathlineto{\pgfqpoint{-.5\pgfarrowlength}{-.47\pgfarrowlength}}
  25.    \pgfpathclose
  26.    \pgfusepathqfillstroke
  27. },
  28.  defaults = { length = 4cm }
  29. }
  30. \begin{document}
  31. \begin{tikzpicture}
  32. \newcommand{\LineWidth}{10mm}
  33. \newcommand{\Radius}{3cm}
  34. \node[font=\sffamily\bfseries,scale=3.4,anchor=south] at (0,-0.1) {LEARN};
  35. \node[font=\sffamily,scale=6,anchor=north] at (0,0.5) {6\textsigma};
  36. \foreach \X [count=\Y] in {yellow!50!orange,gray!50,cyan!50,gray,red}
  37. {\draw[line width=\LineWidth,\X] ({90-(\Y-1)*72}:\Radius)
  38. arc({90-(\Y-1)*72}:{90-(\Y)*72}:\Radius);}
  39. %`,width={1.5*\LineWidth}
  40. \foreach \X [count=\Y] in {yellow!50!orange,gray!50,cyan!50,gray,red}
  41. {\draw[-{rtriangle[bend,length={1.5*\LineWidth}]},
  42. line width=\LineWidth,\X]
  43. ({90-(\Y-0.5)*72}:\Radius)
  44. arc({90-(\Y-0.5)*72}:{90-(\Y)*72-15}:\Radius);}
  45.  
  46. \foreach \X [count=\Y] in {Define,Measure,Analyze,Improve,Control}
  47. {\ifnum\Y=3
  48. \fill[decoration={text along path, text={|\Large\bfseries| \X},
  49.  raise=-3pt,text color=white,text align=center},decorate]
  50.  ({90-(\Y)*72}:\Radius)
  51. arc({90-(\Y)*72}:{90-(\Y-1)*72}:\Radius);
  52. \else
  53. \fill[decoration={text along path, text={|\Large\bfseries| \X},
  54.  raise=-3pt,text color=white,text align=center},decorate]
  55.  ({90-(\Y-1)*72}:\Radius)
  56. arc({90-(\Y-1)*72}:{90-(\Y)*72}:\Radius);
  57. \fi }
  58.  
  59. \end{tikzpicture}
  60. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment