From 9f9c13f3e8d249b1d4c7b782cee4eee8ef847a9a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 13 Apr 2007 00:07:17 +0000 Subject: new latex package bookest (12apr07) git-svn-id: svn://tug.org/texlive/trunk@4158 c570f23f-e606-0410-a88d-b1316a301751 --- Build/tools/tpm-ctan-check | 2 +- Master/texmf-dist/doc/latex/bookest/README | 55 +++ .../texmf-dist/doc/latex/bookest/bookestdoc-en.pdf | Bin 0 -> 123459 bytes .../texmf-dist/doc/latex/bookest/bookestdoc-en.tex | 180 +++++++ .../texmf-dist/doc/latex/bookest/bookestdoc-it.pdf | Bin 0 -> 123418 bytes .../texmf-dist/doc/latex/bookest/bookestdoc-it.tex | 178 +++++++ Master/texmf-dist/tex/latex/bookest/bookest.cls | 543 +++++++++++++++++++++ Master/texmf-dist/tpm/bookest.tpm | 29 ++ Master/texmf/lists/bookest | 10 + Master/texmf/tpm/collection-latexextra.tpm | 1 + 10 files changed, 997 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/latex/bookest/README create mode 100644 Master/texmf-dist/doc/latex/bookest/bookestdoc-en.pdf create mode 100644 Master/texmf-dist/doc/latex/bookest/bookestdoc-en.tex create mode 100644 Master/texmf-dist/doc/latex/bookest/bookestdoc-it.pdf create mode 100644 Master/texmf-dist/doc/latex/bookest/bookestdoc-it.tex create mode 100644 Master/texmf-dist/tex/latex/bookest/bookest.cls create mode 100644 Master/texmf-dist/tpm/bookest.tpm create mode 100644 Master/texmf/lists/bookest diff --git a/Build/tools/tpm-ctan-check b/Build/tools/tpm-ctan-check index d020f48f421..38cd7a94199 100755 --- a/Build/tools/tpm-ctan-check +++ b/Build/tools/tpm-ctan-check @@ -17,7 +17,7 @@ my @WorkingTPM = qw( aurical authorindex auto-pst-pdf babelbib beamer beamer-contrib beamer-tut-pt begriff bera betababel bezos bghyphen bibhtml bibleref bibtopic bibunits bigfoot - binomexp bitfield blacklettert1 blindtext booklet bophook + binomexp bitfield blacklettert1 blindtext bookest booklet bophook boxhandler breakurl bullcntr bussproofs bytefield caption carlisle cbcoptic ccaption cdpbundl cellspace changebar chappg chem-journal chemcompounds cherokee circ diff --git a/Master/texmf-dist/doc/latex/bookest/README b/Master/texmf-dist/doc/latex/bookest/README new file mode 100644 index 00000000000..b333b2f9349 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bookest/README @@ -0,0 +1,55 @@ +La classe bookest e' un'estensione della classe standard book, classe alla +quale si appoggia e che viene caricata con le opzioni di default. + +Le estensioni fornite dalla classe riguardano: +1. colori; +2. layout del documento; +3. testatine e pie' di pagina; +4. layout della copertina; +5. ... + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +The bookest class in an extension of the standard book class, which it relies +on and that is loaded with the default options. + +The extensions provided by the class involve: +1. colors; +2. document layout; +3. headings and footers; +4. title page layout; +5. ... + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +Version 1.0 - 2007/04/12 +# First public release + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %% %% + %% Package name: bookest %% + %% Author: Riccardo Bresciani - bresciani(at)sssup.it %% + %% %% + %% Description: This package provides an extension to the %% + %% book class %% + %% %% + %% Copyright 2007 Riccardo Bresciani %% + %% %% + %% This work may be distributed and/or modified under the %% + %% conditions of the LaTeX Project Public License, either %% + %% version 1.3c of this license or (at your option) any %% + %% later version. %% + %% The latest version of the license is in %% + %% http://www.latex-project.org/lppl.txt %% + %% and version 1.3c or later is part of all distributions of LaTeX %% + %% version 2005/12/01 or later. %% + %% %% + %% This work has the LPPL maintenance status "author-maintained". %% + %% %% + %% This work consists of the files: README, bookest.cls, %% + %% bookestdoc-it.tex, bookestdoc-it.pdf, bookestdoc-en.tex, %% + %% bookestdoc-en.pdf %% + %% %% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.pdf b/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.pdf new file mode 100644 index 00000000000..84f53f30120 Binary files /dev/null and b/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.pdf differ diff --git a/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.tex b/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.tex new file mode 100644 index 00000000000..fe7a1df0803 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.tex @@ -0,0 +1,180 @@ +\documentclass[a4paper,oneside,centered,noparindent,noparskip]{bookest} + +\usepackage[utf8x]{inputenc} +%\usepackage[italian]{babel} +\usepackage{palatino} +\usepackage{guit} + +\hyphenation{Su-pe-rio-re} + +\hypersetup{ +pdftitle={The bookest class}, +pdfsubject={An extension for the book class}, +pdfauthor={Riccardo Bresciani}, +pdfkeywords={TeX, LaTeX, pdfLaTeX, book, bookest}, +pdfstartview=FitV, +%colorlinks +} + +\setoddheadtext{{\colorA The \texttt{bookest} class --- Version 1.0\hfill Riccardo Bresciani}} +\setoddfoot{\hfill{\colorA\thepage}\hfill} + +\makeatletter +\renewcommand \thesection{\@arabic\c@section.} +\renewcommand\thesubsection{\thesection\@arabic\c@subsection} +\makeatother + +\newcommand{\tA}[1]{\texttt{\colorA #1}} + +\begin{document} + \chapter*{The \texttt{bookest} class\\{\Large Version 1.0 --- \today}\\{\Large Riccardo Bresciani}} +The \texttt{bookest} class in an extension of the standard \texttt{book} class, which it relies on and that is loaded with the default options. + +\ppar +The extensions provided by the class involve: +\begin{enumerate} + \item colors; + \item document layout; + \item headings and footers; + \item title page layout; + \item \dots +\end{enumerate} + +\section{Colors} +\texttt{bookest} requires the \texttt{color} and the \texttt{pdfcolmk}\footnote{This package, reported by Massimiliano Dominici (\GuIT), allows to bypass some of the limitations that pdf\TeX\ has up to version 1.30, mainly the unsupported \emph{colorstack}. Currently the package is loaded by default, but as soon as the main ditributions (MiK\TeX, te\TeX, \dots) will have pdf\TeX\ versione 1.40 this package will be removed from the class.} packages to provide color support to the document. + +\ppar +Specifically, colors \texttt{A} and \texttt{B} are defined: they will be used in the definition of the sectioning commands and in coloring of some text elements --- e.g. the \texttt{footnote} rules or the list labels in \texttt{itemize}, \texttt{enumerate} e \texttt{description}. + +\ppar +The default document is black and white, the user can anyway define the colors accordingly to his taste by using the commands listed in \ref{coloricomandi}. + +\ppar +\texttt{bookest} provides some preset color combinations, that can be activated with the corresponding class options listed in \ref{coloriopzioni}. Using these options requires the \texttt{hyperref} package, as link and anchor colors (color \texttt{A}) and citation color (color \texttt{B}) are set. + +\subsection{Commands}\label{coloricomandi} +\begin{description} + \item[\texttt{\textbackslash colorA}, \texttt{\textbackslash colorB}, \texttt{\textbackslash black}] declare the colors used by the class (\texttt{A} and \texttt{B} empty by default and user-definable, plus black); + \item[\texttt{\textbackslash setcolorA\{\textit{ }\}}, \texttt{\textbackslash setcolorB\{\textit{ }\}}] specify color \texttt{A} and \texttt{B} in RGB format; + \item[\texttt{\textbackslash SETcolorA\{\textit{}\}}, \texttt{\textbackslash SETcolorB\{\textit{}\}}] redefine the commands \texttt{\textbackslash colorA} and \texttt{\textbackslash colorB} in \texttt{\textit{}}; +\end{description} + +\subsection{Options}\label{coloriopzioni} +\begin{description} + \item[\texttt{noitemcolor}] cancels the list coloration in \texttt{itemize}, \texttt{enumerate} and \texttt{description}; +\end{description} +\ppar +\begin{description} + \item[\texttt{blue}, \texttt{green}, \texttt{red}] are generic color themes; + \item[\texttt{guitgreen}] is a color theme using the colors of the Gruppo Utilizzatori Italiani di \TeX\ (\GuIT). + \item[\texttt{sssupcolor1}, \texttt{sssupcolor2}, \texttt{sssupcolor3}] are color themes using the colors of the Scuola Superiore Sant'Anna logo; + \item[\texttt{enscblue}] is a color theme using the colors of the École Normale Supérieure de Cachan logo. +\end{description} + +\section{Document layout} +\texttt{bookest} provides options to control: +\begin{itemize} + \item doubleside (inherets that ones of \texttt{book}); + \item margins; + \item line spacing; + \item paragraph indentation and spacing. +\end{itemize} + +\subsection{Options} +\begin{description} + \item[\texttt{oneside}, \texttt{twoside}] toggles duplex options (default: \texttt{twoside}); +\end{description} +\ppar +\begin{description} + \item[\texttt{centered}] sets page margins (2.5 cm horizontal, 3 cm above and below) --- requires the \texttt{geometry} package; + \item[\texttt{left5mm}] sets page margins allowing 5 mm for binding (3 cm left, 2 cm right and 3 cm above and below) requires the \texttt{geometry} package; + \item[\texttt{left8mm}] sets page margins allowing 8 mm for binding (3.3 cm left, 1.7 cm right and 3 cm above and below) --- requires the \texttt{geometry} package; +\end{description} +\ppar +\begin{description} + \item[\texttt{onehalfspacing}] line spacing to 1.5 --- requires the \texttt{setspace} package; + \item[\texttt{doublespacing}] line spacing to 2 --- requires the \texttt{setspace} package; +\end{description} +\ppar +\begin{description} + \item[\texttt{noparindent}] sets paragraph indentation to 0; + \item[\texttt{noparskip}] sets paragraph spacing to 0. +\end{description} + +\section{Headings and footers} +\texttt{bookest} provides commands to allow the user to set easily headings and footers. Moreover it provides a default setting that is different from \texttt{book}\footnote{To use the default \texttt{book} styles one has to simply use the command \texttt{\textbackslash pagestyle\{\textit{