Document Classesproblems with scrbook

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Kickflip
Posts: 4
Joined: Fri Dec 06, 2019 11:01 am

problems with scrbook

Post by Kickflip »

Hi,

I am using as document class the scrbook.

When I want to compile my code there occur a plenty of errors which deal with the scrbook.
e.g. I cannot use \sc for small capitals or \z ... it says it is an undefined old font command.

How should I handle this error?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

problems with scrbook

Post by Stefan Kottwitz »

\sc is deprecated and not even a standard LaTeX command but defined in base LaTeX classes such as in book.cls.

Use \scshape or \textsc{} instead. Similar for other old two letter font switching commands.

Stefan
LaTeX.org admin
Kickflip
Posts: 4
Joined: Fri Dec 06, 2019 11:01 am

problems with scrbook

Post by Kickflip »

Thank you Stefan.

Is there a whole list of equivalents for the old commands?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

problems with scrbook

Post by Stefan Kottwitz »

The commands are \bf, \md, \it, \sl, \sc, \sf, \tt or \rm, and a list of the new commands is for example here in Nicola Talbot's book: 4.5.1 Changing the Font Style

Those new command start with the same 2 letters, so you can see which one is for what.

Stefan
LaTeX.org admin
Post Reply