id
stringlengths 7
28
| type
stringclasses 2
values | instruction
stringlengths 18
328
| code
stringclasses 44
values | template_solution_code
listlengths 1
4
| original_template
stringlengths 1k
3.37k
| solution
stringlengths 987
3.35k
| expected
bool 2
classes | original_image
imagewidth (px) 187
1.14k
| solution_image
imagewidth (px) 266
3.01k
| theoretical_perfect_image
imagewidth (px) 266
1.7k
| perfect_solution_similarity
float32 -1
0.97
|
|---|---|---|---|---|---|---|---|---|---|---|---|
bee_eyes
|
animal
|
Add eyes to the bee with pupils, on the front of its head, looking forward
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n \\fill [BlueGrey100] (§rangei(40,10), §rangei(150,5)) circle [radius=§rangei(20,7)];\n \\fill [BlueGrey700] (§rangei(40,10), §rangei(160,5)) circle [radius=§rangei(7,5)];\n \n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
\fill [BlueGrey100] (§rangei(40,10), §rangei(150,5)) circle [radius=§rangei(20,7)];
\fill [BlueGrey700] (§rangei(40,10), §rangei(160,5)) circle [radius=§rangei(7,5)];
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
\fill [BlueGrey100] (40, 150) circle [radius=20];
\fill [BlueGrey700] (40, 160) circle [radius=7];
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
| true
| -1
|
|||
bee_eyes
|
animal
|
Add eyes to the bee with pupils, on the front of its head, looking forward
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n \\fill [BlueGrey100] (§rangei(40,10), §rangei(150,5)) circle [radius=§rangei(20,7)];\n \\fill [BlueGrey700] (§rangei(40,10), §rangei(160,5)) circle [radius=§rangei(7,5)];\n \n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
\fill [BlueGrey100] (§rangei(40,10), §rangei(150,5)) circle [radius=§rangei(20,7)];
\fill [BlueGrey700] (§rangei(40,10), §rangei(160,5)) circle [radius=§rangei(7,5)];
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1, rotate=-25]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
\fill [BlueGrey100] (58, 159) circle [radius=32];
\fill [BlueGrey700] (40, 160) circle [radius=-2];
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
| false
| 0.963151
|
|||
bee_longer_body
|
animal
|
Make the body of the bee longer, and pointy
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{\n \\fill [body] (0,§range(-260,-190,-220))\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,§range(-260,-190,-220))\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,§choice([2,3],2)}\n \\fill [stripes] (-256, §range(-80,-210,-160) + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,§range(-260,-190,-220))
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,§range(-260,-190,-220))
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,§choice([2,3],2)}
\fill [stripes] (-256, §range(-80,-210,-160) + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-220)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-220)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
| true
| -1
|
|||
bee_longer_body
|
animal
|
Make the body of the bee longer, and pointy
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{\n \\fill [body] (0,§range(-260,-190,-220))\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,§range(-260,-190,-220))\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,§choice([2,3],2)}\n \\fill [stripes] (-256, §range(-80,-210,-160) + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,§range(-260,-190,-220))
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,§range(-260,-190,-220))
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,§choice([2,3],2)}
\fill [stripes] (-256, §range(-80,-210,-160) + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-47, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-288)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-288)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,1}
\fill [stripes] (-256, -28 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
| false
| 0.958056
|
|||
bee_three_wings
|
animal
|
Add a third pair of wings to the bee
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, middle wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}",
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, middle wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}",
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, upper wing, middle wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, middle wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey200}, upper wing/.style={fill=BlueGrey50}, middle wing/.style={fill=BlueGrey100}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, middle wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
| true
| -1
|
|||
bee_three_wings
|
animal
|
Add a third pair of wings to the bee
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, middle wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}",
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, middle wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}",
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, upper wing, middle wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, middle wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1, rotate=-25]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey400}, upper wing/.style={fill=BlueGrey500}, middle wing/.style={fill=BlueGrey700}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, middle wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
| false
| 0.965034
|
|||
bee_three_wings
|
animal
|
Add a third pair of wings to the bee
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, middle wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}",
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, middle wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}",
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, upper wing, middle wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing, middle wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey200}, upper wing/.style={fill=BlueGrey50}, middle wing/.style={fill=BlueGrey100}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing, middle wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
| true
| -1
|
|||
bee_three_wings
|
animal
|
Add a third pair of wings to the bee
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey100}, upper wing/.style={fill=BlueGrey50}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, middle wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}",
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, middle wing, upper wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}",
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[prefix=]{xcolor-material}\n\n\\tikzset{\n half clip/.code={\n \\clip (0, -256) rectangle (256, 256);\n },\n color alias/.code args={#1 as #2}{\\colorlet{#1}{#2}},\n colors alias/.style={color alias/.list/.expanded={#1}},\n execute/.code={#1},\n on left/.style={.. on left/.style={#1}},\n on right/.style={.. on right/.style={#1}},\n}\n\\newcommand\\reflect[2][]{\n\\begin{scope}[#1]\\foreach \\side in {-1, 1}{\\begin{scope}\n\\ifnum\\side=-1 \\tikzset{.. on left/.try}\\else\\tikzset{.. on right/.try}\\fi\n\\begin{scope}[xscale=\\side]#2\\end{scope}\n\\end{scope}}\\end{scope}}\n\n\n\\tikzset{\nbee/.pic={\n\\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]\n\\reflect[\n on left= {colors alias={body as BlueGrey800, stripes as Amber500}},\n on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},\n lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{\n \\fill [body] (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\fill [body] (0,128) ellipse [x radius=80, y radius=56];\n \\fill [body]\n (32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)\n arc (90:180:64) -- cycle;\n \\fill [body] (@) circle [radius=12];\n \\begin{scope}\n \\clip (0,-160)\n .. controls ++(120:64) and ++(270:64) .. (-88, -16)\n .. controls ++( 90:64) and ++(225:64) .. ( 0, 128)\n .. controls ++(315:64) and ++( 90:64) .. ( 88, -16)\n .. controls ++(270:64) and ++( 60:64) .. cycle;\n \\foreach \\i in {0,...,2}\n \\fill [stripes] (-256, -160 + \\i*80) rectangle ++(512, 40);\n \\end{scope}\n \\foreach \\s [count=\\i from -1] in {lower wing, upper wing, middle wing}\n \\fill [style=\\s, shift={(16,56)}, rotate=\\i*32]\n (0,0)\n .. controls ++( 30:64) and ++(180:32) .. (128,56)\n arc (90:-90:56)\n .. controls ++(180:32) and ++(330:64) .. cycle;\n}\n\\end{scope}}\n}\n\\begin{document}\n\\begin{tikzpicture}\n\\fill [fill=LightBlue300] circle [radius=2];\n\\pic {bee};\n\\end{tikzpicture}\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:48)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey§choice([50,100,200,300],200)}, upper wing/.style={fill=BlueGrey§choice([50,100,200,300],50)}, §def(middle wing)/.style={fill=BlueGrey§choice([50,100,200,300],100)}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing, middle wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[prefix=]{xcolor-material}
\tikzset{
half clip/.code={
\clip (0, -256) rectangle (256, 256);
},
color alias/.code args={#1 as #2}{\colorlet{#1}{#2}},
colors alias/.style={color alias/.list/.expanded={#1}},
execute/.code={#1},
on left/.style={.. on left/.style={#1}},
on right/.style={.. on right/.style={#1}},
}
\newcommand\reflect[2][]{
\begin{scope}[#1]\foreach \side in {-1, 1}{\begin{scope}
\ifnum\side=-1 \tikzset{.. on left/.try}\else\tikzset{.. on right/.try}\fi
\begin{scope}[xscale=\side]#2\end{scope}
\end{scope}}\end{scope}}
\tikzset{
bee/.pic={
\begin{scope}[x=3cm/480,y=3cm/480, rotate=-45, shift=(270:62)]
\reflect[
on left= {colors alias={body as BlueGrey800, stripes as Amber500}},
on right={colors alias={body as BlueGrey900, stripes as Amber700}, half clip},
lower wing/.style={fill=BlueGrey400}, upper wing/.style={fill=BlueGrey700}, middle wing/.style={fill=BlueGrey900}]{
\fill [body] (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\fill [body] (0,128) ellipse [x radius=80, y radius=56];
\fill [body]
(32,160) arc (180:90:64) -- ++(6,-6) coordinate [midway] (@)
arc (90:180:64) -- cycle;
\fill [body] (@) circle [radius=12];
\begin{scope}
\clip (0,-160)
.. controls ++(120:64) and ++(270:64) .. (-88, -16)
.. controls ++( 90:64) and ++(225:64) .. ( 0, 128)
.. controls ++(315:64) and ++( 90:64) .. ( 88, -16)
.. controls ++(270:64) and ++( 60:64) .. cycle;
\foreach \i in {0,...,2}
\fill [stripes] (-256, -160 + \i*80) rectangle ++(512, 40);
\end{scope}
\foreach \s [count=\i from -1] in {lower wing, upper wing, middle wing}
\fill [style=\s, shift={(16,56)}, rotate=\i*32]
(0,0)
.. controls ++( 30:64) and ++(180:32) .. (128,56)
arc (90:-90:56)
.. controls ++(180:32) and ++(330:64) .. cycle;
}
\end{scope}}
}
\begin{document}
\begin{tikzpicture}
\fill [fill=LightBlue300] circle [radius=2];
\pic {bee};
\end{tikzpicture}
\end{document}
| false
| 0.964843
|
|||
boson_square
|
scientific
|
Put the c diagram under a.
|
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[right = 3 of ce](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[utf8x]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{amsmath}\n\\usepackage{amssymb}\n\\usepackage{color}\n\\usepackage[]{xcolor}\n\\usepackage{tikz}\n\\usepackage{tikz}\n\\usepackage{tikz-feynman}\n\\tikzfeynmanset{warn luatex=false}\n\n\\begin{document}\n\n\\begin{tikzpicture}[thick, transform shape]\n\\begin{feynman}\n\\vertex(ce);\n\\vertex [below = 0.1 of ce] (ce01){\\((b)\\)};\n\\vertex [left = 0.5 of ce] (l01);\n\\vertex [right = 0.5 of ce] (r01);\n\\vertex [above = 1 of ce] (c02);\n\\vertex [left = 1 of ce] (c12){\\(k\\)};\n\\vertex [right = 1 of ce] (c22){\\(k\\)};\n\\vertex [above left = 1 of ce] (c32){\\(p_1\\)};\n\\vertex [above right = 1 of ce] (c42){\\(p_2\\)};\n\n\\vertex[left = 3 of ce](ce2);\n\\vertex [below = 0.1 of ce2] (ce02){\\((a)\\)};\n\\vertex [above = 1 of ce2] (c01);\n\\vertex [left = 1 of ce2] (c11){\\(k\\)};\n\\vertex [right = 1 of ce2] (c21){\\(k\\)};\n\\vertex [above left = 1 of ce2] (c31){\\(p_1\\)};\n\\vertex [above right = 1 of ce2] (c41){\\(p_2\\)};\n\n\\vertex[below = 2 of ce2](ce3);\n\\vertex [below = 0.1 of ce3] (ce03){\\((c)\\)};\n\\vertex [left = 0.5 of ce3] (l02);\n\\vertex [right = 0.5 of ce3] (r02);\n\n\\vertex [above = 1 of ce3] (c03);\n\\vertex [left = 1 of ce3] (c13){\\(k\\)};\n\\vertex [right = 1 of ce3] (c23){\\(k\\)};\n\\vertex [above left = 1 of ce3] (c33){\\(p_1\\)};\n\\vertex [above right = 1 of ce3] (c43){\\(p_2\\)};\n\n\\vertex[below = 2 of ce](ce4);\n\\vertex [below = 0.1 of ce4] (ce04){\\((d)\\)};\n\\vertex[above = 0.5 of ce4](ce5);\n\n\\vertex [above = 1 of ce4] (c04);\n\\vertex [left = 1 of ce4] (c14){\\(k\\)};\n\\vertex [right = 1 of ce4] (c24){\\(k\\)};\n\\vertex [above left = 1 of ce4] (c34){\\(p_1\\)};\n\\vertex [above right = 1 of ce4] (c44){\\(p_2\\)};\n\n\\diagram* {\n(c12)--(c22),\n(c11) --(c21),\n(c13) --(c23),\n(c14) --(c24),\n(ce2) - - [boson, edge label'=\\(\\)](c31),\n(ce2) - - [boson, edge label'=\\(\\)](c41),\n(l01)- - [boson, edge label'=\\(\\)](c32),\n(r01)- - [boson, edge label'=\\(\\)](c42),\n(l02)- - [boson, edge label'=\\(\\)](c43),\n(r02)- - [boson, edge label'=\\(\\)](c33),\n(ce5)- - [boson, edge label'=\\(\\)](ce4),\n(ce5)- - [boson, edge label'=\\(\\)](c34),\n(ce5)- - [boson, edge label'=\\(\\)](c44),\n};\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.6 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.3 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);\n\\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.9 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);\n\\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.2 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.9 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\end{feynman}\n\\end{tikzpicture}\n\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[below = 2 of ce2](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[below = 2 of ce2](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
| true
| -1
|
|||
boson_square
|
scientific
|
Put the c diagram under a.
|
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[right = 3 of ce](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[utf8x]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{amsmath}\n\\usepackage{amssymb}\n\\usepackage{color}\n\\usepackage[]{xcolor}\n\\usepackage{tikz}\n\\usepackage{tikz}\n\\usepackage{tikz-feynman}\n\\tikzfeynmanset{warn luatex=false}\n\n\\begin{document}\n\n\\begin{tikzpicture}[thick, transform shape]\n\\begin{feynman}\n\\vertex(ce);\n\\vertex [below = 0.1 of ce] (ce01){\\((b)\\)};\n\\vertex [left = 0.5 of ce] (l01);\n\\vertex [right = 0.5 of ce] (r01);\n\\vertex [above = 1 of ce] (c02);\n\\vertex [left = 1 of ce] (c12){\\(k\\)};\n\\vertex [right = 1 of ce] (c22){\\(k\\)};\n\\vertex [above left = 1 of ce] (c32){\\(p_1\\)};\n\\vertex [above right = 1 of ce] (c42){\\(p_2\\)};\n\n\\vertex[left = 3 of ce](ce2);\n\\vertex [below = 0.1 of ce2] (ce02){\\((a)\\)};\n\\vertex [above = 1 of ce2] (c01);\n\\vertex [left = 1 of ce2] (c11){\\(k\\)};\n\\vertex [right = 1 of ce2] (c21){\\(k\\)};\n\\vertex [above left = 1 of ce2] (c31){\\(p_1\\)};\n\\vertex [above right = 1 of ce2] (c41){\\(p_2\\)};\n\n\\vertex[below = 2 of ce2](ce3);\n\\vertex [below = 0.1 of ce3] (ce03){\\((c)\\)};\n\\vertex [left = 0.5 of ce3] (l02);\n\\vertex [right = 0.5 of ce3] (r02);\n\n\\vertex [above = 1 of ce3] (c03);\n\\vertex [left = 1 of ce3] (c13){\\(k\\)};\n\\vertex [right = 1 of ce3] (c23){\\(k\\)};\n\\vertex [above left = 1 of ce3] (c33){\\(p_1\\)};\n\\vertex [above right = 1 of ce3] (c43){\\(p_2\\)};\n\n\\vertex[below = 2 of ce](ce4);\n\\vertex [below = 0.1 of ce4] (ce04){\\((d)\\)};\n\\vertex[above = 0.5 of ce4](ce5);\n\n\\vertex [above = 1 of ce4] (c04);\n\\vertex [left = 1 of ce4] (c14){\\(k\\)};\n\\vertex [right = 1 of ce4] (c24){\\(k\\)};\n\\vertex [above left = 1 of ce4] (c34){\\(p_1\\)};\n\\vertex [above right = 1 of ce4] (c44){\\(p_2\\)};\n\n\\diagram* {\n(c12)--(c22),\n(c11) --(c21),\n(c13) --(c23),\n(c14) --(c24),\n(ce2) - - [boson, edge label'=\\(\\)](c31),\n(ce2) - - [boson, edge label'=\\(\\)](c41),\n(l01)- - [boson, edge label'=\\(\\)](c32),\n(r01)- - [boson, edge label'=\\(\\)](c42),\n(l02)- - [boson, edge label'=\\(\\)](c43),\n(r02)- - [boson, edge label'=\\(\\)](c33),\n(ce5)- - [boson, edge label'=\\(\\)](ce4),\n(ce5)- - [boson, edge label'=\\(\\)](c34),\n(ce5)- - [boson, edge label'=\\(\\)](c44),\n};\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.6 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.3 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);\n\\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.9 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);\n\\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.2 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.9 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\end{feynman}\n\\end{tikzpicture}\n\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[below = 2 of ce2](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [above = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 3 of ce2] (c41){\(p_2\)};
\vertex[right = 3 of ce](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.57 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth, scale=1.38]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth, scale=0.6]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
| false
| 0.930884
|
|||
boson_square
|
scientific
|
Put the c diagram under a.
|
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[right = 3 of ce](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[utf8x]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{amsmath}\n\\usepackage{amssymb}\n\\usepackage{color}\n\\usepackage[]{xcolor}\n\\usepackage{tikz}\n\\usepackage{tikz}\n\\usepackage{tikz-feynman}\n\\tikzfeynmanset{warn luatex=false}\n\n\\begin{document}\n\n\\begin{tikzpicture}[thick, transform shape]\n\\begin{feynman}\n\\vertex(ce);\n\\vertex [below = 0.1 of ce] (ce01){\\((b)\\)};\n\\vertex [left = 0.5 of ce] (l01);\n\\vertex [right = 0.5 of ce] (r01);\n\\vertex [above = 1 of ce] (c02);\n\\vertex [left = 1 of ce] (c12){\\(k\\)};\n\\vertex [right = 1 of ce] (c22){\\(k\\)};\n\\vertex [above left = 1 of ce] (c32){\\(p_1\\)};\n\\vertex [above right = 1 of ce] (c42){\\(p_2\\)};\n\n\\vertex[left = 3 of ce](ce2);\n\\vertex [below = 0.1 of ce2] (ce02){\\((a)\\)};\n\\vertex [above = 1 of ce2] (c01);\n\\vertex [left = 1 of ce2] (c11){\\(k\\)};\n\\vertex [right = 1 of ce2] (c21){\\(k\\)};\n\\vertex [above left = 1 of ce2] (c31){\\(p_1\\)};\n\\vertex [above right = 1 of ce2] (c41){\\(p_2\\)};\n\n\\vertex[below = 2 of ce2](ce3);\n\\vertex [below = 0.1 of ce3] (ce03){\\((c)\\)};\n\\vertex [left = 0.5 of ce3] (l02);\n\\vertex [right = 0.5 of ce3] (r02);\n\n\\vertex [above = 1 of ce3] (c03);\n\\vertex [left = 1 of ce3] (c13){\\(k\\)};\n\\vertex [right = 1 of ce3] (c23){\\(k\\)};\n\\vertex [above left = 1 of ce3] (c33){\\(p_1\\)};\n\\vertex [above right = 1 of ce3] (c43){\\(p_2\\)};\n\n\\vertex[below = 2 of ce](ce4);\n\\vertex [below = 0.1 of ce4] (ce04){\\((d)\\)};\n\\vertex[above = 0.5 of ce4](ce5);\n\n\\vertex [above = 1 of ce4] (c04);\n\\vertex [left = 1 of ce4] (c14){\\(k\\)};\n\\vertex [right = 1 of ce4] (c24){\\(k\\)};\n\\vertex [above left = 1 of ce4] (c34){\\(p_1\\)};\n\\vertex [above right = 1 of ce4] (c44){\\(p_2\\)};\n\n\\diagram* {\n(c12)--(c22),\n(c11) --(c21),\n(c13) --(c23),\n(c14) --(c24),\n(ce2) - - [boson, edge label'=\\(\\)](c31),\n(ce2) - - [boson, edge label'=\\(\\)](c41),\n(l01)- - [boson, edge label'=\\(\\)](c32),\n(r01)- - [boson, edge label'=\\(\\)](c42),\n(l02)- - [boson, edge label'=\\(\\)](c43),\n(r02)- - [boson, edge label'=\\(\\)](c33),\n(ce5)- - [boson, edge label'=\\(\\)](ce4),\n(ce5)- - [boson, edge label'=\\(\\)](c34),\n(ce5)- - [boson, edge label'=\\(\\)](c44),\n};\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.6 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.3 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);\n\\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.9 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);\n\\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.2 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.9 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\end{feynman}\n\\end{tikzpicture}\n\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[below = 2 of ce2](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below right = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 4 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 5 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[right = 3 of ce](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth, scale=1.33]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth, rotate=13]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
| false
| 0.932767
|
|||
boson_square
|
scientific
|
Put the c diagram under a.
|
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[right = 3 of ce](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage[utf8x]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{amsmath}\n\\usepackage{amssymb}\n\\usepackage{color}\n\\usepackage[]{xcolor}\n\\usepackage{tikz}\n\\usepackage{tikz}\n\\usepackage{tikz-feynman}\n\\tikzfeynmanset{warn luatex=false}\n\n\\begin{document}\n\n\\begin{tikzpicture}[thick, transform shape]\n\\begin{feynman}\n\\vertex(ce);\n\\vertex [below = 0.1 of ce] (ce01){\\((b)\\)};\n\\vertex [left = 0.5 of ce] (l01);\n\\vertex [right = 0.5 of ce] (r01);\n\\vertex [above = 1 of ce] (c02);\n\\vertex [left = 1 of ce] (c12){\\(k\\)};\n\\vertex [right = 1 of ce] (c22){\\(k\\)};\n\\vertex [above left = 1 of ce] (c32){\\(p_1\\)};\n\\vertex [above right = 1 of ce] (c42){\\(p_2\\)};\n\n\\vertex[left = 3 of ce](ce2);\n\\vertex [below = 0.1 of ce2] (ce02){\\((a)\\)};\n\\vertex [above = 1 of ce2] (c01);\n\\vertex [left = 1 of ce2] (c11){\\(k\\)};\n\\vertex [right = 1 of ce2] (c21){\\(k\\)};\n\\vertex [above left = 1 of ce2] (c31){\\(p_1\\)};\n\\vertex [above right = 1 of ce2] (c41){\\(p_2\\)};\n\n\\vertex[below = 2 of ce2](ce3);\n\\vertex [below = 0.1 of ce3] (ce03){\\((c)\\)};\n\\vertex [left = 0.5 of ce3] (l02);\n\\vertex [right = 0.5 of ce3] (r02);\n\n\\vertex [above = 1 of ce3] (c03);\n\\vertex [left = 1 of ce3] (c13){\\(k\\)};\n\\vertex [right = 1 of ce3] (c23){\\(k\\)};\n\\vertex [above left = 1 of ce3] (c33){\\(p_1\\)};\n\\vertex [above right = 1 of ce3] (c43){\\(p_2\\)};\n\n\\vertex[below = 2 of ce](ce4);\n\\vertex [below = 0.1 of ce4] (ce04){\\((d)\\)};\n\\vertex[above = 0.5 of ce4](ce5);\n\n\\vertex [above = 1 of ce4] (c04);\n\\vertex [left = 1 of ce4] (c14){\\(k\\)};\n\\vertex [right = 1 of ce4] (c24){\\(k\\)};\n\\vertex [above left = 1 of ce4] (c34){\\(p_1\\)};\n\\vertex [above right = 1 of ce4] (c44){\\(p_2\\)};\n\n\\diagram* {\n(c12)--(c22),\n(c11) --(c21),\n(c13) --(c23),\n(c14) --(c24),\n(ce2) - - [boson, edge label'=\\(\\)](c31),\n(ce2) - - [boson, edge label'=\\(\\)](c41),\n(l01)- - [boson, edge label'=\\(\\)](c32),\n(r01)- - [boson, edge label'=\\(\\)](c42),\n(l02)- - [boson, edge label'=\\(\\)](c43),\n(r02)- - [boson, edge label'=\\(\\)](c33),\n(ce5)- - [boson, edge label'=\\(\\)](ce4),\n(ce5)- - [boson, edge label'=\\(\\)](c34),\n(ce5)- - [boson, edge label'=\\(\\)](c44),\n};\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.6 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.3 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);\n\\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.9 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);\n\\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.2 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\begin{scope}[decoration={\n\t\tmarkings,\n\t\tmark=at position 0.9 with {\\arrow[>=Stealth]{>}}}] \n\\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);\n\\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);\n\\end{scope}\n\\end{feynman}\n\\end{tikzpicture}\n\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 3 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[below = 2 of ce2](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{color}
\usepackage[]{xcolor}
\usepackage{tikz}
\usepackage{tikz}
\usepackage{tikz-feynman}
\tikzfeynmanset{warn luatex=false}
\begin{document}
\begin{tikzpicture}[thick, transform shape]
\begin{feynman}
\vertex(ce);
\vertex [below right = 0.1 of ce] (ce01){\((b)\)};
\vertex [left = 0.5 of ce] (l01);
\vertex [right = 0.5 of ce] (r01);
\vertex [above = 1 of ce] (c02);
\vertex [left = 1 of ce] (c12){\(k\)};
\vertex [right = 1 of ce] (c22){\(k\)};
\vertex [above left = 1 of ce] (c32){\(p_1\)};
\vertex [above right = 1 of ce] (c42){\(p_2\)};
\vertex[left = 8 of ce](ce2);
\vertex [below = 0.1 of ce2] (ce02){\((a)\)};
\vertex [above = 1 of ce2] (c01);
\vertex [left = 1 of ce2] (c11){\(k\)};
\vertex [right = 1 of ce2] (c21){\(k\)};
\vertex [above left = 1 of ce2] (c31){\(p_1\)};
\vertex [above right = 1 of ce2] (c41){\(p_2\)};
\vertex[right = 3 of ce](ce3);
\vertex [below = 0.1 of ce3] (ce03){\((c)\)};
\vertex [left = 0.5 of ce3] (l02);
\vertex [right = 0.5 of ce3] (r02);
\vertex [above = 1 of ce3] (c03);
\vertex [left = 1 of ce3] (c13){\(k\)};
\vertex [right = 1 of ce3] (c23){\(k\)};
\vertex [above left = 1 of ce3] (c33){\(p_1\)};
\vertex [above right = 1 of ce3] (c43){\(p_2\)};
\vertex[below = 2 of ce](ce4);
\vertex [below = 0.1 of ce4] (ce04){\((d)\)};
\vertex[above = 0.5 of ce4](ce5);
\vertex [above = 1 of ce4] (c04);
\vertex [left = 1 of ce4] (c14){\(k\)};
\vertex [right = 1 of ce4] (c24){\(k\)};
\vertex [above left = 1 of ce4] (c34){\(p_1\)};
\vertex [above right = 1 of ce4] (c44){\(p_2\)};
\diagram* {
(c12)--(c22),
(c11) --(c21),
(c13) --(c23),
(c14) --(c24),
(ce2) - - [boson, edge label'=\(\)](c31),
(ce2) - - [boson, edge label'=\(\)](c41),
(l01)- - [boson, edge label'=\(\)](c32),
(r01)- - [boson, edge label'=\(\)](c42),
(l02)- - [boson, edge label'=\(\)](c43),
(r02)- - [boson, edge label'=\(\)](c33),
(ce5)- - [boson, edge label'=\(\)](ce4),
(ce5)- - [boson, edge label'=\(\)](c34),
(ce5)- - [boson, edge label'=\(\)](c44),
};
\begin{scope}[decoration={
markings,
mark=at position 0.6 with {\arrow[>=Stealth, rotate=8]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.3 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c11) -- node [right=4pt] {}(c21);
\draw[postaction={decorate}] (c14) -- node [right=4pt] {}(c24);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.2 with {\arrow[>=Stealth, rotate=1]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\begin{scope}[decoration={
markings,
mark=at position 0.9 with {\arrow[>=Stealth]{>}}}]
\draw[postaction={decorate}] (c12) -- node [right=4pt] {}(c22);
\draw[postaction={decorate}] (c13) -- node [right=4pt] {}(c23);
\end{scope}
\end{feynman}
\end{tikzpicture}
\end{document}
| false
| 0.906408
|
|||
box_other_measure
|
scientific
|
Add another interval L2, going from the end of b1 to the end of b3.
|
\documentclass[tikz,border=5]{standalone}
\usepackage{amsmath, amsthm, amssymb,enumerate}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots,amsmath}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphing,decorations.pathreplacing}
\tikzset{ brokenrect/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north east)--(\tikzlastnode.south east)}
-- (\tikzlastnode.south west)|-cycle;
}}}}
\tikzset{ brokenrect2/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north west)--(\tikzlastnode.south west)}
-- (\tikzlastnode.south east)|-cycle;
}}}}
\tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt},
cross/.default={1pt}}
\begin{document}
\begin{tikzpicture}
\def\ox{0}
\def\oy{0}
\coordinate(o) at (\ox,\oy);
\def\tl{10.0}
\draw [-latex](\ox,\oy) node[above left]{} -- (\ox+\tl,\oy) node[above,font=\small]{$t$};
\def\pi{0.5}
\tikzstyle{mystyle}=[draw, minimum height=0.5cm,rectangle, inner sep=0pt,font=\scriptsize]
\tikzstyle{mystyle2}=[draw = none, minimum height=0.25cm,rectangle, inner sep=0pt,font=\scriptsize]
\draw (0,0) -- (0,-0.2) node[below] {\tiny $S_1$};
\draw (\pi,0) -- (\pi,-0.2) node[below] {\tiny $S_2$};
\draw (2.5,0) -- (2.5,-0.2) node[below] {\tiny $S_3$};
\draw (7.5,0) -- (7.5,-0.2) node[below] {\tiny $C_1$};
\draw (4.75,0) -- (4.75,-0.2) node[below] {\tiny $C_2$};
\draw (9.5,0) -- (9.5,-0.2) node[below] {\tiny $C_3$};
\draw [<->] (\pi,0.65)--node[above]{\small $L_1$}(\pi+5,0.65);
\node(b1) [above right=-0.01cm and -0.01cm of o,mystyle, minimum width=\pi cm,pattern=north west lines, pattern color=red]{};
\node(b1_t) [mystyle2, fill = white] at (b1.center) {$a_1$};
\node(b2) [right=5cm of b1,mystyle, minimum width=2 cm,pattern=north west lines, pattern color=red]{};
\node(b2_t) [mystyle2, fill = white] at (b2.center) {$b_1$};
\node(b3) [right=0cm of b1,mystyle, minimum width=1.5 cm,pattern=north east lines, pattern color=green]{};
\node(b3_t) [mystyle2, fill = white] at (b3.center) {$a_2$};
\node(b4) [right=2cm of b3,mystyle, minimum width=0.75 cm,pattern=north east lines, pattern color=green]{};
\node(b4_t) [mystyle2, fill = white] at (b4.center) {$b_2$};
\node(b5) [right=0.5cm of b3,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b5_t) [mystyle2, fill = white] at (b5.center) {$a_3$};
\node(b6) [right=1cm of b2,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b6_t) [mystyle2, fill = white] at (b6.center) {$b_3$};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage{amsmath, amsthm, amssymb,enumerate}\n\\usepackage{tikz}\n\\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}\n\\usepackage{xcolor}\n\\usepackage{tikz}\n\\usepackage{pgfplots,amsmath}\n\\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphing,decorations.pathreplacing}\n\\tikzset{ brokenrect/.style={\n\n append after command={\n\n \\pgfextra{\n\n \\path[draw,#1]\n\n decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]\n\n {(\\tikzlastnode.north east)--(\\tikzlastnode.south east)} \n\n -- (\\tikzlastnode.south west)|-cycle;\n\n }}}}\n\\tikzset{ brokenrect2/.style={\n\n append after command={\n\n \\pgfextra{\n\n \\path[draw,#1]\n\n decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]\n\n {(\\tikzlastnode.north west)--(\\tikzlastnode.south west)} \n\n -- (\\tikzlastnode.south east)|-cycle;\n\n }}}}\n\\tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\\pgflinewidth), inner sep=0pt, outer sep=0pt},\ncross/.default={1pt}}\n\n\\begin{document}\n\n\\begin{tikzpicture}\n\n\\def\\ox{0} \n\\def\\oy{0} \n\\coordinate(o) at (\\ox,\\oy);\n\n\\def\\tl{10.0}\n\\draw [-latex](\\ox,\\oy) node[above left]{} -- (\\ox+\\tl,\\oy) node[above,font=\\small]{$t$};\n\n\n\n\\def\\pi{0.5}\n\\tikzstyle{mystyle}=[draw, minimum height=0.5cm,rectangle, inner sep=0pt,font=\\scriptsize]\n\\tikzstyle{mystyle2}=[draw = none, minimum height=0.25cm,rectangle, inner sep=0pt,font=\\scriptsize]\n\n\n\\draw (0,0) -- (0,-0.2) node[below] {\\tiny $S_1$};\n\\draw (\\pi,0) -- (\\pi,-0.2) node[below] {\\tiny $S_2$};\n\\draw (2.5,0) -- (2.5,-0.2) node[below] {\\tiny $S_3$};\n\\draw (7.5,0) -- (7.5,-0.2) node[below] {\\tiny $C_1$};\n\\draw (4.75,0) -- (4.75,-0.2) node[below] {\\tiny $C_2$};\n\\draw (9.5,0) -- (9.5,-0.2) node[below] {\\tiny $C_3$};\n\n\\draw [<->] (\\pi,0.65)--node[above]{\\small $L_1$}(\\pi+5,0.65);\n\\draw [<->] (7.5,0.65)--node[above]{\\small $L_2$}(9.5,0.65);\n\n\\node(b1) [above right=-0.01cm and -0.01cm of o,mystyle, minimum width=\\pi cm,pattern=north west lines, pattern color=red]{};\n\\node(b1_t) [mystyle2, fill = white] at (b1.center) {$a_1$};\n\\node(b2) [right=5cm of b1,mystyle, minimum width=2 cm,pattern=north west lines, pattern color=red]{};\n\\node(b2_t) [mystyle2, fill = white] at (b2.center) {$b_1$};\n\\node(b3) [right=0cm of b1,mystyle, minimum width=1.5 cm,pattern=north east lines, pattern color=green]{};\n\\node(b3_t) [mystyle2, fill = white] at (b3.center) {$a_2$};\n\\node(b4) [right=2cm of b3,mystyle, minimum width=0.75 cm,pattern=north east lines, pattern color=green]{};\n\\node(b4_t) [mystyle2, fill = white] at (b4.center) {$b_2$};\n\\node(b5) [right=0.5cm of b3,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};\n\\node(b5_t) [mystyle2, fill = white] at (b5.center) {$a_3$};\n\\node(b6) [right=1cm of b2,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};\n\\node(b6_t) [mystyle2, fill = white] at (b6.center) {$b_3$};\n\\end{tikzpicture}\n\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage{amsmath, amsthm, amssymb,enumerate}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots,amsmath}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphing,decorations.pathreplacing}
\tikzset{ brokenrect/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north east)--(\tikzlastnode.south east)}
-- (\tikzlastnode.south west)|-cycle;
}}}}
\tikzset{ brokenrect2/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north west)--(\tikzlastnode.south west)}
-- (\tikzlastnode.south east)|-cycle;
}}}}
\tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt},
cross/.default={1pt}}
\begin{document}
\begin{tikzpicture}
\def\ox{0}
\def\oy{0}
\coordinate(o) at (\ox,\oy);
\def\tl{10.0}
\draw [-latex](\ox,\oy) node[above left]{} -- (\ox+\tl,\oy) node[above,font=\small]{$t$};
\def\pi{0.5}
\tikzstyle{mystyle}=[draw, minimum height=0.5cm,rectangle, inner sep=0pt,font=\scriptsize]
\tikzstyle{mystyle2}=[draw = none, minimum height=0.25cm,rectangle, inner sep=0pt,font=\scriptsize]
\draw (0,0) -- (0,-0.2) node[below] {\tiny $S_1$};
\draw (\pi,0) -- (\pi,-0.2) node[below] {\tiny $S_2$};
\draw (2.5,0) -- (2.5,-0.2) node[below] {\tiny $S_3$};
\draw (7.5,0) -- (7.5,-0.2) node[below] {\tiny $C_1$};
\draw (4.75,0) -- (4.75,-0.2) node[below] {\tiny $C_2$};
\draw (9.5,0) -- (9.5,-0.2) node[below] {\tiny $C_3$};
\draw [<->] (\pi,0.65)--node[above]{\small $L_1$}(\pi+5,0.65);
\draw [<->] (7.5,0.65)--node[above]{\small $L_2$}(9.5,0.65);
\node(b1) [above right=-0.01cm and -0.01cm of o,mystyle, minimum width=\pi cm,pattern=north west lines, pattern color=red]{};
\node(b1_t) [mystyle2, fill = white] at (b1.center) {$a_1$};
\node(b2) [right=5cm of b1,mystyle, minimum width=2 cm,pattern=north west lines, pattern color=red]{};
\node(b2_t) [mystyle2, fill = white] at (b2.center) {$b_1$};
\node(b3) [right=0cm of b1,mystyle, minimum width=1.5 cm,pattern=north east lines, pattern color=green]{};
\node(b3_t) [mystyle2, fill = white] at (b3.center) {$a_2$};
\node(b4) [right=2cm of b3,mystyle, minimum width=0.75 cm,pattern=north east lines, pattern color=green]{};
\node(b4_t) [mystyle2, fill = white] at (b4.center) {$b_2$};
\node(b5) [right=0.5cm of b3,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b5_t) [mystyle2, fill = white] at (b5.center) {$a_3$};
\node(b6) [right=1cm of b2,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b6_t) [mystyle2, fill = white] at (b6.center) {$b_3$};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage{amsmath, amsthm, amssymb,enumerate}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots,amsmath}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphing,decorations.pathreplacing}
\tikzset{ brokenrect/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north east)--(\tikzlastnode.south east)}
-- (\tikzlastnode.south west)|-cycle;
}}}}
\tikzset{ brokenrect2/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north west)--(\tikzlastnode.south west)}
-- (\tikzlastnode.south east)|-cycle;
}}}}
\tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt},
cross/.default={1pt}}
\begin{document}
\begin{tikzpicture}
\def\ox{0}
\def\oy{0}
\coordinate(o) at (\ox,\oy);
\def\tl{10.0}
\draw [-latex](\ox,\oy) node[above left]{} -- (\ox+\tl,\oy) node[above,font=\small]{$t$};
\def\pi{0.5}
\tikzstyle{mystyle}=[draw, minimum height=0.5cm,rectangle, inner sep=0pt,font=\scriptsize]
\tikzstyle{mystyle2}=[draw = none, minimum height=0.25cm,rectangle, inner sep=0pt,font=\scriptsize]
\draw (0,0) -- (0,-0.2) node[below] {\tiny $S_1$};
\draw (\pi,0) -- (\pi,-0.2) node[below] {\tiny $S_2$};
\draw (2.5,0) -- (2.5,-0.2) node[below] {\tiny $S_3$};
\draw (7.5,0) -- (7.5,-0.2) node[below] {\tiny $C_1$};
\draw (4.75,0) -- (4.75,-0.2) node[below] {\tiny $C_2$};
\draw (9.5,0) -- (9.5,-0.2) node[below] {\tiny $C_3$};
\draw [<->] (\pi,0.65)--node[above]{\small $L_1$}(\pi+5,0.65);
\draw [<->] (7.5,0.65)--node[above]{\small $L_2$}(9.5,0.65);
\node(b1) [above right=-0.01cm and -0.01cm of o,mystyle, minimum width=\pi cm,pattern=north west lines, pattern color=red]{};
\node(b1_t) [mystyle2, fill = white] at (b1.center) {$a_1$};
\node(b2) [right=5cm of b1,mystyle, minimum width=2 cm,pattern=north west lines, pattern color=red]{};
\node(b2_t) [mystyle2, fill = white] at (b2.center) {$b_1$};
\node(b3) [right=0cm of b1,mystyle, minimum width=1.5 cm,pattern=north east lines, pattern color=green]{};
\node(b3_t) [mystyle2, fill = white] at (b3.center) {$a_2$};
\node(b4) [right=2cm of b3,mystyle, minimum width=0.75 cm,pattern=north east lines, pattern color=green]{};
\node(b4_t) [mystyle2, fill = white] at (b4.center) {$b_2$};
\node(b5) [right=0.5cm of b3,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b5_t) [mystyle2, fill = white] at (b5.center) {$a_3$};
\node(b6) [right=1cm of b2,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b6_t) [mystyle2, fill = white] at (b6.center) {$b_3$};
\end{tikzpicture}
\end{document}
| true
| -1
|
|||
box_other_measure
|
scientific
|
Add another interval L2, going from the end of b1 to the end of b3.
|
\documentclass[tikz,border=5]{standalone}
\usepackage{amsmath, amsthm, amssymb,enumerate}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots,amsmath}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphing,decorations.pathreplacing}
\tikzset{ brokenrect/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north east)--(\tikzlastnode.south east)}
-- (\tikzlastnode.south west)|-cycle;
}}}}
\tikzset{ brokenrect2/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north west)--(\tikzlastnode.south west)}
-- (\tikzlastnode.south east)|-cycle;
}}}}
\tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt},
cross/.default={1pt}}
\begin{document}
\begin{tikzpicture}
\def\ox{0}
\def\oy{0}
\coordinate(o) at (\ox,\oy);
\def\tl{10.0}
\draw [-latex](\ox,\oy) node[above left]{} -- (\ox+\tl,\oy) node[above,font=\small]{$t$};
\def\pi{0.5}
\tikzstyle{mystyle}=[draw, minimum height=0.5cm,rectangle, inner sep=0pt,font=\scriptsize]
\tikzstyle{mystyle2}=[draw = none, minimum height=0.25cm,rectangle, inner sep=0pt,font=\scriptsize]
\draw (0,0) -- (0,-0.2) node[below] {\tiny $S_1$};
\draw (\pi,0) -- (\pi,-0.2) node[below] {\tiny $S_2$};
\draw (2.5,0) -- (2.5,-0.2) node[below] {\tiny $S_3$};
\draw (7.5,0) -- (7.5,-0.2) node[below] {\tiny $C_1$};
\draw (4.75,0) -- (4.75,-0.2) node[below] {\tiny $C_2$};
\draw (9.5,0) -- (9.5,-0.2) node[below] {\tiny $C_3$};
\draw [<->] (\pi,0.65)--node[above]{\small $L_1$}(\pi+5,0.65);
\node(b1) [above right=-0.01cm and -0.01cm of o,mystyle, minimum width=\pi cm,pattern=north west lines, pattern color=red]{};
\node(b1_t) [mystyle2, fill = white] at (b1.center) {$a_1$};
\node(b2) [right=5cm of b1,mystyle, minimum width=2 cm,pattern=north west lines, pattern color=red]{};
\node(b2_t) [mystyle2, fill = white] at (b2.center) {$b_1$};
\node(b3) [right=0cm of b1,mystyle, minimum width=1.5 cm,pattern=north east lines, pattern color=green]{};
\node(b3_t) [mystyle2, fill = white] at (b3.center) {$a_2$};
\node(b4) [right=2cm of b3,mystyle, minimum width=0.75 cm,pattern=north east lines, pattern color=green]{};
\node(b4_t) [mystyle2, fill = white] at (b4.center) {$b_2$};
\node(b5) [right=0.5cm of b3,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b5_t) [mystyle2, fill = white] at (b5.center) {$a_3$};
\node(b6) [right=1cm of b2,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b6_t) [mystyle2, fill = white] at (b6.center) {$b_3$};
\end{tikzpicture}
\end{document}
|
[
"\\documentclass[tikz,border=5]{standalone}\n\\usepackage{amsmath, amsthm, amssymb,enumerate}\n\\usepackage{tikz}\n\\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}\n\\usepackage{xcolor}\n\\usepackage{tikz}\n\\usepackage{pgfplots,amsmath}\n\\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphing,decorations.pathreplacing}\n\\tikzset{ brokenrect/.style={\n\n append after command={\n\n \\pgfextra{\n\n \\path[draw,#1]\n\n decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]\n\n {(\\tikzlastnode.north east)--(\\tikzlastnode.south east)} \n\n -- (\\tikzlastnode.south west)|-cycle;\n\n }}}}\n\\tikzset{ brokenrect2/.style={\n\n append after command={\n\n \\pgfextra{\n\n \\path[draw,#1]\n\n decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]\n\n {(\\tikzlastnode.north west)--(\\tikzlastnode.south west)} \n\n -- (\\tikzlastnode.south east)|-cycle;\n\n }}}}\n\\tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\\pgflinewidth), inner sep=0pt, outer sep=0pt},\ncross/.default={1pt}}\n\n\\begin{document}\n\n\\begin{tikzpicture}\n\n\\def\\ox{0} \n\\def\\oy{0} \n\\coordinate(o) at (\\ox,\\oy);\n\n\\def\\tl{10.0}\n\\draw [-latex](\\ox,\\oy) node[above left]{} -- (\\ox+\\tl,\\oy) node[above,font=\\small]{$t$};\n\n\n\n\\def\\pi{0.5}\n\\tikzstyle{mystyle}=[draw, minimum height=0.5cm,rectangle, inner sep=0pt,font=\\scriptsize]\n\\tikzstyle{mystyle2}=[draw = none, minimum height=0.25cm,rectangle, inner sep=0pt,font=\\scriptsize]\n\n\n\\draw (0,0) -- (0,-0.2) node[below] {\\tiny $S_1$};\n\\draw (\\pi,0) -- (\\pi,-0.2) node[below] {\\tiny $S_2$};\n\\draw (2.5,0) -- (2.5,-0.2) node[below] {\\tiny $S_3$};\n\\draw (7.5,0) -- (7.5,-0.2) node[below] {\\tiny $C_1$};\n\\draw (4.75,0) -- (4.75,-0.2) node[below] {\\tiny $C_2$};\n\\draw (9.5,0) -- (9.5,-0.2) node[below] {\\tiny $C_3$};\n\n\\draw [<->] (\\pi,0.65)--node[above]{\\small $L_1$}(\\pi+5,0.65);\n\\draw [<->] (7.5,0.65)--node[above]{\\small $L_2$}(9.5,0.65);\n\n\\node(b1) [above right=-0.01cm and -0.01cm of o,mystyle, minimum width=\\pi cm,pattern=north west lines, pattern color=red]{};\n\\node(b1_t) [mystyle2, fill = white] at (b1.center) {$a_1$};\n\\node(b2) [right=5cm of b1,mystyle, minimum width=2 cm,pattern=north west lines, pattern color=red]{};\n\\node(b2_t) [mystyle2, fill = white] at (b2.center) {$b_1$};\n\\node(b3) [right=0cm of b1,mystyle, minimum width=1.5 cm,pattern=north east lines, pattern color=green]{};\n\\node(b3_t) [mystyle2, fill = white] at (b3.center) {$a_2$};\n\\node(b4) [right=2cm of b3,mystyle, minimum width=0.75 cm,pattern=north east lines, pattern color=green]{};\n\\node(b4_t) [mystyle2, fill = white] at (b4.center) {$b_2$};\n\\node(b5) [right=0.5cm of b3,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};\n\\node(b5_t) [mystyle2, fill = white] at (b5.center) {$a_3$};\n\\node(b6) [right=1cm of b2,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};\n\\node(b6_t) [mystyle2, fill = white] at (b6.center) {$b_3$};\n\\end{tikzpicture}\n\n\\end{document}"
] |
\documentclass[tikz,border=5]{standalone}
\usepackage{amsmath, amsthm, amssymb,enumerate}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots,amsmath}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphing,decorations.pathreplacing}
\tikzset{ brokenrect/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north east)--(\tikzlastnode.south east)}
-- (\tikzlastnode.south west)|-cycle;
}}}}
\tikzset{ brokenrect2/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north west)--(\tikzlastnode.south west)}
-- (\tikzlastnode.south east)|-cycle;
}}}}
\tikzset{cross/.style={cross out, draw=black, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt},
cross/.default={1pt}}
\begin{document}
\begin{tikzpicture}
\def\ox{0}
\def\oy{0}
\coordinate(o) at (\ox,\oy);
\def\tl{10.0}
\draw [-latex](\ox,\oy) node[above left]{} -- (\ox+\tl,\oy) node[above,font=\small]{$t$};
\def\pi{0.5}
\tikzstyle{mystyle}=[draw, minimum height=0.5cm,rectangle, inner sep=0pt,font=\scriptsize]
\tikzstyle{mystyle2}=[draw = none, minimum height=0.25cm,rectangle, inner sep=0pt,font=\scriptsize]
\draw (0,0) -- (0,-0.2) node[below] {\tiny $S_1$};
\draw (\pi,0) -- (\pi,-0.2) node[below] {\tiny $S_2$};
\draw (2.5,0) -- (2.5,-0.2) node[below] {\tiny $S_3$};
\draw (7.5,0) -- (7.5,-0.2) node[below] {\tiny $C_1$};
\draw (4.75,0) -- (4.75,-0.2) node[below] {\tiny $C_2$};
\draw (9.5,0) -- (9.5,-0.2) node[below] {\tiny $C_3$};
\draw [<->] (\pi,0.65)--node[above]{\small $L_1$}(\pi+5,0.65);
\draw [<->] (7.5,0.65)--node[above]{\small $L_2$}(9.5,0.65);
\node(b1) [above right=-0.01cm and -0.01cm of o,mystyle, minimum width=\pi cm,pattern=north west lines, pattern color=red]{};
\node(b1_t) [mystyle2, fill = white] at (b1.center) {$a_1$};
\node(b2) [right=5cm of b1,mystyle, minimum width=2 cm,pattern=north west lines, pattern color=red]{};
\node(b2_t) [mystyle2, fill = white] at (b2.center) {$b_1$};
\node(b3) [right=0cm of b1,mystyle, minimum width=1.5 cm,pattern=north east lines, pattern color=green]{};
\node(b3_t) [mystyle2, fill = white] at (b3.center) {$a_2$};
\node(b4) [right=2cm of b3,mystyle, minimum width=0.75 cm,pattern=north east lines, pattern color=green]{};
\node(b4_t) [mystyle2, fill = white] at (b4.center) {$b_2$};
\node(b5) [right=0.5cm of b3,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b5_t) [mystyle2, fill = white] at (b5.center) {$a_3$};
\node(b6) [right=1cm of b2,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b6_t) [mystyle2, fill = white] at (b6.center) {$b_3$};
\end{tikzpicture}
\end{document}
|
\documentclass[tikz,border=5]{standalone}
\usepackage{amsmath, amsthm, amssymb,enumerate}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{pgfplots,amsmath}
\usetikzlibrary{shapes,arrows,fit,calc,positioning,patterns,decorations.pathmorphing,decorations.pathreplacing}
\tikzset{ brokenrect/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north east)--(\tikzlastnode.south east)}
-- (\tikzlastnode.south west)|-cycle;
}}}}
\tikzset{ brokenrect2/.style={
append after command={
\pgfextra{
\path[draw,#1]
decorate[decoration={zigzag,segment length=0.3em, amplitude=.7mm}]
{(\tikzlastnode.north west)--(\tikzlastnode.south west)}
-- (\tikzlastnode.south east)|-cycle;
}}}}
\tikzset{cross/.style={cross out, draw=gray, minimum size=2*(#1-\pgflinewidth), inner sep=0pt, outer sep=0pt},
cross/.default={1pt}}
\begin{document}
\begin{tikzpicture}
\def\ox{0}
\def\oy{0}
\coordinate(o) at (\ox,\oy);
\def\tl{10.0}
\draw [-latex](\ox,\oy) node[right]{} -- (\ox+\tl,\oy) node[above,font=\small]{$t$};
\def\pi{0.5}
\tikzstyle{mystyle}=[draw, minimum height=0.5cm,rectangle, inner sep=0pt,font=\scriptsize]
\tikzstyle{mystyle2}=[draw = none, minimum height=0.25cm,rectangle, inner sep=0pt,font=\scriptsize]
\draw (0,0) -- (0,-0.2) node[below] {\tiny $S_1$};
\draw (\pi,1) -- (\pi,-0.2) node[below] {\tiny $S_2$};
\draw (2.5,0) -- (2.5,-0.2) node[below] {\tiny $S_3$};
\draw (7.5,0) -- (7.5,-0.2) node[below] {\tiny $C_1$};
\draw (4.75,0) -- (4.75,-0.2) node[below] {\tiny $C_2$};
\draw (9.5,5) -- (9.5,-0.2) node[below] {\tiny $C_3$};
\draw [<->] (\pi,0.65)--node[above]{\small $L_1$}(\pi+5,0.65);
\node(b1) [above right=-0.01cm and -0.01cm of o,mystyle, minimum width=\pi cm,pattern=north west lines, pattern color=red]{};
\node(b1_t) [mystyle2, fill = white] at (b1.center) {$a_1$};
\node(b2) [right=5cm of b1,mystyle, minimum width=2 cm,pattern=north west lines, pattern color=red]{};
\node(b2_t) [mystyle2, fill = white] at (b2.center) {$b_1$};
\node(b3) [right=0cm of b1,mystyle, minimum width=1.5 cm,pattern=north east lines, pattern color=green]{};
\node(b3_t) [mystyle2, fill = white] at (b3.center) {$a_2$};
\node(b4) [right=2cm of b3,mystyle, minimum width=0.75 cm,pattern=north east lines, pattern color=green]{};
\node(b4_t) [mystyle2, fill = white] at (b4.center) {$b_2$};
\node(b5) [right=0.5cm of b3,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b5_t) [mystyle2, fill = white] at (b5.center) {$a_3$};
\node(b6) [right=1cm of b2,mystyle, minimum width=1 cm,pattern=vertical lines, pattern color=yellow]{};
\node(b6_t) [mystyle2, fill = white] at (b6.center) {$b_3$};
\end{tikzpicture}
\end{document}
| false
| 0.838048
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 2