20201105 To create a document in landscape set the appropriate options for the []geometry package.
\usepackage[a4paper,margin=5mm,landscape]{geometry} % Landscape.