代码如下:
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{shapes.geometric}
\begin{document}
\definecolor{green}{RGB}{0, 100, 0}
\noindent\begin{tikzpicture}
% Use wikipedia's dimensions
\fill[green] rectangle (12, 8);%G=8, L=12, L=1.5 G
\fill[white] (.01,.01) rectangle (2.98, 8);%G=8, L=12, L=1.5 G
\fill[white] (7.5,4) circle (2);
\fill[green] (7.9,4.4) circle (1.6);
\node[star,fill=white, minimum size=1.7cm, rotate=25, star point ratio=2.617,inner sep=0pt] at (8.9,5.5) {};
\end{tikzpicture}
\end{document}
选自:https://bakarabu.wordpress.com/category/latex/
发表评论 取消回复