Mg line formation in late-type stellar atmospheres | Publicación