Tau decay (Christmas theme)

Christmas theme of tau decay in a particle physics detector.

tau_decay_xmas

Edit and compile if you like:

% Author: Izaak Neutelings (July 2017)
\documentclass[border=3pt,tikz]{standalone}
%\documentclass{article}
\usepackage{amsmath} % for \text
\usepackage{bm} % for bold math
\usepackage{tikz}
\tikzset{>=latex} % for LaTeX arrow head
\colorlet{myblue}{blue!40!black}
\colorlet{myred}{red!80!black}
\colorlet{mygreen}{green!60!black}
\colorlet{mygold}{yellow!70!orange!90!black}
\usetikzlibrary{arrows.meta}
% vertical custom shading
%https://tex.stackexchange.com/questions/191735/is-it-possible-to-define-the-position-of-top-bottom-and-middle-color-in-fill
\makeatletter
\tikzset{vertical custom shading/.code={%
\pgfmathsetmacro\tikz@vcs@middle{#1}
\pgfmathsetmacro\tikz@vcs@bottom{\tikz@vcs@middle/2}
\pgfmathsetmacro\tikz@vcs@top{(100-\tikz@vcs@middle)/2+\tikz@vcs@middle}
\pgfdeclareverticalshading[tikz@axis@top,tikz@axis@middle,tikz@axis@bottom]{newaxis}{100bp}{%
color(0bp)=(tikz@axis@bottom);
color(\tikz@vcs@bottom bp)=(tikz@axis@bottom);
color(\tikz@vcs@middle bp)=(tikz@axis@middle);
color(\tikz@vcs@top bp)=(tikz@axis@top);
color(100bp)=(tikz@axis@top)}
\pgfkeysalso{/tikz/shading=newaxis}
}
}
\makeatother
\begin{document}
% arrow style
\usetikzlibrary{decorations.markings}
\tikzset{->-/.style={decoration={markings,
mark=at position .7 with {\arrow[scale=1,mygold]{>}}},
postaction={decorate}}}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Click to download: tau_decay_xmas.textau_decay_xmas.pdf
Open in Overleaf: tau_decay_xmas.tex

Leave a Reply

Your email address will not be published.