Updated docs to better reflect the paperwidth/paperheigt within the page geometry...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-07-18 13:18:37 +03:00
parent d92251976b
commit 9ad5a81054
2 changed files with 29 additions and 22 deletions

View File

@ -92,8 +92,8 @@
%%% NOTE: \def\<module-name>@[A-Z]+ macros will be visible to both the
%%% code and the generated docs...
\edef\photobook@FILEVERSION{v0.1.29}
\edef\photobook@FILEDATE{2023-08-24}
\edef\photobook@FILEVERSION{v0.1.30}
\edef\photobook@FILEDATE{2024-07-18}
%% \documentclass{ltxdoc}
@ -248,26 +248,27 @@
%% \begin{minipage}{\textwidth}
%% \begin{verbatim}
%%
%% <-------------------------------------------------> paperwidth
%% <---> bleed <---> bleed
%%
%% + - - - - - - - - - - - - - - - - - - - - - - + - + ^
%% . . . | bleed
%% paperheight v
%% + - - - - - - - - - - - - - - - - - - - - - - + - + ^ . . . ---
%% . . . | bleed .
%% . +-----------------------------------------+----- v . . ---
%% . | ^ . . = .
%% . | ^ . . = . .
%% . | . . . . . . | . . . = . ^
%% . |<-- blockwidth ------------------------->= . |
%% . |<-- blockwidth ------------------------->= . | .
%% . | . | . . . = . |
%% . | | . . = . textheight
%% . | | . . = . textheight .
%% . | . Page | . . . = . |
%% . | blockheight . . = . |
%% . | blockheight . . = . | .
%% . | . | . . <--> bindingoffset |
%% . | | . . = . |
%% . | | . . = . | .
%% . | . . . . . . | . <--> gutteroffset v
%% . | v . . = .
%% . | v . . = . .
%% . +-----------------------------------------+----- ^ . . ---
%% . . . . | bleed
%% + - - - - - - - - - - - - - - - - - - - - - - + - + v
%% . .
%% . . . . | bleed .
%% + - - - - - - - - - - - - - - - - - - - - - - + - + v . . . ---
%% . . ^
%% | <-- textwidth --------------> . |
%% ^ gutter
%%
@ -278,6 +279,9 @@
%% account for |\gutteroffset|, namely macros that do not display content
%% with bleeds.
%%
%% Also note that bleeds are included in \href{https://ctan.org/pkg/geometry}{geometry}'s
%% |\paperwidth| and |\paperheight|.
%%
% NOTE: if blockwidth/blockheight are set they will force recalculations
% and overriding of the paperwidth/paperheight if they were changed
% by the user code anywhere between \documentclass[..]{photobook}

View File

@ -42,10 +42,13 @@
%\fontsize{30pt}{36pt}\selectfont
% fonts...
%\usepackage{ascii}
%\usepackage[default,oldstyle,scale=0.95]{opensans}
%\usepackage[T1]{fontenc}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Open Sans}
\setsansfont[Mapping=tex-text]{Open Sans}
\setmonofont[Mapping=tex-text, Scale=0.8]{Courier New}
%\setmonofont[Mapping=tex-text, Scale=0.8]{Courier New}
\newfontfamily\titlefont[Mapping=tex-text]{Open Sans Light}
\newfontfamily\sectiontitlefont[Mapping=tex-text]{Open Sans Light}