It is easy enough to change page orientation for an entire document. But sometimes you will want to have both portrait and landscape page orientation within the same document. You might be tempted to create two documents, one for landscape and one for portrait. However, this becomes complicated when you want to number your document pages.
Fortunately, there is an easier solution. You simply insert section breaks in your document and set the page orientation for each section.

