Writing tex atm.