使用 Ti*k*Z 制作具有方形轮廓的双蓝色复选标记符号

使用 Ti*k*Z 制作具有方形轮廓的双蓝色复选标记符号

我想用 Ti 制作一个带有方形轮廓的双蓝色复选标记符号Z,与此图片相同

我想要的是

作为示例,我采用了以下代码这个很好的答案

例子

这有很大的不同。

这是 MWE:

\documentclass{article}
\usepackage{tikz}

\tikzset{pics/.cd, 
checkmark/.style={code={% starting point : https://tex.stackexchange.com/a/132790/121799
\pgfgettransformentries{\tmpxx}{\tmp}{\tmp}{\tmp}{\tmp}{\tmp}
\draw[line width=\tmpxx*1pt,draw=none,fill=blue!60,line join=bevel] (0,.35) -- (.25,0) to[bend left=5] (0.8,.6) to[bend
right=5] (.25,.18) -- cycle;}}}
\newcommand{\doubleckmark}{\begin{tikzpicture}[baseline={(0,0)}]
\path (0,0) pic[scale=0.4]{checkmark} (0.12,0) pic[scale=0.4]{checkmark};
\end{tikzpicture}}

\renewcommand\labelitemi{\doubleckmark}

\begin{document}

\begin{itemize}
    \item This is an item.
    \item Another item.
\end{itemize}


\end{document}

MWE 输出

答案1

\documentclass{article}
\usepackage{tikz}

\tikzset{pics/.cd, checkmark/.style={code={% 
\pgfgettransformentries{\tmpxx}{\tmp}{\tmp}{\tmp}{\tmp}{\tmp}
\draw[line width=\tmpxx*1pt,draw=none,fill=blue!60] (0,.33) -- (.25,0) to 
  (0.8,.6) to (.72,.68) to (.25,.18) to (0.08,.40)-- cycle;}}}
\tikzset{pics/.cd, clipcheckmark/.style={code={% 
\pgfgettransformentries{\tmpxx}{\tmp}{\tmp}{\tmp}{\tmp}{\tmp}
\draw[line width=\tmpxx*1pt,draw=none,fill=blue!60] (0.1,.19) -- (.25,0) to 
  (0.8,.6) to (.72,.68) to (.25,.18) to (0.18,.26)-- cycle;}}}
\newcommand{\doubleckmark}{\begin{tikzpicture}[baseline={(0,0)}]
\path (0,0) pic[scale=0.4]{checkmark} (0.16,0) pic[scale=0.4]{clipcheckmark};
\end{tikzpicture}}

\renewcommand\labelitemi{\doubleckmark}

\begin{document}

\begin{itemize}
    \item This is an item.
    \item Another item.
\end{itemize}


\end{document}

在此处输入图片描述

答案2

只是为了好玩:尝试获得精确的匹配。

\documentclass{article}
\usepackage{scalerel}
\usepackage{tikz}
\definecolor{cmblue}{RGB}{1,126,254}
\newcommand{\doubleckmark}{\scalerel*{\begin{tikzpicture}[x=2ex,y=2ex]
\draw[line width=0.72ex,cmblue] (136:1.25) -- (0,0) -- (51:2.85);
\draw[xshift=2.5ex,line width=0.72ex,cmblue] (137:0.55) -- (0,0) -- (52:2.85);
\end{tikzpicture}}{W}}

\renewcommand\labelitemi{\doubleckmark}

\begin{document}

\begin{itemize}
    \item This is an item.
    \item Another item.
\end{itemize}
\end{document}

在此处输入图片描述

相关内容