I'm trying to create the blue Twitter verified badge using TikZ. The real version looks like this:
(Source: https://twitter.com/verified)
This is the MWE I have so far:
\documentclass{article}
\usepackage[scaled]{helvet}
\renewcommand\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
\usepackage[rgb]{xcolor}
\usepackage{tikz}
\definecolor{twitblue}{RGB}{1,156,246}
\newcommand{\verified}[1]{%
\begin{tikzpicture}[#1]%
\fill [twitblue] (0,0) circle (.7ex);
\draw [white,scale=0.1,line cap=round,line width=0.2mm](-.4,-.05) -- (-.1,-.3) -- (.4,.4);
\end{tikzpicture}%
}
\begin{document}
\textbf{Joe Bloggs} \verified{}
\textbf{Joe Bloggs} \verified{scale=1.5}
\end{document}
Some of the issues:
- I am unsure how to get the curved effect around the edge of the circle.
- The bottom part of the checkmark isn't curved.
- How do I get it to scale correctly? (The white checkmark isn't scaling properly)
- How can I adjust the vertical alignment of the symbol?
Any pointers would be much appreciated.
UPDATE
The accepted answer provides a TikZ solution as the question originally requested. However, two solutions involving the exact .svg file of this badge were also provided. See answers by Kpym: (If you want the logo to be exactly the same, you can use the SVG original...) and (Here is a font solution, without TikZ...).





1DA1F2;) – Kpym May 08 '18 at 13:403AA1F2. I took a screenshot of a few pixels of the colour and checked it using html-color-codes.info/colors-from-image/ . Where have I gone wrong? – Milo May 08 '18 at 13:50