summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/unifith
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-08-27 23:00:54 +0000
committerKarl Berry <karl@freefriends.org>2019-08-27 23:00:54 +0000
commita7c65972c1ce4bc28a5aea3a11cf1692b0261095 (patch)
tree6228b425a5858242c3a76310dd96496314799c4d /Master/texmf-dist/tex/latex/unifith
parent50678d8f733e6a148db60b3bb73deba4324348b3 (diff)
unifith (28aug19)
git-svn-id: svn://tug.org/texlive/trunk@51968 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/unifith')
-rw-r--r--Master/texmf-dist/tex/latex/unifith/unifith.cls31
1 files changed, 26 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/unifith/unifith.cls b/Master/texmf-dist/tex/latex/unifith/unifith.cls
index f72862de5e9..ea90f6ca6bf 100644
--- a/Master/texmf-dist/tex/latex/unifith/unifith.cls
+++ b/Master/texmf-dist/tex/latex/unifith/unifith.cls
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% unifith.cls %%
-%% version 1.0 %%
-%% 2019-08-07 %%
+%% version 1.2 %%
+%% 2019-08-27 %%
%% author: Francesco Biccari %%
%% contact: biccari@gmail.com %%
%% %%
@@ -20,9 +20,9 @@
\NeedsTeXFormat{LaTeX2e}[2009/01/01]
\ProvidesClass{unifith}%
-[2019/08/07 University of Florence thesis class]
+[2019/08/27 University of Florence thesis class]
-\def\UFI@classVersion{1.0}
+\def\UFI@classVersion{1.2}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Options %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -167,6 +167,12 @@
%% GENERAL COMMANDS
+% logo
+\newif\ifUFI@unifilogo \UFI@unifilogofalse
+\IfFileExists{unifilogo.pdf}{\UFI@unifilogotrue}{\RequirePackage{hyperref}}
+
+
+
\def\UFI@subtitle{}
\def\UFI@alttitle{}
\def\UFI@courseorganizerLabel{}
@@ -313,7 +319,22 @@
\vspace*{-25mm}
%\hspace{-1cm}\includegraphics[width=6.5cm]{unifilogo}
- \parbox[b][3cm][c]{0.49\linewidth}{\hspace{-1cm}\includegraphics[width=6.5cm]{unifilogo}}
+ \ifUFI@unifilogo
+ \parbox[b][3cm][c]{0.49\linewidth}{\hspace{-1cm}\includegraphics[width=6.5cm]{unifilogo.pdf}}
+ \else
+ \parbox[b][3cm][c]{0.49\linewidth}{\hspace{-1cm}
+ \setlength{\unitlength}{1mm}
+ \begin{picture}(65,27.3)(0,0)
+ \small
+ \put(0,0){\framebox(65,27.3)[0,0]{}}
+ \put(2,23){\makebox(0,0)[l]{WARNING! ATTENZIONE!}}
+ \put(2,18){\makebox(0,0)[l]{UniFi logo not found!}}
+ \put(2,11){\href{http://biccari.altervista.org/c/informatica/latex/unifilogo.pdf}{Click here to download the UniFi logo}}
+ \put(2,5.5){Then copy unifilogo.pdf in the folder}
+ \put(2,1.5){of your main .tex file.}
+ \end{picture}
+ }
+ \fi
\hfill
\parbox[b][2.9cm][c]{0.49\linewidth}{%
\raggedleft