Document ClassesDocument book and golden mean format

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
PK_TeX
Posts: 6
Joined: Fri Oct 18, 2024 7:53 am

Document book and golden mean format

Post by PK_TeX »

Hi,

I need to format a book with 2 constraints:

1) the external format, like 135x215 (in mm)
2) the internal format, like the 'golden mean' margin (based on the Fibonacci series), which is a classical for "beautiful book" (from a time when the beautiful was more important than the cost)

The golden mean margins for this external format are supposed to be (in LaTeX format)

inner=14.111mm, outer=33.866mm, top=23.989mm, bottom=47.977mm

If I test the following code in my LateX document:

Code: Select all

\documentclass[12pt]{book}
\usepackage[paperwidth=135mm, paperheight=215mm]{geometry}
\usepackage[inner=14.111mm, outer=33.866mm, top=23.989mm, bottom=47.977mm]{geometry}
it fails, complaining with

Code: Select all

Cogito.tex: erreur: 13: Option clash for package geometry. \usepackage
(even if I unify all the properties in a single \usepackage)

How can I have a book of 135mmx215mm with internal Golen Mean margins?

Thanks,

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
PK_TeX
Posts: 6
Joined: Fri Oct 18, 2024 7:53 am

Document book and golden mean format

Post by PK_TeX »

PK_TeX wrote:Hi,

(even if I unify all the properties in a single \usepackage)
LOL. Today it seems working with including all in the single \usepackage.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Document book and golden mean format

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

Good that you solved that problem. Indeed, we cannot load a package two times with different options. So a single \usepackage command is fine. Later in the document, you could use the \geometry command if you want do change other settings.

Stefan
LaTeX.org admin
Post Reply