# How can I typeset this equation (standard model of physics)? [duplicate]

This question already has an answer here:

So, there's this picture

Floating around on the internet for the standard model of physics in a relatively short form. I want to typeset this in LaTeX in order to print it. However, I can't find a way to typeset the crossed out D in the second line.

So far, I have this

    \documentclass[a4paper,10pt]{scrartcl}

\usepackage{amsmath,amssymb}

\begin{document}
What part of

\begin{align*}
\mathcal{L} &= - \frac{1}{4} F_{\mu \nu} F^{\mu \nu} \\
&+ i \bar{\psi} D \psi + h.c. \\
&+ \bar{\psi}_i y_{ij} \psi_j \phi + h.c. \\
&+ |D_\mu \phi|^2 - V(\phi)
\end{align*}

didn't you understand?

\end{document}


## marked as duplicate by Werner, Gonzalo Medina, henrique, user13907, JesseAug 19 '15 at 1:58

You can use cancel package.

\documentclass[a4paper,10pt]{scrartcl}

\usepackage{amsmath,amssymb,cancel}

\begin{document}
What part of

\begin{align*}
\mathcal{L} &= - \frac{1}{4} F_{\mu \nu} F^{\mu \nu} \\
&\phantom{{}=}+ i \bar{\psi} \cancel{D} \psi + h.c. \\
&\phantom{{}=}+ \bar{\psi}_i y_{ij} \psi_j \phi + h.c. \\
&\phantom{{}=}+ |D_\mu \phi|^2 - V(\phi)
\end{align*}

didn't you understand?

\end{document}


• seems like the easiest way to do this. thanks a lot! – John W. Aug 18 '15 at 23:08
• To obtain more even row spacing, one might use \tfrac instead of \frac in the first row. – Mico Aug 19 '15 at 0:19
• Just a remark, D should not be in italics. – user74200 Jun 11 '17 at 12:44