Page LayoutContents

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Georg

Contents

Post by Georg »

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

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

Contents

Post by Stefan Kottwitz »

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
LaTeX.org admin
Georg

Contents

Post by Georg »

what about this font:
234.jpg
234.jpg (2.59 KiB) Viewed 5720 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Contents

Post by Stefan Kottwitz »

Looks like some sans serif font.

Stefan
LaTeX.org admin
Georg

Contents

Post by Georg »

Ok thank you very much Stefan.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Contents

Post by Stefan Kottwitz »

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
LaTeX.org admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Contents

Post by Stefan Kottwitz »

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
LaTeX.org admin
Georg

Contents

Post by Georg »

Great source. Thanks.
Post Reply