summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-03-21 23:46:23 +0000
committerKarl Berry <karl@freefriends.org>2008-03-21 23:46:23 +0000
commit7d7bf2b41a666e04b6c4b7c9a8984a4930dca2e4 (patch)
tree41fcbb3fb5eef6f451ff9967c6a1af9a603e34d0
parent4febea8c0f92417f8455b2b5fd5c6e0e9ac8b1cd (diff)
bookest update (20mar08)
git-svn-id: svn://tug.org/texlive/trunk@7065 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/bookest/README10
-rw-r--r--Master/texmf-dist/doc/latex/bookest/bookestdoc-en.pdfbin126257 -> 140842 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bookest/bookestdoc-en.tex16
-rw-r--r--Master/texmf-dist/doc/latex/bookest/bookestdoc-it.pdfbin126706 -> 126864 bytes
-rw-r--r--Master/texmf-dist/doc/latex/bookest/bookestdoc-it.tex25
-rw-r--r--Master/texmf-dist/tex/latex/bookest/bookest.cls85
6 files changed, 128 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/bookest/README b/Master/texmf-dist/doc/latex/bookest/README
index 021b1a31520..600cc93f1fb 100644
--- a/Master/texmf-dist/doc/latex/bookest/README
+++ b/Master/texmf-dist/doc/latex/bookest/README
@@ -22,6 +22,14 @@ The extensions provided by the class involve:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Version 1.1 - 2008/03/20
+# Added "logo-toplcr" and "logo-toplcr-nofooter" options
+# Added "article" option and "\notinarticle" command
+# Added "\art*" aliases for sectioning commands
+# Added "noepigraph" option and "\noepigraph" command
+# Added "nomatter" option and "\nomatter" command
+# "pdfcolmk" is not a required package anymore
+
Version 1.0.4 - 2007/05/22
# Added "abstract" environment
@@ -46,7 +54,7 @@ Version 1.0 - 2007/04/12
%% Description: This package provides an extension to the %%
%% book class %%
%% %%
- %% Copyright 2007 Riccardo Bresciani %%
+ %% Copyright 2007-2008 Riccardo Bresciani %%
%% %%
%% This work may be distributed and/or modified under the %%
%% conditions of the LaTeX Project Public License, either %%
diff --git a/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.pdf b/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.pdf
index c9fa4012cd3..3c892d93ae8 100644
--- a/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.pdf
+++ b/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.tex b/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.tex
index bd6c2b2e2be..934ca14e76a 100644
--- a/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.tex
+++ b/Master/texmf-dist/doc/latex/bookest/bookestdoc-en.tex
@@ -1,3 +1,7 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%% THIS DOCUMENT IS OUT OF DATE, NEWEST FEATURES DOCUMENTED ONLY IN THE ITALIAN VERSION OF THIS DOCUMENT %%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
\documentclass[a4paper,oneside,centered,noparindent,noparskip]{bookest}
\usepackage[utf8x]{inputenc}
@@ -26,8 +30,18 @@ pdfstartview=FitV,
\newcommand{\tA}[1]{\texttt{\colorA #1}}
+\shipouttext{60}{15}{\fbox{\itshape \ttfamily out of date}}
+
\begin{document}
- \chapter*{The \texttt{bookest} class\\{\Large Version 1.0.4 --- \today}\\{\Large Riccardo Bresciani}}
+
+\chapter*{The \texttt{bookest} class\\{\Large Version 1.0.4 --- May 22, 2007}\\{\Large Riccardo Bresciani}}
+
+\textit{\sffamily
+\begin{abstract}{\today: WARNING}
+This document is out of date, the newest features are documented only in the Italian version of this document.
+\end{abstract}
+\vspace{7ex}}
+
The \texttt{bookest} class in an extension of the standard \texttt{book} class, on which it relies and that is loaded with the default options.
\ppar
diff --git a/Master/texmf-dist/doc/latex/bookest/bookestdoc-it.pdf b/Master/texmf-dist/doc/latex/bookest/bookestdoc-it.pdf
index e301d7f3181..01945887346 100644
--- a/Master/texmf-dist/doc/latex/bookest/bookestdoc-it.pdf
+++ b/Master/texmf-dist/doc/latex/bookest/bookestdoc-it.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/bookest/bookestdoc-it.tex b/Master/texmf-dist/doc/latex/bookest/bookestdoc-it.tex
index 4e7b76177b5..b2c48170e8e 100644
--- a/Master/texmf-dist/doc/latex/bookest/bookestdoc-it.tex
+++ b/Master/texmf-dist/doc/latex/bookest/bookestdoc-it.tex
@@ -25,7 +25,7 @@ pdfstartview=FitV,
\newcommand{\tA}[1]{\texttt{\colorA #1}}
\begin{document}
- \chapter*{The \texttt{bookest} class\\{\Large Versione 1.0.4 --- \today}\\{\Large Riccardo Bresciani}}
+ \chapter*{The \texttt{bookest} class\\{\Large Versione 1.1 --- \today}\\{\Large Riccardo Bresciani}}
La classe \texttt{bookest} è un'estensione della classe standard \texttt{book}, classe alla quale si appoggia e che viene caricata con le opzioni di default.
\ppar
@@ -41,7 +41,7 @@ Le estensioni fornite dalla classe riguardano:
La pagina web di \texttt{bookest} è \url{http://tex.boris-web.net/bookest}.
\section{Colori}
-\texttt{bookest} richiede i pacchetti \texttt{color} e \texttt{pdfcolmk}\footnote{Questo pacchetto, segnalato da Massimiliano Dominici (\GuIT), permette di ovviare ad alcune limitazioni che pdf\TeX\ ha fino alla versione 1.30, in particolare al fatto che non sia supportato il \emph{colorstack}. Attualmente il pacchetto viene caricato di default, ma non appena le principali distribuzioni (MiK\TeX, te\TeX, \dots) avranno pdf\TeX\ versione 1.40 questo pacchetto verrà eliminato dalla classe.} per fornire il supporto del colore al documento.
+\texttt{bookest} richiede il pacchetto \texttt{color} per fornire il supporto del colore al documento\footnote{Per l'uso con pdf\TeX\ fino alla versione 1.30, l'uso del pacchetto \texttt{pdfcolmk} --- segnalato da Massimiliano Dominici (\GuIT) --- permette di ovviare al mancato supporto di \emph{colorstack} da parte delle versioni più vecchie di pdf\TeX.}.
\ppar
Vengono definiti in particolare i colori \texttt{A} e \texttt{B}, che vengono utilizzati nella definizione dei comandi di sezionamento e nella colorazione di alcuni elementi del testo --- per esempio i righelli di \texttt{footnote} o le \emph{label} degli elenchi \texttt{itemize}, \texttt{enumerate} e \texttt{description}.
@@ -77,7 +77,8 @@ Di default il documento è in bianco e nero, l'utente può però definire i colo
\item il fronte-retro (eredita quelle di \texttt{book});
\item i margini;
\item l'interlinea;
- \item l'indentazione nei paragrafi e la loro spaziatura reciproca.
+ \item l'indentazione nei paragrafi e la loro spaziatura reciproca;
+ \item la creazione di diverse versioni del documento (libro o articolo).
\end{itemize}
\texttt{bookest} fornisce inoltre due comandi per inserire un'immagine o una scritta nel documento come filigrana.
@@ -102,6 +103,11 @@ Di default il documento è in bianco e nero, l'utente può però definire i colo
\item[\texttt{noparindent}] annulla l'indentazione dei paragrafi;
\item[\texttt{noparskip}] annulla lo spazio verticale tra i paragrafi.
\end{description}
+\ppar
+\begin{description}
+ \item[\texttt{article}] crea un output ``article-like'';
+ \item[\texttt{nomatter}] annulla le distinzioni tra \textit{front matter}, \textit{main matter} e \textit{back matter}.
+\end{description}
\subsection{Comandi}
\begin{description}
@@ -109,6 +115,12 @@ Di default il documento è in bianco e nero, l'utente può però definire i colo
\item [\texttt{\textbackslash shipoutimage\{\textit{<opzioni>}\}\{\textit{<file>}\}}] inserisce in ogni pagina l'immagine \texttt{\textit{<file>}} come filigrana, utilizzando \texttt{\textit{<opzioni>}} come opzioni \texttt{\textbackslash includegraphics} --- richiede i pacchetti \texttt{everyshi} e \texttt{color}.
\end{description}
+\ppar
+\begin{description}
+ \item [\texttt{\textbackslash notinarticle\{\textit{<codice>}\}}] il codice \LaTeX\ \texttt{\textit{<codice>}} non compare nel documento compilato con l'opzione \texttt{article}.
+ \item [\texttt{\textbackslash nomatter}] annulla le distinzioni tra \textit{front matter}, \textit{main matter} e \textit{back matter}.
+\end{description}
+
\section{Testatine e pie' di pagina}
\texttt{bookest} fornisce dei comandi per permettere all'utente di impostare agevolmente testatine e pie' di pagina, nonché un'impostazione predefinita diversa da quella di \texttt{book}\footnote{Per utilizzare gli stili predefiniti di \texttt{book} è sufficiente utilizzare il comando \texttt{\textbackslash pagestyle\{\textit{<stile>}\}}.}.
@@ -162,11 +174,17 @@ Le varie opzioni permettono di variare il posizionamento del logo; per ciascuna
\item[\texttt{logo-topc}, \texttt{logo-topc-nofooter}] aggiunge al layout predefinito il logo in \texttt{\textbackslash logo} prima del titolo in alto al centro (e relativa variante \texttt{nofooter}) --- richiede il pacchetto \texttt{graphicx};
\item[\texttt{logo-topr}, \texttt{logo-topr-nofooter}] aggiunge al layout predefinito il logo in \texttt{\textbackslash rightlogo} prima del titolo in alto a destra (e relativa variante \texttt{nofooter}) --- richiede il pacchetto \texttt{graphicx};
\item[\texttt{logo-toplr}, \texttt{logo-toplr-nofooter}] aggiunge al layout predefinito il logo in \texttt{\textbackslash leftlogo} in alto a sinistra ed il logo in \texttt{\textbackslash rightlogo} in alto a destra prima del titolo (e relativa variante \texttt{nofooter}) --- richiede il pacchetto \texttt{graphicx}.
+ \item[\texttt{logo-toplcr}, \texttt{logo-toplcr-nofooter}] aggiunge al layout predefinito il logo in \texttt{\textbackslash leftlogo} in alto a sinistra, il logo in \texttt{\textbackslash logo} in alto al centro ed il logo in \texttt{\textbackslash rightlogo} in alto a destra prima del titolo (e relativa variante \texttt{nofooter}) --- richiede il pacchetto \texttt{graphicx}.
\end{description}
\section{Miscellanea}
\texttt{bookest} fornisce anche altre piccole scorciatoie, che possono essere utili nell'utilizzo della classe e che vengono elencate qui di seguito:
+\subsection{Opzioni}
+\begin{description}
+ \item[\texttt{noepigraph}] elimina le epigrafi.
+\end{description}
+
\subsection{Comandi}
\begin{description}
\item[\texttt{\textbackslash setbibname\{\textit{<nome>}\}}] rinomina il titolo della bibliografia in \texttt{\textit{<nome>}};
@@ -175,6 +193,7 @@ Le varie opzioni permettono di variare il posizionamento del logo; per ciascuna
\item[\texttt{\textbackslash dimstleftskip}] setta \texttt{\textbackslash leftskip} a \texttt{1cm};
\item[\texttt{\textbackslash UCase}] fornisce il comando \texttt{\textbackslash MakeUppercase}, che viene invece ridefinito come comando vuoto per dare maggiore flessibilità ai comandi per testatine e pie' di pagina;
\item[\texttt{\textbackslash epigraph\{\textit{<testo1>}\}\{\textit{<testo2>}\}\{\textit{<ambiente>}\}\{\textit{<l>}\}}] crea un epigrafe, in cui \texttt{\textit{<testo1>}} viene separato da \texttt{\textit{<testo2>}} da una linea orizzontale di colore \texttt{B}. Il tutto ha larghezza \texttt{\textit{<l>}} ed è contenuto nell'ambiente \texttt{\textit{<ambiente>}}.
+ \item[\texttt{\textbackslash noepigraph}] elimina le epigrafi;
\end{description}
\subsection{Ambienti}
diff --git a/Master/texmf-dist/tex/latex/bookest/bookest.cls b/Master/texmf-dist/tex/latex/bookest/bookest.cls
index 761bc593e84..ac97687e163 100644
--- a/Master/texmf-dist/tex/latex/bookest/bookest.cls
+++ b/Master/texmf-dist/tex/latex/bookest/bookest.cls
@@ -7,7 +7,7 @@
%% Description: This package provides an extension to the %%
%% book class %%
%% %%
-%% Copyright 2007 Riccardo Bresciani %%
+%% Copyright 2007-2008 Riccardo Bresciani %%
%% %%
%% This work may be distributed and/or modified under the %%
%% conditions of the LaTeX Project Public License, either %%
@@ -27,13 +27,12 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{bookest}[2007/05/22 v1.0.4 Extension for the book class]
+\ProvidesClass{bookest}[2008/03/20 v1.1 Extension for the book class]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\ProcessOptions
\LoadClass{book}
\RequirePackage{color}
-\RequirePackage{pdfcolmk} % Suggerito da M.Dominici (GuIT) per ovviare alle limitazioni di pdfTeX 1.30 (colorstack)
\RequirePackage{setspace}
\RequirePackage{graphicx}
\RequirePackage{hyperref}
@@ -219,6 +218,52 @@
\setlength{\parskip}{0pt}
}
+%%% Comandi e ambienti per article-like
+\newcommand{\nomatter}{
+ \renewcommand{\frontmatter}{}
+ \renewcommand{\mainmatter}{}
+ \renewcommand{\backmatter}{}
+ }
+\newcommand{\notinarticle}{}
+
+%%% Alias per article-like: non indispensabili, solo per ordine mentale
+\newcommand{\artsection}[1]{\chapter{#1}}
+\newcommand{\artsubsection}[1]{\section{#1}}
+\newcommand{\artsubsubsection}[1]{\subsection{#1}}
+\newcommand{\artparagraph}[1]{\subsubsection{#1}}
+\newcommand{\artsubparagraph}[1]{\paragraph{#1}}
+
+%%% Opzioni per article-like
+\DeclareOption{nomatter}{
+ \nomatter
+}
+\DeclareOption{article}{
+\let\chapter\section
+\let\section\subsection
+\let\subsection\subsubsection
+\let\subsubsection\paragraph
+\let\paragraph\subparagraph
+\makeatletter
+\renewcommand \thesection {\@arabic\c@section}
+\renewcommand{\maketitle}{\thispagestyle{plain}{\centering\LARGE\textbf{\colorB\@title}\Large\\\vspace{1ex}\@author\\\vspace{1ex}\today\\\vspace{3ex}}}
+\makeatother
+\renewcommand{\titling}{
+ \maketitle
+ }
+\let\toctemp\tableofcontents
+\renewcommand{\tableofcontents}{
+ \begin{center}
+ \begin{minipage}{0.9\textwidth}
+ \toctemp
+ \end{minipage}
+ \end{center}
+ \vspace{3ex}
+ }
+\let\include\input
+\setleftmark{\rightmark}
+\renewcommand{\notinarticle}[1]{}
+}
+
%%% Opzioni per la title page
\DeclareOption{nofooter}{
\renewcommand{\titling}{
@@ -413,6 +458,35 @@
\vspace{\stretch{3}}
\end{titlepage}}
}
+\DeclareOption{logo-toplcr}{
+\renewcommand{\titling}{
+ \begin{titlepage}
+ \setlogooptions{width=0.1\paperwidth}
+ \inslogo{\leftlogo}\hfill\inslogo{\logo}\hfill\inslogo{\rightlogo}
+ \vspace{\stretch{2}}
+ \maketitle
+ \vspace{\stretch{3}}
+ \titlingpagemiddle
+ \vspace{\stretch{3}}
+ \begin{center}
+ \titlingpageprefooter
+ {\colorB\rule[.5ex]{50ex}{.4pt}}\\
+ \titlingpagefooter
+ \end{center}
+\end{titlepage}}
+}
+\DeclareOption{logo-toplcr-nofooter}{
+\renewcommand{\titling}{
+ \begin{titlepage}
+ \setlogooptions{width=0.1\paperwidth}
+ \inslogo{\leftlogo}\hfill\inslogo{\logo}\hfill\inslogo{\rightlogo}
+ \vspace{\stretch{3}}
+ \maketitle
+ \vspace{\stretch{3}}
+ \titlingpagemiddle
+ \vspace{\stretch{3}}
+\end{titlepage}}
+}
%% Colori di sezioni, sottosezioni, etc.
\newcommand{\sectionfont}{\normalfont\colorA\Large\bfseries}
@@ -558,5 +632,10 @@
}
\makeatother
+% Rimozione epigrafi (utile per fare diverse versioni di un documento)
+\newcommand{\noepigraph}{\renewcommand{\epigraph}[4]{}}
+\DeclareOption{noepigraph}{
+ \noepigraph
+}
\ProcessOptions \ No newline at end of file