Anzeige:
Ergebnis 1 bis 3 von 3

Thema: Seitengröße von A4 auf A3 (KOMA Script + Geometry Package)

  1. #1
    Registrierter Benutzer
    Registriert seit
    01.12.2007
    Beiträge
    36

    Seitengröße von A4 auf A3 (KOMA Script + Geometry Package)

    Hallo Zusammen,

    ich versuche schon seit einigen Tage ausgewählte Seiten im Anhang meiner Abschlussarbeit auf das DIN A-3 Format zu formatieren. Leider hat sich diese Aufgabe als schwieriger als zunächst angenommen herausgestellt.

    Ich habe bereits erreicht, dass die ausgegebene *.pdf Seite im A3 Format dargestellt wird (kompiliert wird mit x64\latex.exe im Ausgabeprofil: LaTeX->PS->PDF).
    Aber auf der ausgegebenen DIN A-3 Seite wird der Inhalt nur "zur Hälfte" dargestellt, d. h. der Inhalt beginnt erst auf der Hälfte der A3 Seite.

    Freue mich über jeden Tipp und jede Hilfestellung!
    Beste Grüße

    Nachfolgend ein Minimalbeispiel aus meiner Abschlussarbeit.

    Code:
    \documentclass[dvips, paper=a4, pagesize=pdftex, listof=flat, 12pt, openany, oneside,fleqn]{scrbook}
    
    
    % new koma package
    \usepackage{mathptmx}
    \usepackage{scrpage2}
    \usepackage{psfrag}
    \usepackage[utf8]{inputenc}
    \usepackage{verbatim}
    \usepackage{longtable}
    \usepackage{graphicx}
    \usepackage{epsfig}
    \usepackage{amsmath}
    \usepackage{amsfonts}
    \usepackage{amssymb}
    
    %Farben
    \usepackage[dvips]{color}
    \definecolor{hellgelb}{rgb}{1,1,0.8}
    \definecolor{gelb_exkurs}{rgb}{1,1,0.6}
    
    \usepackage{xcolor}
    \usepackage{xspace}
    \usepackage{bm}
    \usepackage{bbm}
    \usepackage{slashbox}
    \usepackage{booktabs} % extends the tables property by: \toprule, \midrule and \bottomrule
    \usepackage{array}
    \usepackage[square]{natbib}
    \usepackage{setspace}
    \usepackage{lscape}
    \usepackage{amsthm}
    \usepackage{blindtext}
    \usepackage{caption}
    
    %Schriftart festlegen
    \usepackage[ngerman]{babel}
    \usepackage[scaled=1]{helvet}
    \renewcommand\familydefault{phv}
    \usepackage[T1]{fontenc}
    %\usepackage{lmodern}
    
    %\usepackage{uarial}
    
    \usepackage{microtype}
    \setlength{\emergencystretch}{3em}  %Umbrüche erleichtern
    
    \renewcommand*\familydefault{\sfdefault} 
    \linespread {1.2}\selectfont
    \tolerance 2000 %Standard 200 - Rand
    \addtolength{\parskip}{0.0ex plus7.0ex} %seitenumbrüche verhindern
    
    %Zeilenumbruch bei Überschriften - Inhaltsverzeichnis
    
    %Schriftart in Formeln festlegen
    %\usepackage[helvet]{sfmath}
    
    %Euro darstellen (€)
    \usepackage{eurosym}
    \DeclareUnicodeCharacter{20AC}{\euro}
    
    % Zitieren - Kurzbeleg Zitierweise (funktioniert so noch nicht)
    %\usepackage[autorformat=year,titleformat=all]{jurabib}
    %\jbyearaftertitle
    
    % Fußnoten nicht in jedem Chapter bei 1 beginnen!
    \usepackage{remreset}
    \makeatletter
    \@removefromreset{footnote}{chapter}
    \makeatother
    
    % new command: highlighting abbrevation letters in declaration part
    \usepackage[normalem]{ulem}
    \newcommand{\markup}[1]{\textbf{#1}}
    
    % Zitieren - Harvard System
    \usepackage[square]{natbib}
    %\usepackage{natbib}
    
    %Abbildung über nicht unter den Fußnoten
    \usepackage[bottom]{footmisc}
    
    \usepackage{subfig}
    
    %Rahmen zeichnen
    \usepackage{framed}
    \usepackage{mdframed}
    
    
    %Eirücken Verhindern
    \setlength{\parindent}{0pt}
    
    %Mathematische Formeln vom Rand einrücken
    %\setlength{\mathindent}{0mm}
    
    %HyperLinks anzeigen
    \usepackage[colorlinks, linkcolor = black, citecolor = black, filecolor = black, urlcolor = blue, linktocpage={true}]{hyperref} 
    
    %Glossar
    \usepackage[
    nonumberlist, %keine Seitenzahlen anzeigen
    acronym,      %ein Abkürzungsverzeichnis erstellen
    toc,          %Einträge im Inhaltsverzeichnis
    section=chapter]      %im Inhaltsverzeichnis auf section-Ebene erscheinen
    {glossaries}
    
    %Ein eigenes Symbolverzeichnis erstellen
    \newglossary[slg]{symbolslist}{syi}{syg}{Symbolverzeichnis}
    %Den Punkt am Ende jeder Beschreibung deaktivieren
    \renewcommand*{\glspostdescription}{}
    %Glossar-Befehle anschalten
    \makeglossaries
    
    \setcounter{secnumdepth}{3}
    
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % for koma headers
    \pagestyle{scrheadings}
    % define head and foot marks
    \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{-~#1}{}}
    \ihead{\leftmark}
    \chead{}
    %\ohead{\pagemark}   % Seite in der Kopfzeile
    \cfoot{\pagemark}    % Seite in der Fußzeile
    \setheadsepline{.4pt}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % chapter head change
    % adding lines above the chapter head
    % 1st get a new command
    \newcommand*{\ORIGchapterheadstartvskip}{}%
    % 2nd save the original definition to the new command
    \let\ORIGchapterheadstartvskip=\chapterheadstartvskip
    % 3rd redefine the command using the saved original command
    \renewcommand*{\chapterheadstartvskip}{%
      \ORIGchapterheadstartvskip
      {%
        \setlength{\parskip}{0pt}%
        \noindent\rule[0.3\baselineskip]{\linewidth}{0.8pt}\par
      }%
    }
    % and below the chapter head
    \newcommand*{\ORIGchapterheadendvskip}{}%
    \let\ORIGchapterheadendvskip=\chapterheadendvskip
    \renewcommand*{\chapterheadendvskip}{%
      {%
        \setlength{\parskip}{0pt}%
        \noindent\rule[0.3\baselineskip]{\linewidth}{0.8pt}\par
      }%
      \ORIGchapterheadendvskip
    }
    
    \setlength{\headheight}{1.1\baselineskip}
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % define pagesize
    \setlength{\oddsidemargin}{5mm}
    \setlength{\evensidemargin}{5mm}
    \setlength{\textwidth}{155mm}
    \setlength{\topmargin}{-5mm}
    \setlength{\textheight}{235mm}
    
    
    
    \usepackage{geometry}
    \geometry{a4paper, top=25mm, left=30mm, right=30mm, bottom=25mm}
    
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % special formatted strings
    \newcommand{\matlab}{\emph{MATLAB}\xspace}
    \newcommand{\intel}{\emph{INTEL}\xspace}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % changing some fonts 
    \renewcommand{\captionlabelfont}{\small\sffamily\bfseries}
    \setcaphanging
    
    \setkomafont{pageheadfoot}{%
    \normalfont\sffamily\bfseries
    }
    
    \newcommand{\mycite}[1]{\textsc{\citet{#1}}}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    % command for the list of symbols
    \newcommand{\listsymbol}[2]{#1$\;\;$\dotfill$\;\;$&#2\\}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{document}
    
    %%%%%%%%%%%%%%%%%%%%
    %% frontmatter
    \frontmatter
    \pagenumbering{Roman}
    
    % Inhaltsverzeichnis
    \setcounter{tocdepth}{2}
    \addcontentsline{toc}{chapter}{Inhaltsverzeichnis}
    \addto\captionsngerman{%
    \renewcommand{\contentsname}{Inhaltsverzeichnis}}
    \nopagebreak
    \tableofcontents
    \clearpage
    
    
    %%% list of figures
    \addcontentsline{toc}{chapter}{Abbildungsverzeichnis}
    \listoffigures
    \clearpage
    
    % list of tables
    \addcontentsline{toc}{chapter}{Tabellenverzeichnis}
    \listoftables
    \clearpage
    
    %Glossar ausgeben
    %\addcontentsline{toc}{chapter}{Glossar}
    \printglossary[style=altlist]
    \clearpage
    
    %Abkürzungen ausgeben
    \deftranslation[to=German]{Acronyms}{Abkürzungsverzeichnis}
    \printglossary[type=\acronymtype,style=long]
    \clearpage
    
    %Symbole ausgeben
    %\addcontentsline{toc}{chapter}{Symbole}
    \printglossary[type=symbolslist,style=long]
    \clearpage
    
    \mbox{} \thispagestyle{empty} \newpage
    
    %%%%%%%%%%%%%%%%%%%%
    \mainmatter
    % make the header to include the chapter numbering
    % from now on
    
    \ihead{\thechapter~\leftmark} %~\rightmark}
    % the chapters
    
    
    \chapter{TEST 1}
    
    \section{Section Test 1}
    \newpage
    
    \clearpage
    \KOMAoptions{paper=A3, pagesize}
    \recalctypearea
    \newgeometry{layout=a3paper, top=25mm, left=30mm, right=30mm, bottom=25mm}
    
    
    \chapter{TEST 2}
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \section{Section Test 2}
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    \blindtext \ \\
    
    % the bibliography
    \addcontentsline{toc}{chapter}{Literaturverzeichnis}
    % the bibliography shouldn't have a consecutive numbering
    \ihead{\leftmark}
    
    %\bibliographystyle{dinat}
    %\bibliography{BIB}
    
    \clearpage
    
    	
    % but the appendix could
    \ihead{\thechapter~\leftmark}
    %% the appendix is part of the backmatter, but uses capital numbering by default
    \appendix
    
    
    
    \end{document}

  2. #2
    Registrierter Benutzer
    Registriert seit
    09.12.2005
    Beiträge
    1.296
    Davon abgesehen, dass ich keine Lust verspüre, mich durch diesen Wust an teilweise veraltetem und größtenteils für das Problem vermutlich überflüssigen Code zu wühlen, fällt schon auf, dass Du LaTeX mit widersprüchlichen Informationen fütterst. Einerseits gibst Du als Option dvips an, was vermuten lässt, dass du mit latex und dvips, aber nicht mit pdflatex arbeitest. Auf der anderen Seite gibst du Option pagesize=pdftex an, was typearea sagt, dass es Seitengrößeninformationen für pdftex aber nicht für dvips bereitstellen soll.

    Ich würde daher als erstes empfehlen, dass Du die Präambel mal gründlich aufräumst. Ansonsten sei einfach noch erwähnt, dass man A3-Seiten eines existierenden PDFs mit dem Paket pdfpages ganzseitig in ein A4-Dokument einbinden kann.

  3. #3
    Registrierter Benutzer
    Registriert seit
    01.12.2007
    Beiträge
    36
    Besten Dank für den Hinweis! Habe das Problem mittlerweile (quick and dirty) gelöst:

    Code:
    \clearpage
    \KOMAoptions{paper=A3, pagesize}
    \recalctypearea
    \newgeometry{layout=a3paper, top=25mm, left=30mm, right=30mm, bottom=25mm}
    \setlength{\topmargin}{-138mm}

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •