Document Classesbest class for multiple web-pages to be formatted as pdf files

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
bgreen
Posts: 34
Joined: Wed Nov 22, 2023 11:02 am

best class for multiple web-pages to be formatted as pdf files

Post by bgreen »

Hello,

I have a web-site, that has a table of contents that link to 10 web-pages. They print poorly.

Is the best class, book, so each webpage was a chapter and could be accessed via the table of contents? Alternatively would it be better to have each web-page as a stand alone article, that sits on the webpage and could be clicked onto/downloaded.

I would appreciated any thoughts on which class might work better, or is there another option that I haven't considered?

Bob

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

best class for multiple web-pages to be formatted as pdf files

Post by Stefan Kottwitz »

Hi Bob,

if the web pages are not very long (a few pages) I would consider using the article class with a section per web page. If the web pages are very long, I may use the report class. The book class defaults (chapters always open on the right-hand side) can lead to empty pages, like a "real" book.

Of course, you may (additionally?) offer single documents (one article per web page), but also offering the complete set has the benefit of having a table of contents and bookmarks.

Stefan
LaTeX.org admin
bgreen
Posts: 34
Joined: Wed Nov 22, 2023 11:02 am

best class for multiple web-pages to be formatted as pdf files

Post by bgreen »

Thanks Stefan. I'll look into the report class.
Post Reply