Skip to content

Commit

Permalink
Added support for colored (red and brown) covers for NOVA FCT
Browse files Browse the repository at this point in the history
Signed-off-by: João Lourenço <joao.lourenco@fct.unl.pt>
  • Loading branch information
joaomlourenco committed Oct 21, 2024
1 parent 79caa71 commit b54037a
Show file tree
Hide file tree
Showing 18 changed files with 98 additions and 18 deletions.
4 changes: 2 additions & 2 deletions Config/1_novathesis.tex
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
% % DEFAULT: doctype=phd

% \ntsetup{school=uminho/eeng} % The school id
% % [ nova/fct, nova/fcsh, nova/ensp,
% % nova/itqb/gray, nova/itqb/green,
% % [ nova/fct, nova/blue, nova/green, nova/brown, nova/red,
% % nova/itqb/gray, nova/itqb/green, nova/fcsh, nova/ensp,
% % nova/ims, nova/ims/csig, nova/ims/ddm, nova/ims/dsaa,
% % nova/ims/egi, nova/ims/gi, nova/ims/gt,
% % ulisboa/ist, ulisboa/fc, ulisboa/fmv, ulisboa/iseg,
Expand Down
20 changes: 20 additions & 0 deletions NOVAthesisFiles/Schools/nova/fct/nova-fct-blue-defaults.ldf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% nova/fct//nova-fct-blue-defaults.ldf
%% NOVA thesis document template
%%
%% This work is licensed under the
%% The LaTeX project public license (LPPL), version 1.3c
%% To view a copy of this license, visit
%% https://www.latex-project.org/lppl/lppl-1-3c/
%%
%% Authors / Contributors:
%% - João Lourenço <joao.lourenco@fct.unl.pt>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\typeout{NT FILE schools/nova/fct/nova-fct-blue-defaults.ldf}%

\thesiscover(\@DOCTYPE,1-1,image):={nova-fct-cover-blue-front}
\thesiscover(\@DOCTYPE,N-2,image):={nova-fct-cover-blue-back}
\thesiscover(\@DOCTYPE,spine,image):={nova-fct-spine-blue}

\input{NOVAthesisFiles/Schools/nova/fct/nova-fct-defaults.ldf}
20 changes: 20 additions & 0 deletions NOVAthesisFiles/Schools/nova/fct/nova-fct-brown-defaults.ldf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% nova/fct//nova-fct-brown-defaults.ldf
%% NOVA thesis document template
%%
%% This work is licensed under the
%% The LaTeX project public license (LPPL), version 1.3c
%% To view a copy of this license, visit
%% https://www.latex-project.org/lppl/lppl-1-3c/
%%
%% Authors / Contributors:
%% - João Lourenço <joao.lourenco@fct.unl.pt>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\typeout{NT FILE schools/nova/fct/nova-fct-brown-defaults.ldf}%

\thesiscover(\@DOCTYPE,1-1,image):={nova-fct-cover-brown-front}
\thesiscover(\@DOCTYPE,N-2,image):={nova-fct-cover-brown-back}
\thesiscover(\@DOCTYPE,spine,image):={nova-fct-spine-brown}

\input{NOVAthesisFiles/Schools/nova/fct/nova-fct-defaults.ldf}
24 changes: 12 additions & 12 deletions NOVAthesisFiles/Schools/nova/fct/nova-fct-defaults.ldf
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,24 @@


% DEFAULT cover
\thesiscover(1-1,image):={nova-fct-cover-red-front}
\thesiscover(N-2,image):={nova-fct-cover-red-back}
\thesiscover(spine,image):={nova-fct-spine-red}
\thesiscover(1-1,image):=?{nova-fct-cover-red-front}
\thesiscover(N-2,image):=?{nova-fct-cover-red-back}
\thesiscover(spine,image):=?{nova-fct-spine-red}

% PhD cover
\thesiscover(phd,1-1,image):={nova-fct-cover-phd-front}
\thesiscover(phd,N-2,image):={nova-fct-cover-phd-back}
\thesiscover(phd,spine,image):={nova-fct-spine-phd}
\thesiscover(phd,1-1,image):=?{nova-fct-cover-green-front}
\thesiscover(phd,N-2,image):=?{nova-fct-cover-green-back}
\thesiscover(phd,spine,image):=?{nova-fct-spine-green}

% MSc cover
\thesiscover(msc,1-1,image):={nova-fct-cover-msc-front}
\thesiscover(msc,N-2,image):={nova-fct-cover-msc-back}
\thesiscover(msc,spine,image):={nova-fct-spine-msc}
\thesiscover(msc,1-1,image):=?{nova-fct-cover-blue-front}
\thesiscover(msc,N-2,image):=?{nova-fct-cover-blue-back}
\thesiscover(msc,spine,image):=?{nova-fct-spine-blue}

% BSc cover
\thesiscover(bsc,1-1,image):={nova-fct-cover-bsc-front}
\thesiscover(bsc,N-2,image):={nova-fct-cover-bsc-back}
\thesiscover(bsc,spine,image):={nova-fct-spine-bsc}
\thesiscover(bsc,1-1,image):=?{nova-fct-cover-brown-front}
\thesiscover(bsc,N-2,image):=?{nova-fct-cover-brown-back}
\thesiscover(bsc,spine,image):=?{nova-fct-spine-brown}



Expand Down
20 changes: 20 additions & 0 deletions NOVAthesisFiles/Schools/nova/fct/nova-fct-green-defaults.ldf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% nova/fct//nova-fct-green-defaults.ldf
%% NOVA thesis document template
%%
%% This work is licensed under the
%% The LaTeX project public license (LPPL), version 1.3c
%% To view a copy of this license, visit
%% https://www.latex-project.org/lppl/lppl-1-3c/
%%
%% Authors / Contributors:
%% - João Lourenço <joao.lourenco@fct.unl.pt>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\typeout{NT FILE schools/nova/fct/nova-fct-green-defaults.ldf}%

\thesiscover(\@DOCTYPE,1-1,image):={nova-fct-cover-green-front}
\thesiscover(\@DOCTYPE,N-2,image):={nova-fct-cover-green-back}
\thesiscover(\@DOCTYPE,spine,image):={nova-fct-spine-green}

\input{NOVAthesisFiles/Schools/nova/fct/nova-fct-defaults.ldf}
20 changes: 20 additions & 0 deletions NOVAthesisFiles/Schools/nova/fct/nova-fct-red-defaults.ldf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% nova/fct//nova-fct-red-defaults.ldf
%% NOVA thesis document template
%%
%% This work is licensed under the
%% The LaTeX project public license (LPPL), version 1.3c
%% To view a copy of this license, visit
%% https://www.latex-project.org/lppl/lppl-1-3c/
%%
%% Authors / Contributors:
%% - João Lourenço <joao.lourenco@fct.unl.pt>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\typeout{NT FILE schools/nova/fct/nova-fct-red-defaults.ldf}%

\thesiscover(\@DOCTYPE,1-1,image):={nova-fct-cover-red-front}
\thesiscover(\@DOCTYPE,N-2,image):={nova-fct-cover-red-back}
\thesiscover(\@DOCTYPE,spine,image):={nova-fct-spine-red}

\input{NOVAthesisFiles/Schools/nova/fct/nova-fct-defaults.ldf}
2 changes: 1 addition & 1 deletion NOVAthesisFiles/nt-version.sty
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
\newcommand*{\novathesisversion}{7.2.1}
\newcommand*{\novathesisdate}{2024-10-15}
\newcommand*{\novathesisdate}{2024-10-21}
4 changes: 2 additions & 2 deletions novathesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
%% To view a copy of this license, visit
%% https://www.latex-project.org/lppl/lppl-1-3c/
%%
%% Version 2024-10-15 [7.2.1]
%% Version 2024-10-21 [7.2.2]
%% Departamento de Informática (www.di.fct.unl.pt)
%% Faculdade de Ciências e Tecnologia (www.fct.unl.pt)
%% Universidade NOVA de Lisboa (www.unl.pt)
Expand Down Expand Up @@ -54,7 +54,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\ProvidesClass{novathesis}[2024-10-15 novathesis template]
\ProvidesClass{novathesis}[2024-10-21 novathesis template]
\NeedsTeXFormat{LaTeX2e}[2020-02-02]


Expand Down
2 changes: 1 addition & 1 deletion template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
%% To view a copy of this license, visit
%% https://www.latex-project.org/lppl/lppl-1-3c/
%%
%% Version 2024-10-15 [7.2.1]
%% Version 2024-10-21 [7.2.2]
%% Departamento de Informática (www.di.fct.unl.pt)
%% Faculdade de Ciências e Tecnologia (www.fct.unl.pt)
%% Universidade NOVA de Lisboa (www.unl.pt)
Expand Down

0 comments on commit b54037a

Please sign in to comment.