\Part{particle}
    \desc{Particle physics}{}{}
    \desc[german]{Teilchenphysik}{}{}


    \begin{formula}{electron_mass}
        \desc{Electron mass}{}{}
        \desc[german]{Elektronenmasse}{}{}
        \constant{m_\txe}{exp}{
            \val{9.1093837139(28) \xE{-31}}{\kg}
        }
    \end{formula}

    \begin{formula}{spin}
        \desc{Spin}{}{}
        \desc[german]{Spin}{}{}
        \quantity{\sigma}{}{v}
    \end{formula}

    \begin{bigformula}{standard_model}
        \desc{Standard model}{}{}
        \desc[german]{Standartmodell}{}{}
        \centering

\tikzset{%
          label/.style = { black, midway, align=center },
       toplabel/.style = { label, above=.5em, anchor=south },
      leftlabel/.style = { midway, left=.5em, anchor=east },   
    bottomlabel/.style = { label, below=.5em, anchor=north },
          force/.style = { rotate=-90,scale=0.4 },
          round/.style = { rounded corners=2mm },
         legend/.style = { anchor=east },
          nosep/.style = { inner sep=0pt },
     generation/.style = { anchor=base },
          brace/.style = { decoration={brace,mirror},decorate }
}

% [1]: color
% 2: symbol
% 3: name
% 4: mass
% 5: spin
% 6: charge
% 7: colors 
\newcommand\drawParticle[7][white]{%
    \begin{tikzpicture}[x=2.2cm, y=2.2cm]
        % \path[fill=#1,blur shadow={shadow blur steps=5}] (0,0) -- (1,0) -- (1,1) -- (0,1) -- cycle;
        % \path[fill=#1,stroke=black,blur shadow={shadow blur steps=5},rounded corners] (0,0) rectangle (1,1);
        \path[fill=#1!20!bg0,draw=#1,thick] (0.02,0.02) rectangle (0.98,0.98);
        \node at(0.92, 0.50) [nosep,anchor=east]{\Large #2};
        % \node at(0.95, 0.15) [nosep,anchor=south east]{\footnotesize #3};
        \node at(0.05, 0.15) [nosep,anchor=south west]{\footnotesize #3};
        % \ifstrempty{#2}{}{\node at(0)  [nosep,anchor=west,scale=1.5] {#2};}
        % \ifstrempty{#3}{}{\node at(0.1,-0.85) [nosep,anchor=west,scale=0.3] {#3};}
        \ifstrempty{#4}{}{\node at(0.05,0.85)  [nosep,anchor=west] {\footnotesize #4};}
        \ifstrempty{#5}{}{\node at(0.05,0.70)  [nosep,anchor=west] {\footnotesize #5};}
        \ifstrempty{#6}{}{\node at(0.05,0.55)  [nosep,anchor=west] {\footnotesize #6};}
        % \ifstrempty{#7}{}{\node at(0.05,0.40)  [nosep,anchor=west] {\footnotesize #7};}
    \end{tikzpicture}
}
\def\colorLepton{bg-aqua}
\def\colorQuarks{bg-purple}
\def\colorGauBos{bg-red}
\def\colorScaBos{bg-yellow}
\eng[quarks]{Quarks}
\ger[quarks]{Quarks}
\eng[leptons]{Leptons}
\ger[leptons]{Leptonen}
\eng[fermions]{Fermions}
\ger[fermions]{Fermionen}
\eng[bosons]{Bosons}
\ger[bosons]{Bosonen}

\begin{tikzpicture}[x=2.2cm, y=2.2cm]
    \node at(0, 0)   {\drawParticle[\colorQuarks]{$u$}        {up}            {$2.3$ MeV}{1/2}{$2/3$}{R/G/B}};
    \node at(0,-1)   {\drawParticle[\colorQuarks]{$d$}        {down}          {$4.8$ MeV}{1/2}{$-1/3$}{R/G/B}};
    \node at(0,-2)   {\drawParticle[\colorLepton]{$e$}        {electron}      {$511$ keV}{1/2}{$-1$}{}};
    \node at(0,-3)   {\drawParticle[\colorLepton]{$\nu_e$}    {$e$ neutrino}  {$<2.2$ eV}{1/2}{0}{}};
    \node at(1, 0)   {\drawParticle[\colorQuarks]{$c$}        {charm}         {$1.275$ GeV}{1/2}{$2/3$}{R/G/B}};
    \node at(1,-1)   {\drawParticle[\colorQuarks]{$s$}        {strange}       {$95$ MeV}{1/2}{$-1/3$}{R/G/B}};
    \node at(1,-2)   {\drawParticle[\colorLepton]{$\mu$}      {muon}          {$105.7$ MeV}{1/2}{$-1$}{}};
    \node at(1,-3)   {\drawParticle[\colorLepton]{$\nu_\mu$}  {$\mu$ neutrino}{$<170$ keV}{1/2}{0}{}};
    \node at(2, 0)   {\drawParticle[\colorQuarks]{$t$}        {top}           {$173.2$ GeV}{1/2}{$2/3$}{R/G/B}};
    \node at(2,-1)   {\drawParticle[\colorQuarks]{$b$}        {bottom}        {$4.18$ GeV}{1/2}{$-1/3$}{R/G/B}};
    \node at(2,-2)   {\drawParticle[\colorLepton]{$\tau$}     {tau}           {$1.777$ GeV}{1/2}{$-1$}{}};
    \node at(2,-3)   {\drawParticle[\colorLepton]{$\nu_\tau$} {$\tau$ neutrino} {$<15.5$ MeV}{1/2}{0}{}};
    \node at(3, 0)   {\drawParticle[\colorGauBos]{$g$}        {gluon}         {0}{1}{0}{color}};
    \node at(3,-1)   {\drawParticle[\colorGauBos]{$\gamma$}   {photon}        {0}{1}{0}{}};
    \node at(3,-2)   {\drawParticle[\colorGauBos]{$Z$}        {}              {$91.2$ GeV}{1}{0}{}};
    \node at(3,-3)   {\drawParticle[\colorGauBos]{$W_\pm$}    {}              {$80.4$ GeV}{1}{$\pm1$}{}}; 
    \node at(4,0)    {\drawParticle[\colorScaBos]{$H$}        {Higgs}         {$125.1$ GeV}{0}{0}{}};
    
    \draw [->] (-0.7, 0.35) node [legend] {\qtyRef{mass}}  -- (-0.5, 0.35);
    \draw [->] (-0.7, 0.20) node [legend] {\qtyRef{spin}}  -- (-0.5, 0.20);
    \draw [->] (-0.7, 0.05) node [legend] {\qtyRef{charge}} -- (-0.5, 0.05);
    \draw [->] (-0.7,-0.10) node [legend] {\GT{colors}} -- (-0.5,-0.10);
    
    \draw [brace,draw=\colorQuarks] (-0.55, 0.5) -- (-0.55,-1.5) node[leftlabel,color=\colorQuarks] {\gt{quarks}};
    \draw [brace,draw=\colorLepton] (-0.55,-1.5) -- (-0.55,-3.5) node[leftlabel,color=\colorLepton] {\gt{leptons}};
    \draw [brace] (-0.5,-3.55) -- ( 2.5,-3.55) node[bottomlabel] {\gt{fermions}};
    \draw [brace] ( 2.5,-3.55) -- ( 4.5,-3.55) node[bottomlabel] {\gt{bosons}};
    
    
    \draw [brace] (0.5,0.55) -- (-0.5,0.55) node[toplabel] {\small standard matter};
    \draw [brace] (2.5,0.55) -- ( 0.5,0.55) node[toplabel] {\small unstable matter};
    \draw [brace] (4.5,0.55) -- ( 2.5,0.55) node[toplabel] {\small force carriers};
    
    \node at (0,0.85) [generation] {\small   I};
    \node at (1,0.85) [generation] {\small  II};
    \node at (2,0.85) [generation] {\small III};
    \node at (1,1.05) [generation] {\small generation};
\end{tikzpicture}

    \end{bigformula}
