diff --git a/Config/1_novathesis.tex b/Config/1_novathesis.tex index 4420fae1..c57c0582 100644 --- a/Config/1_novathesis.tex +++ b/Config/1_novathesis.tex @@ -25,12 +25,13 @@ % % ] % % DEFAULT: doctype=phd -% \ntsetup{school=uminho/ee} % The school id -% % [ nova/fct, nova/fcsh, nova/ims, nova/ims/mcsig, nova/ims/mgt, nova/ensp, nova/itqb, -% % ulisboa/ist, ulisboa/fc, ulisboa/fmv, -% % uminho/ea, uminho/ec, uminho/ed, uminho/ee, -% % uminho/eeg, uminho/em, uminho/ep, uminho/ese, -% % uminho/ics, uminho/ie, uminho/ilch, uminho/i3b, +% \ntsetup{school=uminho/eaad} % The school id +% % [ nova/fct, nova/fcsh, +% % nova/ims, nova/ims/mcsig, nova/ims/mgt, nova/ensp, nova/itqb, +% % ulisboa/ist, ulisboa/fc, ulisboa/fmv, ulisboa/iseg, +% % uminho/eaad, uminho/ec, uminho/ed, uminho/eeg, +% % uminho/eeng, uminho/elach, uminho/emed, uminho/epsi, +% % uminho/ese, uminho/i3bs, uminho/ics, uminho/ie, % % iscteiul/eta, ips/ests, ipl/isel, ipl/isel/meb, % % ulht/deisi, ulht/mge, other/esep % % ] diff --git a/Config/6_list_of.tex b/Config/6_list_of.tex index 974cddcf..5d270875 100644 --- a/Config/6_list_of.tex +++ b/Config/6_list_of.tex @@ -10,18 +10,20 @@ % WHICH LISTS/INDEXES TO PRINT? % syntax: \ntaddlistof{list-name} % You may add more lists if you want to, but please notice that the -% initial "\" is always omitted in the “list-name” +% initial "\" is always omited in the “list-name” %============================================================================= -\ntaddlistof{tableofcontents} % The Table of Contents. Probably you want to leave this as is! ;) +\ntaddlistof{tableofcontents} % The Table of Contents. Probably you want ot leave this as is! ;) \ntaddlistof{listoffigures} % The List of Figures. Comment to omit. -\ntaddlistof{listoftables} % The List of Tables. Comment to omit. +% \ntaddlistof{listoftables} % The List of Tables. Comment to omit. +\@ifpackageloaded{coloredtheorem} % The List of Algorithms for package “algorithms”. + {\ntaddlistof{cthlistofalgorithms}}{ \@ifpackageloaded{algorithm2e} % The List of Algorithms for package “algorithm2e”. {\ntaddlistof{listofalgorithms}}{ % The List of Algorithms for Algorithm2e \@ifpackageloaded{algorithms} % The List of Algorithms for package “algorithms”. {\ntaddlistof{listofalgorithms}}{ -\@ifpackageloaded{algorithms} % The List of Algorithms for package “algorithms”. - {\ntaddlistof{listofalgorithms}}{}}} +\@ifpackageloaded{algorithm} % The List of Algorithms for package “algorithms”. + {\ntaddlistof{listofalgorithms}}{}}}} \@ifpackageloaded{listings} % The List of Listings for package “listings”. {\ntaddlistof{lstlistoflistings}}{} \@ifpackageloaded{minted} % The List of Listings for the “minted” package. diff --git a/Config/9_ulisboa_iseg.tex b/Config/9_ulisboa_iseg.tex new file mode 100644 index 00000000..a1b80f57 --- /dev/null +++ b/Config/9_ulisboa_iseg.tex @@ -0,0 +1,16 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Config/9_ulisboa_iseg.ldf +%% NOVA thesis configuration file +%% +%% Customization for ULISBOA-IST +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%------------------------------------------------------------ +% UNIVERSITY / SCHOOL SPECIFIC STUFF +% ULISBOA - ISEG +%------------------------------------------------------------ + +% Funding Institutions +% \ntsetup{funding={ +% {Fundação para a Ciência e Tecnologia, projeto \#1234 1234 1234},% +% {União Europeia, projeto \#9876 ABCD}% +% }} diff --git a/Makefile b/Makefile index beacc512..8bd95beb 100644 --- a/Makefile +++ b/Makefile @@ -48,7 +48,7 @@ DATE:=$(shell tail -1 NOVAthesisFiles/nt-version.sty | sed -e 's/.*{//' -e 's/\( AUXFILES:=$(shell ls $(B)*.* | fgrep -v .tex | fgrep -v .pdf | sed 's: :\\ :g' | sed 's:(:\\(:g' | sed 's:):\\):g') # schools requiring XeLaTeX or LuaLaTeX (incompatible with pdfLaTeX) -LUA="other/esep uminho/ea uminho/ec uminho/ed uminho/ee uminho/eeg uminho/elach uminho/em uminho/ep uminho/ese uminho/ics uminho/ie uminho/i3b" +LUA="uminho/eaad uminho/ec uminho/ed uminho/eeg uminho/eeng uminho/elach uminho/emed uminho/epsi uminho/ese uminho/i3bs uminho/ics uminho/ie other/esep" # Extract school being built SCHL=$(shell grep -v "^%" Config/1_novathesis.tex | grep "ntsetup{school=" | cut -d "=" -f 2 | cut -d "}" -f 1) @@ -70,7 +70,7 @@ endif ############################################################################# # Main targets: # pdf/xe/lua build with Tex-Live -# tl pdf/xe/lua build with Tex-Live +# tl pdf/xe/lua build with Tex-Live # mik pdf/xe/lua build with MikTeX # year pdf/xe/lua build with Tex-Live release for (if available, otherwise defaults release) # v/view build with pdfLaTeX diff --git a/NOVAthesisFiles/Schools/nova/ims/Images/nova-ims-megi-cover.pdf b/NOVAthesisFiles/Schools/nova/ims/Images/nova-ims-megi-cover.pdf index f7bf9ddf..eac18622 100644 Binary files a/NOVAthesisFiles/Schools/nova/ims/Images/nova-ims-megi-cover.pdf and b/NOVAthesisFiles/Schools/nova/ims/Images/nova-ims-megi-cover.pdf differ diff --git a/NOVAthesisFiles/Schools/nova/ims/nova-ims-mgt-defaults.ldf b/NOVAthesisFiles/Schools/nova/ims/nova-ims-mgt-defaults.ldf index 8a72697c..11fee648 100644 --- a/NOVAthesisFiles/Schools/nova/ims/nova-ims-mgt-defaults.ldf +++ b/NOVAthesisFiles/Schools/nova/ims/nova-ims-mgt-defaults.ldf @@ -278,5 +278,5 @@ for the Degree of \emph{\thedegreename(en)}} } \ntaddtocover[vspace=3mm,halign=r]{N-2}{% - \includegraphics[width=29mm]{Erasmus-Mundus-BW} + \includegraphics[width=29mm]{erasmus-mundus-color} } diff --git a/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-gray-defaults.ldf b/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-gray-defaults.ldf index c01626aa..b8662d37 100644 --- a/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-gray-defaults.ldf +++ b/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-gray-defaults.ldf @@ -17,5 +17,5 @@ % ITQB-NOVA specific customization \ntsetup{nova/itqb/cover/color=gray} -\input{NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults} +\input{NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf} diff --git a/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-green-defaults.ldf b/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-green-defaults.ldf index 2dcd8c53..9c407927 100644 --- a/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-green-defaults.ldf +++ b/NOVAthesisFiles/Schools/nova/itqb/nova-itqb-green-defaults.ldf @@ -17,5 +17,5 @@ % ITQB-NOVA specific customization \ntsetup{nova/itqb/cover/color=green} -\input{NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults} +\input{NOVAthesisFiles/Schools/nova/itqb/nova-itqb-defaults.ldf} diff --git a/NOVAthesisFiles/Schools/ulisboa/iseg/Images/DO_NOT_REMOVE_THIS_FILE.txt b/NOVAthesisFiles/Schools/ulisboa/iseg/Images/DO_NOT_REMOVE_THIS_FILE.txt new file mode 100644 index 00000000..e69de29b diff --git a/NOVAthesisFiles/Schools/ulisboa/iseg/Images/ulisboa-iseg-logo-horiz.pdf b/NOVAthesisFiles/Schools/ulisboa/iseg/Images/ulisboa-iseg-logo-horiz.pdf new file mode 100644 index 00000000..44e1c832 Binary files /dev/null and b/NOVAthesisFiles/Schools/ulisboa/iseg/Images/ulisboa-iseg-logo-horiz.pdf differ diff --git a/NOVAthesisFiles/Schools/ulisboa/iseg/Images/ulisboa-iseg-logo.pdf b/NOVAthesisFiles/Schools/ulisboa/iseg/Images/ulisboa-iseg-logo.pdf new file mode 100644 index 00000000..6adcb147 Binary files /dev/null and b/NOVAthesisFiles/Schools/ulisboa/iseg/Images/ulisboa-iseg-logo.pdf differ diff --git a/NOVAthesisFiles/Schools/ulisboa/iseg/ulisboa-iseg-defaults.ldf b/NOVAthesisFiles/Schools/ulisboa/iseg/ulisboa-iseg-defaults.ldf new file mode 100644 index 00000000..e6691f49 --- /dev/null +++ b/NOVAthesisFiles/Schools/ulisboa/iseg/ulisboa-iseg-defaults.ldf @@ -0,0 +1,246 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% ul/iseg/defaults.ldf +%% NOVA thesis configuration file +%% +%% Customization for IST-UL (strings and cover) +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\typeout{NT FILE ul/iseg/defaults.ldf}% + +\ifdocfinal{\ntsetup{print/secondcover=true}}{} + +% Faculty / School +\school(pt):={Instituto Superior de Economia e Gestão} +\school(en):={Lisbon School of Economics \& Management} +\school(fr):={\theschool(en)} +\school(it):={\theschool(en)} + +\newdata{ulisboaiseg} +\ulisboaiseg(image):={iseg-image.jpg} + +\adviserstring(a,1,m,en):={Supervisor} +\adviserstring(a,1,f,en):={Supervisor} +\adviserstring(a,2,m,en):={Supervisor} +\adviserstring(a,2,f,en):={Supervisor} +\adviserstring(c,1,m,en):={Co-supervisor} +\adviserstring(c,1,f,en):={Co-supervisor} +\adviserstring(c,2,m,en):={Co-supervisor} +\adviserstring(c,2,f,en):={Co-supervisor} +\adviserstring(ca,1,m,en):={Co-supervisor} +\adviserstring(ca,1,f,en):={Co-supervisor} +\adviserstring(ca,2,m,en):={Co-supervisor} +\adviserstring(ca,2,f,en):={Co-supervisor} + +\degreestring(bsc,m,en):={BSc} +\degreestring(bsc,f,en):={BSc} +\degreestring(msc,m,en):={MSc} +\degreestring(msc,f,en):={MSc} +\degreestring(mscplan,m,en):={MSc} +\degreestring(mscplan,f,en):={MSc} +\degreestring(phd,m,en):={PhD Degree} +\degreestring(phd,f,en):={PhD Degree} +\degreestring(phdplan,m,en):={PhD Degree} +\degreestring(phdplan,f,en):={PhD Degree} +\degreestring(phdprop,m,en):={PhD Degree} +% \degreestring(phd,m,en):={PhD Degree} +% \degreestring(phd,f,en):={PhD Degree} +% \degreestring(phdplan,m,en):={PhD Degree} +% \degreestring(phdplan,f,en):={PhD Degree} +% \degreestring(phdprop,m,en):={PhD Degree} +% \degreestring(phdprop,f,en):={PhD Degree} + +% Scientific field +% \majorfield(pt):={Engenharia Informática e de Computadores} +% \majorfield(en):={Computer Science and Engineering} + +% Comiittee printing order +\committeeorder():={c,m}% + +% Cover background images +\thesiscover(phd,1-1,bgcolor):={white} +% \thesiscover(phd,1-1,image):={modelo-capa-definitiva-tese-de-doutoramento-1} +% \thesiscover(phd,2-1,image):={modelo-capa-definitiva-tese-de-doutoramento-2} +% \thesiscover(phdplan,front,image):={} +% \thesiscover(phdprop,front,image):={} +% \thesiscover(msc,front,image):={} +% \thesiscover(mscplan,front,image):={} +% \thesiscover(bsc,front,image):={} +% \thesiscover(plain,front,image):={} + +% Spine info +\spine(logo)={ulisboa-iseg-logo} +\spine(author)={\thedocauthor(name,short)} +\spine(title)={\thedoctitle(\@LANG@COVER,main)} +\spine(year)={\thentdocdate(submission,year)} + +% Set margins for "normal" pages +\margin(screen,top):={3.5cm} +\margin(screen,bottom):={2.5cm} +\margin(screen,left):={3.0cm} +\margin(screen,right):={3.0cm} +\margin(paper,top):={3.5cm} +\margin(paper,bottom):={2.5cm} +\margin(paper,left):={2.5cm} +\margin(paper,right):={3.5cm} + +% Set margins for cover pages +\margin(cover,top):={2cm} +\margin(cover,bottom):={2cm} +\margin(cover,left):={3.0cm} +\margin(cover,right):={3.0cm} + + +\ntbibsetup{style=apa} +\AtEndPreamble{\let\cite\parencite} + + \dissertationstring(bsc,pt)={Relatório especialmente elaborado para obtenção do Grau de % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ em\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(mscplan,pt)={Relatório intermédio especialmente elaborado para obtenção do Grau de % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ em\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(msc,pt)={Dissertação especialmente elaborada para obtenção do Grau de % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ em\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(phdplan,pt)={Relatório intermédio especialmente elaborado para obtenção do Grau de % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ em\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(phdprop,pt)={Proposta de tese especialmente elaborada para obtenção do Grau de % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ em\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(phd,pt)={Tese especialmente elaborada para obtenção do Grau de % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ em\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + + \dissertationstring(bsc,en)={Report specifically prepared to obtain the % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ in\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(mscplan,en)={Dissertation plan specifically prepared to obtain the % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ in\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(msc,en)={Dissertation specifically prepared to obtain the % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ in\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(phdplan,en)={Thesis plan specifically prepared to obtain the % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ in\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(phdprop,en)={Thesis proposal specifically prepared to obtain the % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ in\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + \dissertationstring(phd,en)={Thesis specifically prepared to obtain the % + \thedegreestring(\option{/novathesis/doctype},\expanded{\thedocauthor(gender)},\@LANG@COVER)\ in\\% + {\fontsize{10.75}{12}\selectfont\themajorfield(\@LANG@COVER)}} + +\copyrighttextstring(pt)={O \theschool(\@LANG@COVER)\ e a \theuniversity(\@LANG@COVER)\ têm o direito, perpétuo e sem limites geográficos, de arquivar e publicar esta dissertação através de exemplares impressos reproduzidos em papel ou de forma digital, ou por qualquer outro meio conhecido ou que venha a ser inventado, e de a divulgar através de repositórios científicos e de admitir a sua cópia e disegribuição com objetivos educacionais ou de investigação, não comerciais, desde que seja dado crédito ao autor e editor.} + +\copyrighttextstring(en)={The \theschool(\@LANG@COVER)\ and the \theuniversity(\@LANG@COVER)\ have the right, perpetual and without geographical boundaries, to file and publish this dissertation through printed copies reproduced on paper or on digital form, or by any other means known or that may be invented, and to disseminate through scientific repositories and admit its copying and disegribution for non-commercial, educational or research purposes, as long as credit is given to the author and editor.} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% IST guidelines: +% The pages should be numbered consecutively at the bottom centre of the +% page. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%\frenchspacing + +% Fazer indentação parágrafos +% \setlength{\parindent}{17pt} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% Draw the cover page +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\AtEndPreamble{% + \LoadHelveticaLikeFont% + % \RequirePackage{gillius2}% +} + +% \NTAddToHook{cover/1-1/text/pre}{% + % \sffamily% +% } +% \NTAddToHook{cover/2-1/text/pre}{% +% \sffamily% +% } + + +% School +\ntaddtocover[vspace=0mm]{1-1,2-1}{% + \fontsize{13}{17}\selectfont% + % \SetTracking[ spacing = {25*,166, } ]{ encoding = * }{ 25 }% + \textbf{\textls[25]{\THEuniversity(\@LANG@COVER)}}\\% + \vspace{2mm}% + \textbf{\textls[25]{\THEschool(\@LANG@COVER)}}% +} + +% LOGO +\ntaddtocover[halign=c, vspace=1cm]{1-1,2-1}{% + \includegraphics[height=2cm,align=c]{ulisboa-iseg-logo-horiz}% + \hspace{2cm}% + \includegraphics[height=1.0cm,align=c]{ulisboa-logo-color} +} + +% Images +\IfFileExists{\theulisboaiseg(image)}{ + \ntaddtocover[vspace=1.62cm,height=5cm]{1-1}{% + \includegraphics[height=5cm]{iseg-image}% + }% +}{ +\ntaddtocover[vspace=1.62cm,height=1cm]{1-1}{% + ~% +} +}% +\ntaddtocover[vspace=1.62cm,height=1cm]{2-1}{% + ~% +} + +% % Title of Dissertation +\ntaddtocover[vspace=1.2cm,height=1.35cm,valign=c]{1-1,2-1}{% + \fontsize{13}{15}\selectfont% + \textbf{\thedoctitle(\@LANG@COVER,main,cover)}% +} + +% Author name +\ntaddtocover[vspace=1.0cm,height=1.05cm]{1-1,2-1}{% + \fontsize{11}{12}\selectfont% + \textbf{\thedocauthor(name)}% +} + +% Advisers +\ntaddtocover[vspace=1.7cm,height=3.0cm,valign=t]{1-1,2-1}{% + \adviserstringfont():={\bfseries}% + \fontsize{11}{12}\selectfont% + \ntprintpersons[name]{0.9}{2}{adviser}{a,c}% +} + +% Degree +\ntaddtocover[vspace=1,height=1.6cm,valign=t]{1-1,2-1}{% + \fontsize{10.75}{12}\selectfont% + \thepresentationtext% +} + + +% Committee +\ntaddtocover[vspace=1,valign=t]{2-1}{% + \fontsize{11}{12}\selectfont% + \ntprintpersons[full]{0.9}{2}{committee}{\thecommitteeorder()}% +} + +% Funding +\ntaddtocover[vspace=1,height=1.25cm,valign=t,halign=l,status={final}]{2-1}{% + \ifoptionvoid{/novathesis/ulisboa/iseg/funding}{}{% + \newdata{funding} + \funding(pt):={Instituições Financiadoras:} + \funding(en):={Funding Institutions:} + \fontsize{11}{11}\selectfont% + \thefunding(\@LANG@COVER)\\[0.75ex]% + \@for\myi:=\expanded{\option{/novathesis/ulisboa/iseg/funding}}\do{\hspace*{0.5cm}\myi\\} + }% +} + +% Date +\ntaddtocover[vspace=1,height=8.5mm,valign=b]{1-1,2-1}{% + \fontsize{12}{12}\selectfont% + {\thentdocdate(submission,month,text), \thentdocdate(submission,year)}% +} + diff --git a/NOVAthesisFiles/Schools/ulisboa/ist/ulisboa-ist-defaults.ldf b/NOVAthesisFiles/Schools/ulisboa/ist/ulisboa-ist-defaults.ldf index 840dd505..21a7fcd8 100644 --- a/NOVAthesisFiles/Schools/ulisboa/ist/ulisboa-ist-defaults.ldf +++ b/NOVAthesisFiles/Schools/ulisboa/ist/ulisboa-ist-defaults.ldf @@ -299,7 +299,7 @@ \funding(en):={Funding Institutions:} \fontsize{11}{11}\selectfont% \thefunding(\@LANG@COVER)\\[0.75ex]% - \@for\myi:=\expanded{\option{/novathesis/ulisboa/ist/funding}}\do{\hspace*{0.5cm}\myi]\\} + \@for\myi:=\expanded{\option{/novathesis/ulisboa/ist/funding}}\do{\hspace*{0.5cm}\myi\\} }% } diff --git a/NOVAthesisFiles/Schools/uminho/eaad/uminho-eaad-defaults.ldf b/NOVAthesisFiles/Schools/uminho/eaad/uminho-eaad-defaults.ldf index 64f7cdf1..28225cc0 100644 --- a/NOVAthesisFiles/Schools/uminho/eaad/uminho-eaad-defaults.ldf +++ b/NOVAthesisFiles/Schools/uminho/eaad/uminho-eaad-defaults.ldf @@ -18,7 +18,7 @@ % Faculty / School \school(pt):={Escola de Arquitetura, Arte e Design} \school(en):={School of Architecture, Art, and Design} -\school(fr):=\tehschool(en) -\school(it):=\tehschool(en) +\school(fr):={\theschool(en)} +\school(it):={\theschool(en)} \school(logo,RGB):={uminho-ea-insignia-color} \school(logo,GRAY):={uminho-ea-insignia-mono} diff --git a/NOVAthesisFiles/Schools/uminho/eeng/uminho-eeng-defaults.ldf b/NOVAthesisFiles/Schools/uminho/eeng/uminho-eeng-defaults.ldf index 9c324eee..50a437ed 100644 --- a/NOVAthesisFiles/Schools/uminho/eeng/uminho-eeng-defaults.ldf +++ b/NOVAthesisFiles/Schools/uminho/eeng/uminho-eeng-defaults.ldf @@ -18,7 +18,7 @@ % Faculty / School \school(pt):={Escola de Engenharia} \school(en):={School of Engineering} -\school(fr):=\tehschool(en) -\school(it):=\tehschool(en) +\school(fr):={\theschool(en)} +\school(it):={\theschool(en)} \school(logo,RGB):={uminho-ee-insignia-color} \school(logo,GRAY):={uminho-ee-insignia-mono} diff --git a/NOVAthesisFiles/Schools/uminho/emed/uminho-emed-defaults.ldf b/NOVAthesisFiles/Schools/uminho/emed/uminho-emed-defaults.ldf index 1afb4eda..9b98f9c1 100644 --- a/NOVAthesisFiles/Schools/uminho/emed/uminho-emed-defaults.ldf +++ b/NOVAthesisFiles/Schools/uminho/emed/uminho-emed-defaults.ldf @@ -18,7 +18,7 @@ % Faculty / School \school(pt):={Escola de Medicina​} \school(en):={School of Medicine​} -\school(fr):=\tehschool(en) -\school(it):=\tehschool(en) +\school(fr):={\theschool(en)} +\school(it):={\theschool(en)} \school(logo,RGB):={uminho-em-insignia-color} \school(logo,GRAY):={uminho-em-insignia-mono} diff --git a/NOVAthesisFiles/Schools/uminho/epsi/uminho-epsi-defaults.ldf b/NOVAthesisFiles/Schools/uminho/epsi/uminho-epsi-defaults.ldf index 2008ddfe..89b3b715 100644 --- a/NOVAthesisFiles/Schools/uminho/epsi/uminho-epsi-defaults.ldf +++ b/NOVAthesisFiles/Schools/uminho/epsi/uminho-epsi-defaults.ldf @@ -18,7 +18,7 @@ % Faculty / School \school(pt):={Escola de Psicologia} \school(en):={School of Psychology} -\school(fr):=\tehschool(en) -\school(it):=\tehschool(en) +\school(fr):={\theschool(en)} +\school(it):={\theschool(en)} \school(logo,RGB):={uminho-ep-insignia-color} \school(logo,GRAY):={uminho-ep-insignia-mono} diff --git a/NOVAthesisFiles/Schools/uminho/i3bs/uminho-i3bs-defaults.ldf b/NOVAthesisFiles/Schools/uminho/i3bs/uminho-i3bs-defaults.ldf index d2efea95..ff93e6fc 100644 --- a/NOVAthesisFiles/Schools/uminho/i3bs/uminho-i3bs-defaults.ldf +++ b/NOVAthesisFiles/Schools/uminho/i3bs/uminho-i3bs-defaults.ldf @@ -18,7 +18,7 @@ % Faculty / School \school(pt):={Instituto de Investigação em Biomateriais, \\Biodegradáveis e Biomiméticos​} \school(en):={Research Institute 13Bs} -\school(fr):=\tehschool(en) -\school(it):=\tehschool(en) +\school(fr):={\theschool(en)} +\school(it):={\theschool(en)} \school(logo,RGB):={uminho-iibbb-insignia-color} \school(logo,GRAY):={uminho-iibbb-insignia-mono} diff --git a/novathesis.cls b/novathesis.cls index b8516ae2..16cd987e 100644 --- a/novathesis.cls +++ b/novathesis.cls @@ -123,8 +123,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % PACKAGE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\def\splitbyslash#1/#2\relax#3#4{\edef#3{#1}\edef#4{#2}} - \def\@nt@saveabstractorder{} \newcommand{\@setabstractorder}{% % \typeout{SAVEABSORDER=[\@nt@saveabstractorder]}\SAVEABSORDER% @@ -225,7 +223,13 @@ color/links/.new cmd = {\@ifpackageloaded{hyperref}% {\hypersetup{allcolors=#1}}% {\PassOptionsToPackage{allcolors=#1}{hyperref}}}, - color/gls/.new cmd = {\AtEndPreamble{\renewcommand*{\glstextformat}[1]{\textcolor{#1}{##1}}}}, + color/gls/.new cmd = {\AtEndPreamble{%\textcolor{#1}{##1} + \IfStrEq{#1}{None}{% + \let\@glslink\glsplainhyperlink% + }{% + \renewcommand*{\glstextformat}[1]{\textcolor{#1}{##1}}% + }% + }}, % LANGUAGES lang/extra/.new list = {}, lang/main/.new choice = {en, pt, fr, it, de, es, gr}, @@ -252,12 +256,6 @@ tocintoc/.new toggle = false, % DEBUG debug/.new list = {}, % cover, index - % DEGREEACR (for degree-specific configuration files) - % degreeacr/.new value = {}, - % degreeacr/phd/.new value = {}, - % degreeacr/msc/.new value = {}, - % degreeacr/bsc/.new value = {}, - % degreeacr/plain/.new value = {}, % SCHOOL specific customization % NOVA/ITQB nova/itqb/cover/color/.new choice = {gray, green}, @@ -266,16 +264,6 @@ uminho/skipblankcovers/.new toggle = false, uminho/signatureline/.new toggle = true, % ULISBOA/FMV - % examdate/year/.new value = {yearX}, - % examdate/month/.new value = {monthX}, - % examdate/day/.new value = {dayX}, - % examdate/.new cmd = {\AtEndPreamble{% - % \@splitdate{#1}{\@exdtYEAR}{\@exdtMONTH}{\@exdtDAY}% - % % \typeout{PROCESSDATE 1=#1 Y=\@exdtYEAR M=\@exdtMONTH D=\@exdtDAY}\PROCESSDATEYMD% - % \options{novathesis/examdate/year=\@exdtYEAR, - % novathesis/examdate/month=\@exdtMONTH, - % novathesis/examdate/day=\@exdtDAY}% - % }}, ulisboa/fmv/scientificarea/.new choice = {C, MF, PASA, SA}, ulisboa/fmv/embargo/period/.new choice = {I, 6, 12}, ulisboa/fmv/embargo/justification/.new value = {Justification for the temporary embargo.}, @@ -308,11 +296,9 @@ % The NOVAthesis logo \def\novathesisimg{\includegraphics[height=1.1\fontcharht\font`A,vshift=-0.35pt]{NOVAthesisFiles/Images/novathesis-text}} \def\novathesistxt{\textsl{novathesis}} -\ifdef{\iftutex}{ - \newcommand{\novathesis}{\novathesisimg} -}{ - \newcommand{\novathesis}{\novathesistxt} -} +\ifdef{\iftutex} + {\newcommand{\novathesis}{\novathesisimg}} + {\newcommand{\novathesis}{\novathesistxt}} % -------------------------------------------------------- % Define something (except counters) if undefined @@ -362,12 +348,7 @@ % -------------------------------------------------------- % Change main font size on the fly -\newcommand{\setmemoirfontsize}[1]{% - % do something here to change the all the font sizes - % \makeatletter - \input{mem#1.clo} % does not work - % \makeatother -} +\newcommand{\setmemoirfontsize}[1]{\input{mem#1.clo}} % -------------------------------------------------------- % Input the first file from the list (if any) @@ -722,7 +703,7 @@ \options{/novathesis/lang/cover = \option{/novathesis/lang/main}, /novathesis/lang/copyright = \option{/novathesis/lang/main}, /novathesis/color/links = DarkBlue, - /novathesis/color/gls = Black, + /novathesis/color/gls = None, } @@ -907,6 +888,12 @@ % \renewcommand{\gls@automake@makegloss}{makeglossaries -q}% \renewcommand{\GlsXtrFormatLocationList}[1]{\emph{\small#1)}} \renewcommand{\glsnamefont}[1]{\textbf{#1}}% +\newcommand*{\glsplainhyperlink}[2]{% + \begingroup% + \hypersetup{hidelinks}% + \hyperlink{#1}{#2}% + \endgroup% +}% %-------------------------------- % “Process gnumberlist” option - after glossaries @@ -918,7 +905,9 @@ \RequirePackage{tikz} %%%%% Fine tuning of typesetting -\ifxeorlua{}{% pdflatex +\ifxeorlua{% + \newcommand{\textls}[2][25]{{\addfontfeature{LetterSpace=\the\numexpr#1/9\relax}#2}} +}{% pdflatex \RequirePackage[% babel=true, activate={true,nocompatibility}, % activate={true,nocompatibility} - activate protrusion and expansion diff --git a/template.tex b/template.tex index 2e40d13b..03e8e012 100644 --- a/template.tex +++ b/template.tex @@ -1,7 +1,7 @@ %%%%% !TEX root=template.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%% novathesis.cls -%% NOVA thesis document class +%% template.tex +%% NOVA thesis main document file %% %% This work is licensed under the %% The LaTeX project public license (LPPL), version 1.3c