Versatile documents good for course teaching and learning