summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bookest
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-06-01 17:03:04 +0000
committerKarl Berry <karl@freefriends.org>2007-06-01 17:03:04 +0000
commitfb40d3d362b893fad5c5d74aa5a0566bf0d964d7 (patch)
tree75b6458e72ad3ba99a68d96828ce61556ac4d7ef /Master/texmf-dist/tex/latex/bookest
parent1bc72c65eb75d033585161c0ec24fe5248c5d2cd (diff)
bookest update (22may07)
git-svn-id: svn://tug.org/texlive/trunk@4402 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bookest')
-rw-r--r--Master/texmf-dist/tex/latex/bookest/bookest.cls27
1 files changed, 23 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/bookest/bookest.cls b/Master/texmf-dist/tex/latex/bookest/bookest.cls
index 28daa5ce10a..761bc593e84 100644
--- a/Master/texmf-dist/tex/latex/bookest/bookest.cls
+++ b/Master/texmf-dist/tex/latex/bookest/bookest.cls
@@ -2,6 +2,7 @@
%% %%
%% Package name: bookest %%
%% Author: Riccardo Bresciani - bresciani(at)sssup.it %%
+%% Web: http://tex.boris-web.net/bookest %%
%% %%
%% Description: This package provides an extension to the %%
%% book class %%
@@ -26,8 +27,10 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{bookest}[2007/04/12 v1.0 Extension for the book class]
+\ProvidesClass{bookest}[2007/05/22 v1.0.4 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)
@@ -36,9 +39,15 @@
\RequirePackage{hyperref}
\RequirePackage{eso-pic}
\RequirePackage{geometry}
+\RequirePackage{everyshi}
\makeatletter
+%% Filigrana
+\newcommand{\shipoutimage}[2]{\EveryShipout{\AddToShipoutPicture*{\AtPageCenter{\makebox(0,0){\includegraphics[#1]{#2}}}}}}
+
+\newcommand{\shipouttext}[3]{\EveryShipout{\AddToShipoutPicture*{\AtPageCenter{\makebox(0,0){\rotatebox{#1}{\scalebox{#2}{{\color[rgb]{.95,.95,.95}\normalfont\normalsize #3}}}}}}}}
+
%% Rinomina la bibliografia
\newcommand{\setbibname}[1]{\def\bibname{#1}}
\newcommand{\setcontentsname}[1]{\def\contentsname{#1}}
@@ -54,6 +63,16 @@
\slshape
}
+%% Ambiente abstract
+\newenvironment{abstract}[1]{
+\begin{center}
+\begin{minipage}{0.8\textwidth}
+\textbf{#1}\hspace{3ex}}
+{\end{minipage}
+\end{center}
+\vspace{1ex}
+}
+
%% Colora il righello di footnote
\renewcommand{\footnoterule}{%
{\colorB\kern-3\p@
@@ -151,8 +170,8 @@
\newcommand{\setlogooptions}[1]{
\renewcommand{\inslogo}{\includegraphics[#1]}}
\newcommand{\logo}{logo}
-\newcommand{\rightlogo}{logo}
-\newcommand{\leftlogo}{logo}
+\newcommand{\rightlogo}{\logo}
+\newcommand{\leftlogo}{\logo}
\newcommand{\setlogo}[1]{
\renewcommand{\logo}{#1}}
\newcommand{\setrightlogo}[1]{
@@ -540,4 +559,4 @@
\makeatother
-\ProcessOptions
+\ProcessOptions \ No newline at end of file