mirror of
https://github.com/flynx/photobook.git
synced 2025-10-28 18:00:10 +00:00
more docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
222cd3584b
commit
182772cc85
5
Makefile
5
Makefile
@ -38,6 +38,11 @@ TEX := lualatex
|
|||||||
| sed 's/%%\s\+>>\s\+\(.*\)/%%\\\\begin{verbatim} \1 \\\\end{verbatim}/' \
|
| sed 's/%%\s\+>>\s\+\(.*\)/%%\\\\begin{verbatim} \1 \\\\end{verbatim}/' \
|
||||||
| cut -c 3- - > $@
|
| cut -c 3- - > $@
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
# XXX install... (see: ./tmp/Makefile)
|
||||||
|
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
.PHONY: sweep
|
.PHONY: sweep
|
||||||
sweep:
|
sweep:
|
||||||
|
|||||||
189
photobook.cls
189
photobook.cls
@ -35,6 +35,8 @@
|
|||||||
%%
|
%%
|
||||||
%% \maketitle
|
%% \maketitle
|
||||||
%%
|
%%
|
||||||
|
%% {\bf Note: all older templates/commnads/macros will get reworked soon!}
|
||||||
|
%%
|
||||||
%%%% Usage
|
%%%% Usage
|
||||||
%%
|
%%
|
||||||
%% >> \documentclass[<options>]{photobook}
|
%% >> \documentclass[<options>]{photobook}
|
||||||
@ -1547,21 +1549,28 @@
|
|||||||
|
|
||||||
|
|
||||||
% XXX
|
% XXX
|
||||||
% portraitimagepageright{caption}{image}
|
%% \DescribeMacro{\portraitimagepageright}
|
||||||
%
|
|
||||||
% +---------------+
|
|
||||||
% | |. .|
|
|
||||||
% | | . . |
|
|
||||||
% | | . . |
|
|
||||||
% | | . . |
|
|
||||||
% | | image |
|
|
||||||
% | | . . |
|
|
||||||
% | | . . |
|
|
||||||
% | | . . |
|
|
||||||
% | c |. .|
|
|
||||||
% +---------------+
|
|
||||||
%
|
%
|
||||||
|
%% >> portraitimagepageright{<caption>}{<image>}
|
||||||
%
|
%
|
||||||
|
%% \begin{minipage}{\textwidth}
|
||||||
|
%% \begin{verbatim}
|
||||||
|
%%
|
||||||
|
%% +---------------+
|
||||||
|
%% | |. .|
|
||||||
|
%% | | . . |
|
||||||
|
%% | | . . |
|
||||||
|
%% | | . . |
|
||||||
|
%% | | image |
|
||||||
|
%% | | . . |
|
||||||
|
%% | | . . |
|
||||||
|
%% | | . . |
|
||||||
|
%% | c |. .|
|
||||||
|
%% +---------------+
|
||||||
|
%%
|
||||||
|
%% \end{verbatim}
|
||||||
|
%% \end{minipage}
|
||||||
|
%%
|
||||||
\newcommand\portraitimagepageright[3][\clearimage]{
|
\newcommand\portraitimagepageright[3][\clearimage]{
|
||||||
\sbox{\photobook@imagebox}{
|
\sbox{\photobook@imagebox}{
|
||||||
\includegraphics[
|
\includegraphics[
|
||||||
@ -1642,17 +1651,17 @@
|
|||||||
% XXX
|
% XXX
|
||||||
% portraitspreadbleedleft[clearence]{caption}{image}
|
% portraitspreadbleedleft[clearence]{caption}{image}
|
||||||
%
|
%
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
% | |. .| |
|
% | |. .| |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | image | |
|
% | | image | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | |. .| c |
|
% | |. .| c |
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
%
|
%
|
||||||
\newcommand\portraitspreadbleedleft[3][\clearimage]{
|
\newcommand\portraitspreadbleedleft[3][\clearimage]{
|
||||||
\cleartoleftpage
|
\cleartoleftpage
|
||||||
@ -1670,17 +1679,17 @@
|
|||||||
% XXX
|
% XXX
|
||||||
% portraitspreadbleedright[clearence]{caption}{image}
|
% portraitspreadbleedright[clearence]{caption}{image}
|
||||||
%
|
%
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
% | |. .| |
|
% | |. .| |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | image | |
|
% | | image | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | | . . | |
|
% | | . . | |
|
||||||
% | c |. .| |
|
% | c |. .| |
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
%
|
%
|
||||||
\newcommand\portraitspreadbleedright[3][\clearimage]{
|
\newcommand\portraitspreadbleedright[3][\clearimage]{
|
||||||
\cleartoleftpage
|
\cleartoleftpage
|
||||||
@ -1701,17 +1710,17 @@
|
|||||||
%
|
%
|
||||||
% Image spread aligned left (with bleed)...
|
% Image spread aligned left (with bleed)...
|
||||||
%
|
%
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
% | . . . | |
|
% | . . . | |
|
||||||
% | . . . | |
|
% | . . . | |
|
||||||
% | . . . | |
|
% | . . . | |
|
||||||
% | . .. | |
|
% | . .. | |
|
||||||
% | image | |
|
% | image | |
|
||||||
% | . .. | |
|
% | . .. | |
|
||||||
% | . . . | |
|
% | . . . | |
|
||||||
% | . . . | |
|
% | . . . | |
|
||||||
% | . . . | c |
|
% | . . . | c |
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
%
|
%
|
||||||
%
|
%
|
||||||
% XXX might be a good idea to do a version of this with min/max width of
|
% XXX might be a good idea to do a version of this with min/max width of
|
||||||
@ -1769,17 +1778,17 @@
|
|||||||
%
|
%
|
||||||
% Image spread aligned right (with bleed)...
|
% Image spread aligned right (with bleed)...
|
||||||
%
|
%
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
% | | . . . |
|
% | | . . . |
|
||||||
% | | . . . |
|
% | | . . . |
|
||||||
% | | . . . |
|
% | | . . . |
|
||||||
% | | .. . |
|
% | | .. . |
|
||||||
% | | image |
|
% | | image |
|
||||||
% | | .. . |
|
% | | .. . |
|
||||||
% | | . . . |
|
% | | . . . |
|
||||||
% | | . . . |
|
% | | . . . |
|
||||||
% | c | . . . |
|
% | c | . . . |
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
%
|
%
|
||||||
\newcommand\imagespreadright[3][\clearimage]{
|
\newcommand\imagespreadright[3][\clearimage]{
|
||||||
\sbox{\photobook@imagebox}{
|
\sbox{\photobook@imagebox}{
|
||||||
@ -1829,17 +1838,17 @@
|
|||||||
%
|
%
|
||||||
% Image spread with full bleed...
|
% Image spread with full bleed...
|
||||||
%
|
%
|
||||||
% +---------------+
|
% +---------------+
|
||||||
% | . .
|
% | . .
|
||||||
% | . .
|
% | . .
|
||||||
% | . .
|
% | . .
|
||||||
% | . .
|
% | . .
|
||||||
% | ima
|
% | ima
|
||||||
% | . .
|
% | . .
|
||||||
% | . .
|
% | . .
|
||||||
% | . .
|
% | . .
|
||||||
% | . c .
|
% | . c .
|
||||||
% +---------------+
|
% +---------------+
|
||||||
%
|
%
|
||||||
\newcommand\imageleftspreadfullbleed[3][0mm]{
|
\newcommand\imageleftspreadfullbleed[3][0mm]{
|
||||||
\sbox{\photobook@imagebox}{
|
\sbox{\photobook@imagebox}{
|
||||||
@ -1877,17 +1886,17 @@
|
|||||||
%
|
%
|
||||||
% Image spread with full bleed...
|
% Image spread with full bleed...
|
||||||
%
|
%
|
||||||
% +---------------+
|
% +---------------+
|
||||||
% . . |
|
% . . |
|
||||||
% . . |
|
% . . |
|
||||||
% . . |
|
% . . |
|
||||||
% . . |
|
% . . |
|
||||||
% age |
|
% age |
|
||||||
% . . |
|
% . . |
|
||||||
% . . |
|
% . . |
|
||||||
% . . |
|
% . . |
|
||||||
% . . c |
|
% . . c |
|
||||||
% +---------------+
|
% +---------------+
|
||||||
%
|
%
|
||||||
\newcommand\imagerightspreadfullbleed[3][0mm]{
|
\newcommand\imagerightspreadfullbleed[3][0mm]{
|
||||||
\sbox{\photobook@imagebox}{
|
\sbox{\photobook@imagebox}{
|
||||||
@ -1928,17 +1937,17 @@
|
|||||||
%
|
%
|
||||||
% Image spread with full bleed...
|
% Image spread with full bleed...
|
||||||
%
|
%
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
% | . . . |
|
% | . . . |
|
||||||
% | . . . |
|
% | . . . |
|
||||||
% | . . . |
|
% | . . . |
|
||||||
% | . . . |
|
% | . . . |
|
||||||
% | image |
|
% | image |
|
||||||
% | . . . |
|
% | . . . |
|
||||||
% | . . . |
|
% | . . . |
|
||||||
% | . . . |
|
% | . . . |
|
||||||
% | . . . c |
|
% | . . . c |
|
||||||
% +---------------+---------------+
|
% +---------------+---------------+
|
||||||
%
|
%
|
||||||
% XXX do we need the same thing but with a left caption???
|
% XXX do we need the same thing but with a left caption???
|
||||||
\newcommand\imagespreadfullbleed[3][0mm]{
|
\newcommand\imagespreadfullbleed[3][0mm]{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user