Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using the following header

\documentclass[fontsize=11pt]{scrbook}
\usepackage{amsmath,amssymb,amsfonts,hyperref}
\begin{document}
\large

%%% Header %%%
\title{My Title}
\author{John J. Johnson}
\date{December 2012}
\maketitle

\end{document}

I noticed that the title is placed toward the left side of the resulting PDF file rather than in the middle. Can I fix it?

share|improve this question

2 Answers 2

up vote 5 down vote accepted

It depends on what you want. Do you want onesided printed documents or doublesided documents? One sided documents have the same margins on the right and left side, double sided documents have margins builded like this: outer margin = 2 * inner margin, for example for a right side:

outer margin (right one, 4cm) = inner margin (left one, 2cm) * 2

The result is that you get a good looking book with 3 same margins: left (4cm) = inner (2cm+2cm=4cm) = right (4cm).

Document class scrartcl and scrreprt are one sided, scrbookis doublesided. If you want to change this you can add the document class option oneside or twoside.

Try this MWE and play with the comment signs:

%http://tex.stackexchange.com/questions/85884/koma-script-unequal-left-right-margin
\documentclass[%
  oneside       % prints one sided; twoside is standard for scrbook
% twoside       % prints double sided documents
 ,fontsize=11pt % fontsize for standard font
]{scrbook}      % scrartcl scrreprt scrbook
\usepackage{amsmath,amssymb,amsfonts,hyperref}
 \usepackage{showframe}  % shows typing area with frames; for test only!
\begin{document}
\large

%%% Header %%%
\title{My Title}
\author{John J. Johnson}
\date{December 2012}
\maketitle
\end{document}

The inner title of a book is always printed in the area used in the book, the envelope of the book can be build differently.

If you want to make an envelope for your work, use a separate file with one sided printing. With KOMA-Script you can use the environment titlepage to create your own title pages. In the manual you will find this ...

share|improve this answer
    
The titlepage environment is available in the standard LaTeX classes as well, but it's pretty useless imho (What does the titlepage environment do and what are its benefits?). Instead of changing the margins manually, I'd recommend using the typearea component of KOMA-Script, which can be used with non-KOMA classes as well, see tex.stackexchange.com/a/61847/4012. –  doncherry Dec 7 '12 at 4:49
    
@doncherry: I use titlepage with textpos to build an own titlepage with ignoring the given margins. But this is only one possibility to solve this problem. There are a lot of ways to get to Rome :-) –  Kurt Dec 7 '12 at 5:10

That's because a two-page design with different margins on the inner and outer sides is assumed for the document class scrbook. If you don't have any particular reason for using the book KOMA-class, switch to scrreprt or scrartcl. If you want to stick with scrbook, add the oneside option to \documentclass.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.