Larch templates for difference spectra and log-ratio