You wouldn't think that typesetting the Cabibbo-Kobayashi-Maskawa (CKM) matrix's
unitarity and normalisation relations would be hard, would you? Well, depending
on how anal retentive you are it's either just a case of whacking in the right
subscript indices or it's a minor voyage of discovery into how LaTeX doesn't
always know best. When it comes to math typesetting I'm quite picky, so you can
safely assume that I consider this to be a nice example of the latter!

A first try

First, lets try it the naive way. Put this in your LaTeX source, using
\usepackage{amsmath} in the document preamble:

Here I've divided the relations first into those between rows and then between
columns, using the amsmath package to do the subequation labelling, alignment
around the equals sign and so on. Here's the output:

Now I don't know about you, but the unequal (math mode) spacing of the flavour
indices, the variations in subscript height between conjugated and unconjugated
V's and the different widths of the terms look pretty scrappy to me. Let's try
to fix these little visual quirks.

Improved method

Now a more careful approach, using the maybemath, amsmath and hepnicenames packages. This time, we need to put a bunch
of definitions in the preamble or in a personal style/package/class:

These definitions are mostly for compactness. The definitions of the CKM
elements and conjugates include a superscript phantom asterisk to make the two
take up the same vertical space, and the \VCkmPair macro fixes each term to be
the same width. The flavour indices are implemented using the quark macros from
my hepnicenames package (in the hepnames set) to do the particle symbols via
commands like \Pcharm.

Postscript: you may now find that the subdepth package makes a lot of this redundant by
automatically fixing the subscript depth. That package was written long after
these instructions, and since I don't need to typeset CKM relations anymore I've
not tried it out. It is used by the new version of hepparticles, though, and works very nicely indeed.