I'm trying to rotate some pages within my PDF with the landscape package. Unfortunately LaTeX creates an empty page in front of every landscaped page.
Can anyone help?
Code: Select all
Code, edit and compile here:
\documentclass[12pt,a4paper,onecolumn]{scrartcl}\usepackage[utf8]{inputenc}\usepackage[T1]{fontenc}\usepackage{helvet}\usepackage[ngerman]{babel}\usepackage[ngerman]{translator}\usepackage{chngcntr}\usepackage{graphicx}\usepackage[automark]{scrpage2}\usepackage{pdfpages}\usepackage{tocloft}\usepackage{pdflscape}\newcommand{\changefont}[3]{\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}\changefont{cmss}{m}{n}%% - - - - - - - - - - - Text Formatierung - - - - - - - - - - - - - - - - - - - -\usepackage[left=2cm,right=3.5cm,top=2.5cm,bottom=2cm]{geometry}\PassOptionsToPackage{hyphens}{url}\usepackage{hyperref}\linespread{1.5}\hypersetup{%pdfborder = {0 0 0}}%% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\usepackage{nameref}%% - - - - - - - - - - - - - - für Anhangverzeichnis - - - - - - - - - - - - - -\newcounter{cap}\setcounter{cap}{3}\newcommand{\listappendicesname}{Anlagenverzeichnis}\newcounter{appendixctr}\newlistof{appendices}{apc}{\listappendicesname}\newcommand{\appendices}[1]{\addcontentsline{apc}{appendices}{#1}}\newcommand{\newappendix}[1]{\refstepcounter{appendices}\hypertarget{#1}{}\pdfbookmark[2]{#1}{#1}\section*{Anlage \arabic{cap}-\theappendices:\quad#1}\appendices{Anlage \arabic{cap}-\theappendices:\quad#1}}