如何绘制欧洲冠军联赛方框

如何绘制欧洲冠军联赛方框

在此处输入图片描述

我的消息来源

\documentclass{article}
\usepackage[table]{xcolor}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}

\tikzset{add reference/.style={insert path={%
            coordinate [pos=0,xshift=-0.5\pgflinewidth,yshift=-0.5\pgflinewidth] (#1 south west) 
            coordinate [pos=1,xshift=0.5\pgflinewidth,yshift=0.5\pgflinewidth]   (#1 north east)
            coordinate [pos=.5] (#1 center)(#1 south west |- #1 north east)
            coordinate (#1 north west)(#1 center     |- #1 north east)
            coordinate (#1 north)(#1 center |- #1 south west)
            coordinate (#1 south)(#1 south west -| #1 north east)
            coordinate (#1 south east)(#1 center     -| #1 south west)
            coordinate (#1 west)(#1 center     -| #1 north east)
            coordinate (#1 east)   
        }}
}  
\definecolor{azulF}{rgb}{.0,.0,.3}
\begin{document}
    \begin{tikzpicture}[remember picture, overlay]
        \fill[blue,rounded corners=3pt,opacity = 0.5] ([yshift=-5cm,xshift = 3cm]current page.north west) rectangle ([yshift=-20cm,xshift = -3cm]current page.north east) [add reference=R1];
        %\node[pt=red]    at (R1 south west){};
        %\node[pt=orange] at (R1 north){a};
        %\node[pt=red]    at (R1 north west){};  
        %\node[pt=red]    at (R1 north east){};

        %\node[pt=black]  at (R1 center){};
        %\node[pt=orange] at (R1 west){};
        \node[trapezium,rounded corners=2pt,draw,left color=azulF!50!white,
        right color=azulF!100!white,inner xsep=2mm,inner ysep=2pt,text width=16cm,align = center,font=\bfseries\Huge,text = white] at (R1 south){Title};
        \node[circle, draw=black, fill=red]    at (R1 south east){Logo image}; 
        \node[circle, draw=black, fill=yellow]    at (R1 south west){Logo image};
        \node[rectangle,rounded corners=2pt,draw,left color=azulF!50!white,
        right color=azulF!100!white,inner xsep=2mm,inner ysep=2pt,text width=2cm,align = center,font=\bfseries\Huge,text = white] at ([yshift=1cm]R1 south){Link};
        %\node[pt=orange] at (R1 east){};
        \end{tikzpicture}
\end{document}

生成

在此处输入图片描述

相关内容