My first line of code is:
Code: Select all
\documentclass[12pt,letterpaper,openright]{book}
What can I do?
Code: Select all
\documentclass[12pt,letterpaper,openright]{book}
NEW: TikZ book now 40% off at Amazon.com for a short time.
extbook
provides larger font sizes. scrbook
instead of book
:Code: Select all
\documentclass[fontsize=12pt, paper=letter, openright]{scrbook}
scrbook
, which is a KOMA-script class, very many task are much simpler than with the old basic book class. You can simply make a lot of settings for customization. There's a large manual for reference: \changefontsizes
is not really explained in the documentation, but is definitely in the experts section. So, hands off.\KOMAoption{fontsize}{11pt}
. Or if you are feeling funny you can choose 10.999999 pt. KOMA will look for an existing file with predefined settings, and if it doesn't find one, it uses \changefontsizes
. You can read more about the mechanism in Clemens' good answer to Using fallback calculation to setup font sizes.\changefontsizes
? It takes one argument, the desired font size for \normalsize and does some calculations. In theory, you can put in any number, even non integers, the algorithm of scrextend does its job, calculates the relative sizes as well and uses those values as the now default ones. The command issues a warning that it now uses fallback calculations.Code: Select all
LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <3.7699> not
available
(Font) size <5> substituted on input line 47.
Code: Select all
\listfiles
\documentclass[11pt]{article}
\usepackage{scrfontsizes}
\makeatletter
\newcommand{\currentsize}{{\par current text size: \f@size pt\par}}
\newcommand{\currentfnsize}{{\par\footnotesize current footnote size: \f@size pt\par}}
\newcommand{\currentlargesize}{{\par\large current large size: \f@size pt\par}}
\makeatother
\newcommand{\explain}[1]{\bigbreak\emph{ #1:}}
\begin{document}
\explain{global option 12 pt}
\currentsize \currentfnsize \currentlargesize
\explain{Using the KOMA-interface}
\KOMAoption{fontsize}{11pt}\currentsize
\currentsize \currentfnsize \currentlargesize
\explain{\texttt{changefontsizes 11 pt}}
\changefontsizes{11}
\currentsize \currentfnsize \currentlargesize
\explain{You can even do
\texttt{changefontsizes 11.375 pt}}
\changefontsizes{31.375}
\currentsize \currentfnsize \currentlargesize
\KOMAoption{fontsize}{3.141596pt}
\currentsize \currentfnsize \currentlargesize
\end{document}
Code: Select all
\documentclass{minimal}%ok just this time
\usepackage{scrfontsizes}
\generatefontfile{texsx}{11bp}
\begin{document}\end{document}
Code: Select all
\makeatletter
\newcommand*{\@fontsizefilebase}{texsx}
\makeatother
\documentclass[fontsize=11bp]{scrartcl}
\usepackage{blindtext}
\begin{document}
\blindtext
\end{document}
I read a little about the package here (https://www.ctan.org/pkg/koma-script?lang=en) but still have no idea what a "KOMA-script class" is. A Google search didn't help much.Stefan_K wrote:...
However, I strongly recommend to use the classscrbook
instead ofbook
:
WithCode: Select all
\documentclass[fontsize=12pt, paper=letter, openright]{scrbook}
scrbook
, which is a KOMA-script class, very many task are much simpler than with the old basic book class. You can simply make a lot of settings for customization. There's a large manual for reference:scrguide. You don't need to read it all, but it helps in case of questions. And if you got any questions regarding a change to KOMA-Script, just let us know! Simply open a new topic. Such if you may have questions regarding the options.
NEW: TikZ book now 40% off at Amazon.com for a short time.