summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-17 00:34:16 +0000
committerKarl Berry <karl@freefriends.org>2010-11-17 00:34:16 +0000
commit73cd5c082800b6704a33df225536f0d8f761c42f (patch)
treed1395b96a064e4632ba8cf2b42d0ed95f70da46f /Master/texmf-dist/tex/latex/toptesi/toptesi.sty
parented6a4bf7b100677d2f500185436d7f3981a7598d (diff)
toptesi (16nov10)
git-svn-id: svn://tug.org/texlive/trunk@20458 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/toptesi/toptesi.sty')
-rw-r--r--Master/texmf-dist/tex/latex/toptesi/toptesi.sty64
1 files changed, 44 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
index f2ef8813c8e..5a085e895a0 100644
--- a/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
+++ b/Master/texmf-dist/tex/latex/toptesi/toptesi.sty
@@ -5,20 +5,12 @@
%% The original source files were:
%%
%% toptesi.dtx (with options: `topsty')
+%% ______________________________________________________
+%% The TOPtesi package
+%% Copyright (C) 2010 Claudio Beccari
+%% All rights reserved
%%
-%% Copyright 1989--2005 Claudio Beccari All rights reserved.
-%%
-%% This system is distributed in the hope that it will be useful,
-%% but WITHOUT ANY WARRANTY; without even the implied warranty of
-%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-%%
-%%
-%% IMPORTANT NOTICE:
-%%
-%% This file is subject to the LPPL licence, version 1.3 or any subsequent
-%% version. Copy of the LaTeX Project Public Licence is downloadable from
-%% any CTAN archive.
-%%
+%% License information appended
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -38,10 +30,11 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{toptesi}%
-[2008/12/15 v.5.00 Extension for toptesi.cls]%
+[2010/11/14 v.5.01 Extension for toptesi.cls]%
\def\TRON{\tracingcommands \tw@ \tracingmacros \tw@}
\def\TROFF{\tracingcommands\z@ \tracingmacros \z@}
\let\TROF\TROFF
+\newlength\T@Pbinding\setlength\T@Pbinding{7mm}\def\setbindingcorrection#1{\T@Pbinding=#1}
\newif\if@binding \@bindingfalse
\newif\ifT@Ppdfa \T@Ppdfafalse
\newif\ifchapterbibliography \chapterbibliographyfalse
@@ -70,13 +63,14 @@
\marginparwidth\oddsidemargin
\advance\marginparwidth 1in
\advance\marginparwidth-2.5\marginparsep
+\AtBeginDocument{%
\if@binding
\typeout{Messaggio Toptesi: Ricalcolo i margini}
- \advance\oddsidemargin 7mm
- \advance\evensidemargin -7mm
- \advance\marginparwidth -7mm
- \advance\marginparwidth -7mm
-\fi
+ \advance\oddsidemargin \T@Pbinding
+ \advance\evensidemargin -\T@Pbinding
+ \advance\marginparwidth -\T@Pbinding
+ \advance\marginparwidth -\T@Pbinding
+\fi}
\def\lapagina{\thepage}
\mark{{}{}}
\newbox\@intesta
@@ -354,6 +348,36 @@ Skipping any redefinition\MessageBreak}%
\line(0,1){4}}\endpicture}
}}
\ifT@Ppdfa\RequirePackage[a-1b]{pdfx}\fi
-\endinput
+%%
+%% Copyright 2005-2010 Claudio Beccari
+%%
+%% Distributable under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is "author-maintained"
+%%
+%% This work consists of this file toptesi.dtx, a README file
+%% and the derived files:
+%%
+%% toptesi.cls, toptesi.sty, topfront.sty, topcommand.sty, topsize14,
+%% trieste.sty, toptesi.cfg, and the English documentation toptesi.pdf;
+%%
+%% Furthermore the bundle contains the documentation source file toptesi-doc.tex
+%% and the derived file toptesi-doc.pdf.
+%%
+%% The toptesi-example.tex source file is just an example that shows how
+%% to use the various commands; by commenting or decommenting certain
+%% source lines it is possible to typeset different kind of theses and their
+%% frontpages.
+%%
+%% The toptesi.cfg file is a sample of a local configuration file that can be
+%% freely edited and modified.
+%%
+%% By running pdflatex on toptesi.dtx the user gets the class, sty and cfg files
+%% and the English documentation file in pdf format.
+%%
+%% The documentation file toptesi-doc.pdf is in Italian; its source file is
+%% another example of how to use toptesi.
%%
%% End of file `toptesi.sty'.