-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: João Lourenço <[email protected]>
- Loading branch information
1 parent
dc05a17
commit 33a69e5
Showing
4 changed files
with
107 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
%% FontStyles/futura.ldf | ||
%% NOVA thesis configuration file | ||
%% | ||
%% Customization of font to use a Linux Libertine font set | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
||
\typeout{NT FILE FontStyles/futura.ldf}% | ||
|
||
|
||
\ntcheckfont{Futura-Medium.ttf} | ||
{https://github.com/joaomlourenco/novathesis-extras/raw/main/Fonts/Futura.zip} | ||
\ntcheckfont{Futura-MediumItalic.ttf} | ||
{https://github.com/joaomlourenco/novathesis-extras/raw/main/Fonts/Futura.zip} | ||
\ntcheckfont{Futura-Bold.ttf} | ||
{https://github.com/joaomlourenco/novathesis-extras/raw/main/Fonts/Futura.zip} | ||
|
||
\ifxeorlua{}{% | ||
\ClassError{novathesis}{Font Style “futura” is not compatible with pdfLaTeX. Please use XeLaTeX or LuaLaTeX}{Please use XeLaTeX or LuaLaTeX}% | ||
} | ||
|
||
|
||
\AtEndPreamble{% | ||
\RequirePackage[type1]{cabin}% used only by \mathsf | ||
\RequirePackage{amsthm}% load before newtxmath | ||
\RequirePackage[libertine,vvarbb]{newtxmath}% does not load minfutura because another Roman text package was specified | ||
|
||
\setmainfont{Futura}[ | ||
Ligatures=TeX, | ||
Mapping=tex-text, | ||
Path = NOVAthesisFiles/FontStyles/Fonts/, | ||
UprightFont=Futura-Medium.ttf, | ||
ItalicFont=Futura-MediumItalic.ttf, | ||
BoldFont=Futura-Bold.ttf, | ||
BoldItalicFont=Futura-MediumItalic.ttf, | ||
BoldItalicFeatures={FakeBold=1.5}, | ||
] | ||
|
||
\setfontfamily\futura{Futura-Medium.ttf}[ | ||
Ligatures=TeX, | ||
Mapping=tex-text, | ||
Path = NOVAthesisFiles/FontStyles/Fonts/, | ||
] | ||
|
||
\setfontfamily\futurait{Futura-MediumItalic.ttf}[ | ||
Ligatures=TeX, | ||
Mapping=tex-text, | ||
Path = NOVAthesisFiles/FontStyles/Fonts/, | ||
] | ||
|
||
\setfontfamily\futurabf{Futura-Bold.ttf}[ | ||
Ligatures=TeX, | ||
Mapping=tex-text, | ||
Path = NOVAthesisFiles/FontStyles/Fonts/, | ||
] | ||
|
||
\setfontfamily\futurabfit{Futura-MediumItalic.ttf}[ | ||
Ligatures=TeX, | ||
Mapping=tex-text, | ||
Path = NOVAthesisFiles/FontStyles/Fonts/, | ||
BoldItalicFeatures={FakeBold=1.5}, | ||
] | ||
|
||
\setfontfamily\futurasl{Futura-Medium.ttf}[ | ||
Ligatures=TeX, | ||
Mapping=tex-text, | ||
Path = NOVAthesisFiles/FontStyles/Fonts/, | ||
AutoFakeSlant=0.15, | ||
] | ||
|
||
\setfontfamily\futurabfsl{Futura-Bold.ttf}[ | ||
Ligatures=TeX, | ||
Mapping=tex-text, | ||
Path = NOVAthesisFiles/FontStyles/Fonts/, | ||
AutoFakeSlant=0.15, | ||
] | ||
|
||
|
||
% | ||
% %https://sourcefoundry.org/hack/ | ||
% \setmonofont{Hack}[ | ||
% %Scale=MatchLowercase, | ||
% Scale=0.8, | ||
% Path = novathesis-files/FontStyles/fonts/, | ||
% Extension = .ttf, | ||
% Mapping=tex-text, | ||
% UprightFont=*-Regular, | ||
% BoldFont=*-Bold, | ||
% ItalicFont=*-Italic, | ||
% BoldItalicFont=*-BoldItalic] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
%% FontStyles/opensans.ldf | ||
%% NOVA thesis configuration file | ||
%% | ||
%% Customization of font to use a Linux Libertine font set | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
|
||
\typeout{NT FILE FontStyles/opensans.ldf}% | ||
|
||
\RequirePackage[default,scale=0.95]{opensans} |