Diploma tex article and software implementation