答案1
它并不完美,但它应该可以给你一个起点。
\documentclass[11pt]{article}
\usepackage{enumitem}
\usepackage{tikz}
\newlength{\fsize}
\makeatletter
\setlength{\fsize}{\f@size pt}
\makeatother
\newcommand*{\specialbullet}{%
\begin{tikzpicture}[x=\fsize,y=\fsize]
\fill [top color=red, bottom color=white] (0,.15) rectangle (.3,.4);
\fill [left color=violet, right color=white] (.3, .1) rectangle (.65,.35);
\fill [left color=yellow, right color=white] (.2,.35) rectangle (.5,.6);
\draw (.4,.05) -- (.4,.65);
\draw (.2,.2) -- (.75,.2);
\end{tikzpicture}%
}
\begin{document}
\begin{itemize}[label=\specialbullet]
\item An item
\item Another one
\end{itemize}
\end{document}
答案2
如何使用和来实现这一点的一个示例TikZ
是enumitem
:
\documentclass{article}
\usepackage{tikz}
\usepackage[]{enumitem}
\newcommand{\myfancylabel}{\begin{tikzpicture}[every node/.style={rotate=45}]%
\node[fill,inner sep=0pt,minimum size=0.5ex] at (0ex,0.5ex) {};%
\node[fill,inner sep=0pt,minimum size=0.5ex] at (0ex,-0.5ex) {};%
\node[fill,inner sep=0pt,minimum size=0.5ex] at (0.5ex,0ex) {};%
\node[fill,inner sep=0pt,minimum size=0.5ex] at (-0.5ex,0ex) {};%
\end{tikzpicture}}
\begin{document}
\begin{itemize}[label=\myfancylabel]
\item Test 1
\item Test 2
\item Test 3
\end{itemize}
\end{document}