Using the heatmark
shape from the ext.shapes.heatmark
library of my tikz-ext
package we can recreate these symbols with two tweaks.
The lightning symbol is taken from the marvosym
package, the show symbol is from twoemojis
. Maybe you can find a better symbol somewhere.
If needed, we could put a separate drawing inside the symbol but I don't want to find a shoe path now.
For now, the symbols are sized acoording to the inner sep
of 0.15em and a content of AAA
in the font \sffamily
(see node font
as well as the text …
keys inside the definition of mew/brake symbol
).
The !, ↯ and 👟 are sized manually and will ignore any font setting of the node or the text outside of TikZ. Depending on your use-case, we will have to find a more flexible solution.
Code
\documentclass[varwidth]{standalone}
\usepackage{tikz, marvosym, twemojis}
\usetikzlibrary{ext.shapes.heatmark}
\pgfset{% a few hacks
no quick fill/.code=\def\pgfusepathqfill{\pgfusepath{fill}},
no fill/.code=\def\pgfusepathqfill{\pgfusepath{}}}
\tikzset{
mew/brake symbol/.style={
shape=heatmark, draw, line width={#1}, inner sep=+.15em, outer sep=+0pt,
heatmark arcs=2, heatmark arc width={#1}, heatmark arc sep={#1},
heatmark arc rings=1, heatmark arc sep angle=90,
heatmark inner opacity=1, heatmark outer opacity=1,
/pgf/heatmark ring 1/.append style={% needs /pgf/
no quick fill, /tikz/rounded corners={(#1)/2}},% needs /tikz/
node font=\sffamily, align=center,
text width=width("AAA"), text height=height("A"), text depth=+0pt},
mew/brake symbol/.default=1.5pt,
mew/use brake symbol/.cd, .is choice,
empty/.style={mew/brake symbol, node contents=},
ESP/.style ={mew/brake symbol, node contents=ESP},
ABS/.style ={mew/brake symbol, node contents=ABS},
RBS/.style ={mew/brake symbol, node contents=RBS},
!/.style ={mew/brake symbol, node contents=\raisebox{-.5ex}{\bfseries\LARGE!}},
lightning/.style={mew/brake symbol,
node contents=\raisebox{-.6ex}{\bfseries\LARGE\Lightning}},
shoe/.style ={mew/brake symbol,
node contents=\raisebox{1.9ex}{\rotatebox{-80}
{\scalebox{-1.8}[1.8]{\twemoji{man’s shoe}}}}},
hand brake/.style={
mew/brake symbol, node contents=,
heatmark arcs=12, heatmark arc sep angle=6,
/utils/mew/no heatmark arc/.list={3, 4, 5, 9, 10, 11}},
/utils/mew/no heatmark arc/.style={/pgf/heatmark arc #1/.append style=no fill}}
\newcommand*\brakesymbol[2][]{%
\tikz[baseline, trim left=(@.west), trim right=(@.east)]
\node(@)[anchor=base,mew/use brake symbol={#2},#1];}
\begin{document}
\foreach \Type in {empty, ESP, ABS, RBS, !, hand brake, lightning, shoe}{%
\Type: \brakesymbol{\Type}\par}
\end{document}
Output

\draw[delta angle=90] (0,0) circle[radius=1] (-45:1.2) arc[start angle=-45, radius=1.2] (135:1.2) arc[start angle=135, radius=1.2];
would be a start, i.e. a circle and two arcs. Then you can draw further stuff inside the circle. Do you need this to be a node? What troubles do you have drawing them yourself?circuitikz
and very basic TikZ otherwise. As far as I know, you'd want the circle to be a node to be able to put symbols (e.g. text) inside of it easily, correct?\usepackage{tikz} \begin{document} \end{document}
is clearly pointless too.\usepackage{tikz} \begin{document} \end{document}
is far from pointless. It helps people to get a feeling on how much you already know and tailor their answers accordingly. It also saves them from typing these boring bits for the millionth time.