Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

changing font in the headings of the documentclass "scrbook" & left-adjusted title page

682 views
Skip to first unread message

Charman

unread,
Sep 8, 2009, 6:02:16 PM9/8/09
to
Hello, dear NewsGroup,

I'm sorry I'm just a beginner at LaTeX, so my question may be too
simple.

I want to change the font in the headings (title, chapter names,
subsection names etc.) of my document (which uses the "scrbook" class)
to a seriff font. I would like to have the same font you get for the
headings in the documentclass "book", but I still want to maintain the
documentclass "scrbook" if possible. Is there any possibility to put
some commands in the header of my document to change it?

And another problem is this - I use the "twoside" option with the
"scrbook" documentclass. Strangely my title page is left-adjusted, but
I would like it to be right-adjusted.
I've found this by googeling: \hypersetup
{pdfpagelayout=TwoColumnRight} , but where do I insert this command?
It is not recognized and counted as error no matter where I put it.
What am I doing wrong?

Kind regards
Charman

Peter Flynn

unread,
Sep 9, 2009, 4:29:05 PM9/9/09
to
Charman wrote:
> Hello, dear NewsGroup,
>
> I'm sorry I'm just a beginner at LaTeX, so my question may be too
> simple.
>
> I want to change the font in the headings (title, chapter names,
> subsection names etc.) of my document (which uses the "scrbook" class)

I'm not very well up in the KomaScript classes, but the principles
should be the same:

a. Read The FAQ. That's what it's there for. In your case, this is
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=titlsty

b. if there is a package which can do this for you, use it. For the
standard LaTeX classes (including "book"), this would be the "titling"
package, but I see from the FAQ page that there are details of how to do
this in KomaScript classes separately.

> to a seriff font. I would like to have the same font you get for the
> headings in the documentclass "book", but I still want to maintain the
> documentclass "scrbook" if possible. Is there any possibility to put
> some commands in the header of my document to change it?

Yes. Best is [a] or [b] above, but failing that, you can probably insert
a manual change inside the argument to the \title command, eg

\title{\rmfamily This Is My Title}

> And another problem is this - I use the "twoside" option with the
> "scrbook" documentclass. Strangely my title page is left-adjusted,

Not strange at all. I would have expected it to be like that.

> but I would like it to be right-adjusted.

This sounds like some rather deeper reprogramming than just changing the
typeface. You'll need to see what facilities the KomaScript packages
offer -- have you read the documentation yet?

> I've found this by googeling: \hypersetup
> {pdfpagelayout=TwoColumnRight} ,

I have no idea if that has anything at all to do with KomaScript. It
sounds more like something from the hyperref package, but as I said, KS
isn't my forte.

> but where do I insert this command?

In the Preamble. The bit of your document between the \documentclass
line and the \begin{document} line.

> It is not recognized and counted as error no matter where I put it.
> What am I doing wrong?

RTFM, I'm afraid. As you don't tell us where you put it, or what the
result was, or what error messages you got, we're in the dark, and can't
help.

Make a minimal example and post it so we can run it and see.

///Peter

Ulrike Fischer

unread,
Sep 10, 2009, 3:38:39 AM9/10/09
to
Am Tue, 8 Sep 2009 15:02:16 -0700 (PDT) schrieb Charman:

> Hello, dear NewsGroup,
>
> I'm sorry I'm just a beginner at LaTeX, so my question may be too
> simple.
>
> I want to change the font in the headings (title, chapter names,
> subsection names etc.) of my document (which uses the "scrbook" class)
> to a seriff font. I would like to have the same font you get for the
> headings in the documentclass "book", but I still want to maintain the
> documentclass "scrbook" if possible. Is there any possibility to put
> some commands in the header of my document to change it?

\addtokomafont{disposition}{\rmfamily}
\addtokomafont{title}{\rmfamily}


>
> And another problem is this - I use the "twoside" option with the
> "scrbook" documentclass. Strangely my title page is left-adjusted, but
> I would like it to be right-adjusted.

The title is an odd page. Odd pages are in twoside mode on the right
side and have a large right (outer border) and a small inner border.

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=gutter

You can give the titlepage the page number 2 with \maketitle[2] but
then don't forget to reset the number. If you want a special layout:
You can also make a titlepage in another document and include it
with pdfpages.


> I've found this by googeling: \hypersetup
> {pdfpagelayout=TwoColumnRight} , but where do I insert this command?
> It is not recognized and counted as error no matter where I put it.

Load hyperref

\usepackage{hyperref}


--
Ulrike Fischer

Dan Luecking

unread,
Sep 10, 2009, 12:04:57 PM9/10/09
to
On Tue, 8 Sep 2009 15:02:16 -0700 (PDT), Charman
<spam.gokic...@googlemail.com> wrote:

>
>And another problem is this - I use the "twoside" option with the
>"scrbook" documentclass. Strangely my title page is left-adjusted, but
>I would like it to be right-adjusted.
>I've found this by googeling: \hypersetup
>{pdfpagelayout=TwoColumnRight} , but where do I insert this command?
>It is not recognized and counted as error no matter where I put it.
>What am I doing wrong?

This sounds like you are might be viewing the book in Adobe
Reader's two-up page display. (If that is not the problem,
ignore the following. The other possibility I can think of
has been already been answered by Ulrike.)

In my version of Reader, the default for two-up is simply
to show all pages two at a time, starting with the first.
This puts the title page and the next page (frequently
blank) on the screen at once, which means the title page
is on the left. In Adobe Reader version 8, this can be
changed with a menu. Go to
View|Page Display
and uncheck
Show Cover Page During Two-up

For me, this displays the title page alone and centered. If
it needs to be on the right, you might create a (nearly)
blank page before the title page and then renable
"Show Cover Page During Two-up". There might be some sort of
PDF page layout option that could control this from the
document but I, personally, hate documents that try to tell
me how I should be viewing them.


Dan
To reply by email, change LookInSig to luecking

0 new messages