Apply protect case after latex encoding