LaTeX forum ⇒ Page LayoutContents Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Georg
Posts: 58
Joined: Mon Jan 29, 2018 4:25 pm

Contents

Postby Georg » Sun Feb 04, 2018 11:27 pm

There is no \scrbookfont. It was just for you to understand what I mean. Normally there is font type for scrbook. When we use other fonts, then how to access that font? \normalfont is not the case.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8979
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Feb 05, 2018 12:27 am

It depends on how you use the other font. When another font is properly used, commonly \normalfont is changed to be that font. That means, switching back from italic os something back to the (other) default font.

Perhaps show some code. Otherwise it hardly cn be said why italic would not work, except that the font may not have an italic shape.

Stefan
Site admin

Georg
Posts: 58
Joined: Mon Jan 29, 2018 4:25 pm

Postby Georg » Mon Feb 05, 2018 1:23 am

what about this font:
234.jpg
234.jpg (2.59 KiB) Viewed 638 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 8979
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Feb 05, 2018 1:25 am

Looks like some sans serif font.

Stefan
Site admin

Georg
Posts: 58
Joined: Mon Jan 29, 2018 4:25 pm

Postby Georg » Mon Feb 05, 2018 1:31 am

Ok thank you very much Stefan.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8979
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Feb 05, 2018 1:43 am

Please in general try to post details, code. Otherwise it's hard to guess what is in your document but not shown here.

What I see: \fontsize{}{} should be followed by \selectfont.

Stefan
Site admin

User avatar
Stefan Kottwitz
Site Admin
Posts: 8979
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Feb 05, 2018 1:46 am

Btw. scrbook has its own features regarding headings (and fonts). For example:

\setkomafont{paragraph}{\itshape}

But using titlesec would interfere with it. I would use titlesec with base classes (article, book) and KOMA-Script features with scrartcl, scrbook. Manual: scrguien

Stefan
Site admin

Georg
Posts: 58
Joined: Mon Jan 29, 2018 4:25 pm

Postby Georg » Mon Feb 05, 2018 1:33 pm

Great source. Thanks.


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 5 guests