答案1
您可以使用如下代码:
\documentclass[12pt,twoside,portrait,a4paper]{article}
\usepackage{tikz}
\usepackage{enumerate}
\usepackage[utf8]{vietnam}
\newcommand{\myarrow}{
\begin{tikzpicture}
\fill[green](90:.1)--(0:.2)--(270:.1)--cycle;
\end{tikzpicture}
}
\begin{document}
\begin{enumerate}[\myarrow]
\item This firts
\item This second
\end{enumerate}
\end{document}
答案2
不含Ti的版本钾Z,但有enumitem
、amssymb
和xcolor
:
\documentclass[]{article}
\usepackage{enumitem}
\usepackage{amssymb}
\usepackage{xcolor}
\newcommand*\myarrow
{%
\leavevmode
\rlap{\kern.1em\textcolor{gray}{$\blacktriangleright$}}%
\raise.1em\hbox{\textcolor{orange}{$\blacktriangleright$}}%
\kern.1em
}
\begin{document}
\begin{itemize}[label=\myarrow]
\item Foo
\item Bar
\item Baz
\end{itemize}
\end{document}
答案3
可以将图片tikz
设置为标签enumerate
\setlist[enumerate]{label=\protect\tikz{\fill[gray] (0,-0.05)--+(-0.1,-0.1)--+(-0.1,0.1)--cycle;\fill[orange] (0,0)--(-0.1,-0.1)--(-0.1,0.1)--cycle;}}
\documentclass{article}
\usepackage{enumitem}
\usepackage{tikz}
\setlist[enumerate]{label=\protect\tikz{\fill[gray] (0,-0.05)--+(-0.1,-0.1)--+(-0.1,0.1)--cycle;\fill[orange] (0,0)--(-0.1,-0.1)--(-0.1,0.1)--cycle;}}
\begin{document}
\begin{enumerate}
\item first
\item second
\item third
\end{enumerate}
\end{document}