Page 1 of 1

\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}

Leave a comment if you like this content أترك تعليقا إن أعجبك المحتوى

Class: Figures
Views:  69




0 Comments, Latest

No comments yet. Be the first to Comment

Most viewed courses: