Fancy arrows with latex 2

📅 April 04, 2024   |   👁️ Views: 68








\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{shapes}

\tikzset{My Arrow Style/.style={
            single arrow,
            fill=red!50,
            anchor=base,
            align=center,
            text width=2.8cm}
        }
\newcommand{\MyArrow}[2][]{\tikz[baseline] \node [My Arrow Style,#1] {#2};}

\begin{document}
Some text before \MyArrow{some text} and some text after \\

Some text before \MyArrow[fill=yellow!50, draw=black, ultra thick, text width=3.5cm]{some text} and some text after
\end{document}


Related Courses, Exams, and Exercises


Course PDF:

📥 Download Fancy arrows with latex 2 (PDF)

if you find this content helpful, Please consider supporting me with a small donation
إن وجدت هذا المحتوى مفيدا، من فضلك إدعمني بمبلغ بسيط كتبرع

Buy me a coffee — إشتر لي قهوة

PayPal.me • عبر بايبال

Or bank transfer • أو حوالة بنكية

Titulaire : RADOUAN MOSAID
RIB : 230 090 6501953211022000 65
IBAN : MA64 2300 9065 0195 3211 0220 0065
BIC / SWIFT : CIHMMAMC

QR Code for Bank Transfer