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

View File

@ -42,10 +42,13 @@
%\fontsize{30pt}{36pt}\selectfont %\fontsize{30pt}{36pt}\selectfont
% fonts... % fonts...
%\usepackage{ascii}
%\usepackage[default,oldstyle,scale=0.95]{opensans}
%\usepackage[T1]{fontenc}
\usepackage{fontspec} \usepackage{fontspec}
\setmainfont[Mapping=tex-text]{Open Sans} \setmainfont[Mapping=tex-text]{Open Sans}
\setsansfont[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\titlefont[Mapping=tex-text]{Open Sans Light}
\newfontfamily\sectiontitlefont[Mapping=tex-text]{Open Sans Light} \newfontfamily\sectiontitlefont[Mapping=tex-text]{Open Sans Light}