1

I normally use latex to create a private pdf notebook of solutions (e.g. ch01.tex).
However, I also use it to create a convenient pdf listing of the definitions + theorems in a book (e.g. summary.tex). In ch01.tex, my only alteration of the default font settings are the following preamble commands:

\documentclass[fleqn,letterpaper,12pt]{article}
\pagestyle{plain}

In summary.tex, since I need the book class to enable chapter headings, my preamble begins:

\documentclass[fleqn,letterpaper,12pt]{book}
\pagestyle{plain}

Unfortunately, the book class' normalsize 12pt is apparently smaller than the article class' 12 pt. To compensate, I currently (kludgily) use the following command in summary.tex

\large

A cleaner solution would be to place command(s) in summary.tex (either in its preamble or just after \begin{document}) that invoke the exact same font that is normally used in the article class.

HOW DO I DO THIS?

15
  • you should have some differences in article and book document. please provide small but complete documents (one article, one book) with short dummy text which reproduce your problem.
    – Zarko
    Jan 25, 2019 at 0:38
  • \documentclass[...,12pt,...]{article} loads size12.clo, while \documentclass[...,12pt,...]{book} loads bk12.clo. These two files set the font sizes. You can compare them, they are similar in most respects, except for some margin settings.
    – Werner
    Jan 25, 2019 at 0:49
  • @Zarko Good tip. I am attempting to construct mwe's to reproduce problem. Will place second comment directed to you when my original query updated with mwe's. Jan 25, 2019 at 0:57
  • @Werner Interesting comment, the plot thickens. See my comment/reply to Zarko. Will also place 2nd comment directed to you. Jan 25, 2019 at 0:58
  • article and book are not just similar, they are generated from the same source file, and the font loading code is identical. If \large in one document is \normalsize in the other, presumably one is using the default 10pt option and one is using the 12pt option. Jan 25, 2019 at 1:43

1 Answer 1

0

The problem is deeper than I first imagined. After receiving replies, I attempted to create mwe's via pdflatex. During this attempt I noticed that the PDF rendering (e.g. qpdfview in fedora 29) was identical for both the book and article classes. Further, I (in effect) never print ch01.pdf, but print each page of summary.pdf, as it is ready.

During printing the detail lines of summary.pdf are too small. I use the titlesec package to precisely control the fonts used in the chapter, section and subsection headings. I need to somehow format the detail lines so that summary.pdf both prints okay and renders conveniently well in qpdfview.

The problem is clearly beyond the scope of this particular query, and might be beyond the scope of this forum. I am declaring the problem closed with respect to this query.

1
  • I saw your interaction with the user amWhy in mse meta. That nasty user has a notorious history of stalking and bullying people in meta. Be careful, and hope you do well.
    – user257021
    Nov 18, 2021 at 19:30

Not the answer you're looking for? Browse other questions tagged .