Text this: Mathematical theory of entropy