Verifying the alignment of markings