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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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 5953 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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: 10360
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: 10360
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