Search found 6 matches

by PK_TeX
Fri Oct 25, 2024 9:40 am
Forum: Page Layout
Topic: fancyhf and \leftmark resizing
Replies: 2
Views: 7208

fancyhf and \leftmark resizing

Thanks for the answer.

Yes, my simple solution works (with an error of copy-paste), but doesn't work in my doc.

I found the error. My code and solution were fine.

But I have adapted the \section to unumbered it, and it is that which caused the problem:

\newcommand*{\nsection}[1]{%
% Create the ...
by PK_TeX
Thu Oct 24, 2024 8:21 am
Forum: Page Layout
Topic: fancyhf and \leftmark resizing
Replies: 2
Views: 7208

fancyhf and \leftmark resizing

Hi

I'd like to resize the \leftmark title on my doc.

I have:

\usepackage{fancyhdr}

\fancypagestyle{front}{
\fancyhf{}
%\fancyfoot[C]{page \thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}

\fancypagestyle{main}{%
\renewcommand{\headrulewidth}{0pt ...
by PK_TeX
Mon Oct 21, 2024 9:16 am
Forum: Page Layout
Topic: Lettrine bug?
Replies: 1
Views: 1488

Lettrine bug?

OK, I found the problem. It come from the ragged2e option which does not justify by default the text.

It works well without:

\documentclass[12pt]{book}
\usepackage{tikz,fontspec}
\usepackage{tgschola}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[paperwidth=135mm, paperheight ...
by PK_TeX
Mon Oct 21, 2024 7:36 am
Forum: Page Layout
Topic: Lettrine bug?
Replies: 1
Views: 1488

Lettrine bug?

Hi,

Here is my doc, which is a book. I need to put a 'lettrine' as init of the first paragraph of the text.

\documentclass[12pt]{book}
\usepackage[document]{ragged2e}
\usepackage{tikz,fontspec}
\usepackage{tgschola}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[paperwidth=135mm ...
by PK_TeX
Fri Oct 18, 2024 8:58 am
Forum: Document Classes
Topic: Document book and golden mean format
Replies: 2
Views: 5357

Document book and golden mean format

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.
by PK_TeX
Fri Oct 18, 2024 8:04 am
Forum: Document Classes
Topic: Document book and golden mean format
Replies: 2
Views: 5357

Document book and golden mean format

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 ...