1

I need to embed the flower and its color into \dh:

enter image description here

\documentclass[tikz, border=1cm]{standalone}  
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usetikzlibrary{fadings}
\begin{tikzfadingfrompicture}[name=myfading]
    \node[white] {\Huge \textbf \dh};
\end{tikzfadingfrompicture}
\begin{document}
    \begin{tikzpicture}
    
        \fill[red] (0,0) circle[radius=1];
        \fill[path fading=myfading, ball color=white, shading angle=300] (0,0) circle[radius=1];
    \end{tikzpicture}
\end{document}

The desired output is the same except \dh has to have the following color and the flower ,inside, as shown in the following picture:

enter image description here

The red background remains the same.

CREDITS to hpekristiansen

3
  • I believe you would have to convert \dh into a tikz path in order to apply a fading or shading. Colors are easy, but not shadings. Jul 19, 2021 at 3:49
  • I imagined shadings weren't easy. If you wanna give it a try, that'd be awesome! I'm useless when it comes to tikz :(
    – NaveganTeX
    Jul 19, 2021 at 3:52
  • 1
    If I were to try something like this, I would use a graphics editor (like GIIMP) instead of tikz. See tex.stackexchange.com/questions/194211/… for example. Jul 19, 2021 at 14:15

0

You must log in to answer this question.

Browse other questions tagged .