Under Page Settings in the Template Editor, you can find options to adjust page width, height, and margins.

For example, to make a document landscape, switch MS Page Width and MS Page Height.

You can use inches, centimeters, or pixels as your unit of measurement.