summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sapthesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-23 22:45:46 +0000
committerKarl Berry <karl@freefriends.org>2012-11-23 22:45:46 +0000
commit18197c1aaecb34702640c078c7a0d59c3ed40acc (patch)
treeae95b3be4a0b6f0391f61efeb10f772fdd1d63c7 /Master/texmf-dist/tex/latex/sapthesis
parent76ac46d640d76b5fa9661395728aef7a7dd35f93 (diff)
sapthesis (23nov12)
git-svn-id: svn://tug.org/texlive/trunk@28345 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sapthesis')
-rw-r--r--Master/texmf-dist/tex/latex/sapthesis/sapthesis.cls43
1 files changed, 30 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/sapthesis/sapthesis.cls b/Master/texmf-dist/tex/latex/sapthesis/sapthesis.cls
index 4ccd8b1945d..6046c0e7469 100644
--- a/Master/texmf-dist/tex/latex/sapthesis/sapthesis.cls
+++ b/Master/texmf-dist/tex/latex/sapthesis/sapthesis.cls
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% sapthesis.cls %%
-%% version 3.1.1 %%
-%% 2012-03-02 %%
+%% version 3.2 %%
+%% 2012-08-15 %%
%% author: Francesco Biccari %%
%% contact: biccari@gmail.com %%
%% %%
@@ -18,11 +18,11 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Identification %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\NeedsTeXFormat{LaTeX2e}
+\NeedsTeXFormat{LaTeX2e}[2009/01/01]
\ProvidesClass{sapthesis}%
-[2012/03/02 Sapienza - University of Rome thesis class]
-
+[2012/08/15 Sapienza - University of Rome thesis class]
+\def\SAP@classVersion{3.2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Options %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -39,9 +39,12 @@
\newif\ifSAP@LaM \SAP@LaMfalse
\newif\ifSAP@Lau \SAP@Laufalse
\newif\ifSAP@noexaminfo \SAP@noexaminfofalse
+\newif\ifSAP@femaleauthor \SAP@femaleauthorfalse
+
\newcommand{\SAP@customlanguage}{}
\define@key[sap]{}{noexaminfo}[]{\SAP@noexaminfotrue}
+\define@key[sap]{}{fem}[]{\SAP@femaleauthortrue}
\define@key[sap]{}{nodefaultfont}[]{\SAP@nodefaultfonttrue}
\define@key[sap]{}{romandiff}[]{\SAP@romandifftrue}
\define@key[sap]{}{italian}[]{\SAP@customlanguagetrue
@@ -72,7 +75,7 @@
\ifSAP@Lau\relax\else
\ifSAP@MasterP\relax\else
\ifSAP@MasterS\relax\else
- \ClassError{sapthesis}{You must specify the PhD, LaM, Lau, MasterP or%
+ \ClassError{sapthesis}{You must specify the PhD, LaM, Lau, MasterP or %
MasterS option}{}
\fi
\fi
@@ -276,15 +279,15 @@
\if|\SAP@courseorganizerLabel|\ClassError{sapthesis}{You must specify the Ph.D. %
organizer}{Example: \protect\courseorganizer{Scuola di dottorato di ...}}\fi
\if|\SAP@courseLabel|\ClassError{sapthesis}{You must specify the Ph.D. %
- course}{Example: \protect\course{Fisica}{Physics}}\fi
+ course}{Example: \protect\course[Fisica]{Physics}}\fi
\if|\SAP@cycle|\ClassError{sapthesis}{You must specify the Ph.D. %
- cycle (cycle)}{The Ph.D. cycle must be in the roman numbers}\fi
+ cycle (cycle)}{Example: \protect\cycle{XXIII} The Ph.D. cycle must be in the roman numbers}\fi
\if|\SAP@submitdate|\ClassError{sapthesis}{You must specify the %
- thesis submission date}{The date must be in the form Month(name) Year(number)}\fi
+ thesis submission date}{Example: \protect\submitdate{August 2012} The date must be in the form Month(name) Year(number)}\fi
\if|\SAP@copyyear|\ClassError{sapthesis}{You must specify the %
copyright year}{Example: \protect\copyyear{2012}}\fi
\if|\SAP@IDnumber|\ClassError{sapthesis}{You must specify your %
- ID number (matricola)}{E.g. 123456}\fi
+ ID number (matricola)}{Example: \protect\IDnumber{123456}}\fi
\if|\SAP@authoremail|\ClassError{sapthesis}{You must specify the email of the author}{%
Example: \protect\authoremail{author@email.com}}\fi
@@ -316,7 +319,11 @@
Dottorato di Ricerca in \SAP@courseLabel\ -- \SAP@cycle\ Ciclo}}
\SAP@parbox[3cm]{%
- \SAP@CandidateLabel\\[2mm]
+ \ifSAP@femaleauthor
+ \SAP@CandidateLabelFemale\\[2mm]
+ \else
+ \SAP@CandidateLabel\\[2mm]
+ \fi
\@author\\[0.75mm]
\SAP@IDnumberLabel\ \SAP@IDnumber}
@@ -402,7 +409,11 @@
Corso di Laurea \ifSAP@LaM Magistrale \fi in \SAP@courseLabel}}
\SAP@parbox[3cm]{%
- \SAP@CandidateLabel\\[2mm]
+ \ifSAP@femaleauthor
+ \SAP@CandidateLabelFemale\\[2mm]
+ \else
+ \SAP@CandidateLabel\\[2mm]
+ \fi
\@author\\[0.75mm]
\SAP@IDnumberLabel\ \SAP@IDnumber}
@@ -485,7 +496,11 @@
Master di \ifSAP@MasterP primo \fi \ifSAP@MasterS secondo \fi livello in \SAP@courseLabel}}
\SAP@parbox[3cm]{%
- \SAP@CandidateLabel\\[2mm]
+ \ifSAP@femaleauthor
+ \SAP@CandidateLabelFemale\\[2mm]
+ \else
+ \SAP@CandidateLabel\\[2mm]
+ \fi
\@author\\[0.75mm]
\SAP@IDnumberLabel\ \SAP@IDnumber}
@@ -631,6 +646,7 @@
\newcommand{\SAP@english}{%
\newcommand{\SAP@CandidateLabel}{Candidate}
+ \newcommand{\SAP@CandidateLabelFemale}{Candidate}
\newcommand{\SAP@IDnumberLabel}{ID number}
\newcommand{\SAP@ThesisAdvisorLabel}{Thesis Advisor}
\newcommand{\SAP@ThesisAdvisorsLabel}{Thesis Advisors}
@@ -660,6 +676,7 @@
\newcommand{\SAP@italian}{%
\newcommand{\SAP@CandidateLabel}{Candidato}
+ \newcommand{\SAP@CandidateLabelFemale}{Candidata}
\newcommand{\SAP@IDnumberLabel}{Matricola}
\newcommand{\SAP@ThesisAdvisorLabel}{Relatore}
\newcommand{\SAP@ThesisAdvisorsLabel}{Relatori}