mirror of
https://github.com/flynx/photobook.git
synced 2025-10-29 10:20:08 +00:00
added info page example + tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4cb658e567
commit
29ec8837e4
46
examples/info.tex
Normal file
46
examples/info.tex
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
|
||||||
|
%----------------------------------------------------------------------
|
||||||
|
|
||||||
|
\documentclass[
|
||||||
|
layoutmode=block,
|
||||||
|
spinewidth=20mm,
|
||||||
|
spinefold=7mm,
|
||||||
|
coverboardgrow=3mm,
|
||||||
|
coverflap=17mm,
|
||||||
|
% page size...
|
||||||
|
blockwidth=240mm, blockheight=220mm,
|
||||||
|
bleed=4mm,
|
||||||
|
bindingoffset=5mm,
|
||||||
|
% image block configuration...
|
||||||
|
imageblockwidth=0.98, imageblockheight=0.98,
|
||||||
|
imageblockoffsettop=-0.1,
|
||||||
|
% misc...
|
||||||
|
9pt,final,openany
|
||||||
|
]{photobook}
|
||||||
|
|
||||||
|
|
||||||
|
\def\BookTitle{Info page demo}
|
||||||
|
\def\BookVersion{1.0}
|
||||||
|
\def\BookAuthors{John J. Smith}
|
||||||
|
\def\ByNotice{%
|
||||||
|
Graphics: none
|
||||||
|
|
||||||
|
Text: almost none}
|
||||||
|
\def\ThanksTo{%
|
||||||
|
Everyone}
|
||||||
|
\def\ISBN{000-0-0000000-0-0}
|
||||||
|
\def\Edition{I 500}
|
||||||
|
|
||||||
|
% - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\BookInfoPage
|
||||||
|
|
||||||
|
\BookSoftwareInfoPage
|
||||||
|
|
||||||
|
\end{document}
|
||||||
|
|
||||||
|
|
||||||
|
%----------------------------------------------------------------------
|
||||||
|
% vim:set ts=4 sw=4 :
|
||||||
@ -3932,13 +3932,15 @@
|
|||||||
\def\ThanksTo{}
|
\def\ThanksTo{}
|
||||||
\def\ISBN{}
|
\def\ISBN{}
|
||||||
\def\BookEdition{500}
|
\def\BookEdition{500}
|
||||||
\def\License{%
|
\def\License{}
|
||||||
All Rights Reserved}
|
|
||||||
\def\CopyrightNotice{%
|
\def\CopyrightNotice{%
|
||||||
Copyright \textcopyright \ \BookYear \ \BookAuthors; \License.
|
Copyright \textcopyright \ \BookYear \ \BookAuthors; All Rights Reserved.
|
||||||
|
|
||||||
No part of this book may be reproduced in any form without written permission
|
\ifx \License \empty%
|
||||||
of the author except for use for brief quotation in a book review.}
|
No part of this book may be reproduced in any form without written permission
|
||||||
|
of the author except for use for brief quotation in a book review.
|
||||||
|
\else%
|
||||||
|
\License\fi}
|
||||||
|
|
||||||
\def\OtherSoftware{}
|
\def\OtherSoftware{}
|
||||||
\def\BookFonts{}
|
\def\BookFonts{}
|
||||||
@ -3961,10 +3963,12 @@
|
|||||||
%%
|
%%
|
||||||
|
|
||||||
% XXX add option to combine this with software info...
|
% XXX add option to combine this with software info...
|
||||||
\newcommand\BookInfoPage{%
|
\newcommand\BookInfoPage[1][]{%
|
||||||
\begin{page}%
|
\begin{page}%
|
||||||
\vfill
|
\vfill
|
||||||
\begin{flushleft}%
|
\begin{flushleft}%
|
||||||
|
#1
|
||||||
|
|
||||||
\ifx \CopyrightNotice \empty\else%
|
\ifx \CopyrightNotice \empty\else%
|
||||||
{\setlength{\parskip}{0.5em}%
|
{\setlength{\parskip}{0.5em}%
|
||||||
\CopyrightNotice} \\
|
\CopyrightNotice} \\
|
||||||
@ -3996,10 +4000,12 @@
|
|||||||
%
|
%
|
||||||
%% Generate software info page.
|
%% Generate software info page.
|
||||||
%%
|
%%
|
||||||
\newcommand\BookSoftwareInfoPage{%
|
\newcommand\BookSoftwareInfoPage[1][]{%
|
||||||
\begin{page}%
|
\begin{page}%
|
||||||
\vfill
|
\vfill
|
||||||
\begin{flushleft}%
|
\begin{flushleft}%
|
||||||
|
#1
|
||||||
|
|
||||||
\ifx \SoftwareNotice \empty\else%
|
\ifx \SoftwareNotice \empty\else%
|
||||||
\SoftwareNotice\fi
|
\SoftwareNotice\fi
|
||||||
\end{flushleft}%
|
\end{flushleft}%
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user