From bf5b05a84e877391fddd1b0a0b752f71ec05e901 Mon Sep 17 00:00:00 2001 From: Jan Aalmoes Date: Wed, 11 Sep 2024 00:10:50 +0200 Subject: Preuve existe f pas cca equivalant exists f BA pas randomguess --- synthetic/figure/tikz/data.tex | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 synthetic/figure/tikz/data.tex (limited to 'synthetic/figure/tikz/data.tex') diff --git a/synthetic/figure/tikz/data.tex b/synthetic/figure/tikz/data.tex new file mode 100644 index 0000000..663b59c --- /dev/null +++ b/synthetic/figure/tikz/data.tex @@ -0,0 +1,20 @@ +\makeatletter +\tikzset{ + database/.style={ + path picture={ + \draw (0, 1.5*\database@segmentheight) circle [x radius=\database@radius,y radius=\database@aspectratio*\database@radius]; + \draw (-\database@radius, 0.5*\database@segmentheight) arc [start angle=180,end angle=360,x radius=\database@radius, y radius=\database@aspectratio*\database@radius]; + \draw (-\database@radius,-0.5*\database@segmentheight) arc [start angle=180,end angle=360,x radius=\database@radius, y radius=\database@aspectratio*\database@radius]; + \draw (-\database@radius,1.5*\database@segmentheight) -- ++(0,-3*\database@segmentheight) arc [start angle=180,end angle=360,x radius=\database@radius, y radius=\database@aspectratio*\database@radius] -- ++(0,3*\database@segmentheight); + }, + minimum width=2*\database@radius + \pgflinewidth, + minimum height=3*\database@segmentheight + 2*\database@aspectratio*\database@radius + \pgflinewidth, + }, + database segment height/.store in=\database@segmentheight, + database radius/.store in=\database@radius, + database aspect ratio/.store in=\database@aspectratio, + database segment height=0.1cm, + database radius=0.25cm, + database aspect ratio=0.35, +} +\makeatother -- cgit v1.2.3