Aspects of text structure