So, I wanted to make a bullet like the fifth from left in the first row in the image above. You may customize it as you want and can perhaps change colors or shapes or something. Can I please know to make one such a bullet?
4
-
1Hi and welcome. Can you put a high resolution image because it is difficult to see the shape of the 4 parts. – AndréC Aug 28 '20 at 13:21
-
I have pasted a zoomed picture above :) Thank you – Ky Fan Sung Aug 28 '20 at 13:34
-
1You can try first to draw this with TikZ and then transofrm your plot to a symbol. – projetmbc Aug 28 '20 at 13:46
-
How to do that? I have never used TikZ package and hence I don't know what exactly to do – Ky Fan Sung Aug 28 '20 at 13:57
Add a comment
|
It's not perfect, but it should give you a starting point.
\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}
-
Have you created the list symbol of Microsoft office? :-)....Spectacular. Very very nice. But in the violet rectangle is there a shadow? – Sebastiano Aug 28 '20 at 15:28
-
1
An example how to do this with TikZ
and enumitem
would be:
\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}