Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. documentclass[12pt]{report}
  2. usepackage{tikz, fontspec}
  3. usetikzlibrary{shapes, decorations.text}
  4. setmainfont{[Kalpurush.ttf]}
  5.  
  6. begin{document}
  7. ভাঙ্গা টেক্সট
  8. begin{center}
  9. tikz{
  10. node (n1) at (0,0) [draw, shape=circle] {নোড};
  11. node (n2) [below left of = n1, xshift=-2ex, yshift=-3cm] [draw, shape=circle] {নোড ২};
  12. node (n3) [below right of = n1, xshift=2ex, yshift=-3cm] [draw, shape=circle] {নোড ৩};
  13. draw [->>, dashed, thick, postaction={decorate, decoration={text along path, text align=center, text=ভাঙ্গা টেক্সট, reverse path, raise=.5ex}}] (n1) to [bend right=60] (n2);
  14. draw [->>, dashed, thick, postaction={decorate, decoration={text along path, text align=center, text=ভাঙ্গা টেক্সট, raise=.5ex}}] (n1) to [bend left=60] (n3);
  15. }
  16. end{center}
  17. end{document}
  18.  
  19. documentclass[12pt]{report}
  20. usepackage{tikz, fontspec, polyglossia}
  21. usetikzlibrary{shapes, decorations.text}
  22. setmainfont{[Kalpurush.ttf]}
  23. setotherlanguage{arabic}
  24. newfontfamilyarabicfont[Script = Arabic, Scale=1.5]{Traditional Arabic}
  25. begin{document}
  26.  
  27. textarabic{وَصِيَّةً مِّنَ ٱللَّهِ}
  28.  
  29. begin{center}
  30. tikz{
  31. node (n1) at (0,0) [draw, shape=circle] {নোড};
  32. node (n2) [below left of = n1, xshift=-2ex, yshift=-3cm] [draw, shape=circle] {নোড ২};
  33. node (n3) [below right of = n1, xshift=2ex, yshift=-3cm] [draw, shape=circle] {নোড ৩};
  34. draw [->>, dashed, thick, postaction={decorate, decoration={text along path, text align=center, text={textarabic{وَصِيَّةً مِّنَ ٱللَّهِ}}, reverse path, raise=.5ex}}] (n1) to [bend right=60] (n2);
  35. draw [->>, dashed, thick, postaction={decorate, decoration={text along path, text align=center, text={textarabic{وَصِيَّةً مِّنَ ٱللَّهِ}}, raise=.5ex}}] (n1) to [bend left=60] (n3);
  36. }
  37. end{center}
  38. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement