![如何在 LaTeX 中从 Word 创建这些特殊精美的项目符号?](https://linux22.com/image/419891/%E5%A6%82%E4%BD%95%E5%9C%A8%20LaTeX%20%E4%B8%AD%E4%BB%8E%20Word%20%E5%88%9B%E5%BB%BA%E8%BF%99%E4%BA%9B%E7%89%B9%E6%AE%8A%E7%B2%BE%E7%BE%8E%E7%9A%84%E9%A1%B9%E7%9B%AE%E7%AC%A6%E5%8F%B7%EF%BC%9F.png)
答案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}