From 2dcfff689ac8230e5ad97c7693243ca9936c6033 Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:33:34 +0200 Subject: [PATCH] add page numbers to thesis --- doc/text/template.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/text/template.html b/doc/text/template.html index 1442f1d..df5dc60 100644 --- a/doc/text/template.html +++ b/doc/text/template.html @@ -8,6 +8,12 @@ @page { size: A4; } + @page { + @bottom-right-corner { + text-align: center; + content: counter(page); + } + } h1 { break-before: page; } @@ -34,6 +40,7 @@ } .page { + height: 100%; line-height: 1.25; h1, h2, h3, h4, h5, h6 { margin: 0; @@ -167,6 +174,7 @@ .page { height: 100%; + max-height: 100%; font-size: 12pt; } @@ -226,8 +234,6 @@ height: 100%; } .asm-page { - height: 100%; - max-height: 100%; display: flex; flex-direction: column; } @@ -545,6 +551,10 @@ +
+
prazna str
+
+ {{content}}