Text this: Mathematical techniques and physical applications