Fancy arrows with latex 2
📅 April 04, 2024 | 👁️ Views: 13

\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:
Recent Articles

Quran Search: A Feature rich and modern design
13 Feb 2025
Categories