You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\ifsetCustomFont % Set your custom font here and use 'customfont' in options. Leave empty to % load computer modern font (default LaTeX font). \RequirePackage{helvet} \usepackage{fontspec} % For use with XeLaTeX \setmainfont[ Path = Font/, Extension = .ttf, UprightFont = *-Regular, BoldFont = *-Bold, ItalicFont = *-Italic, BoldItalicFont = *-BoldItalic, ]{Verdana} % % load font from system font % \newfontfamily\libertinesystemfont{Linux Libertine O} \fi
if I remove the if condition it works fine, however. Any ideas as to why? I am adding the customfont attribute when I create my document.
Thanks
The text was updated successfully, but these errors were encountered:
Setting custom font is somehow now working
\ifsetCustomFont % Set your custom font here and use 'customfont' in options. Leave empty to % load computer modern font (default LaTeX font). \RequirePackage{helvet} \usepackage{fontspec} % For use with XeLaTeX \setmainfont[ Path = Font/, Extension = .ttf, UprightFont = *-Regular, BoldFont = *-Bold, ItalicFont = *-Italic, BoldItalicFont = *-BoldItalic, ]{Verdana} % % load font from system font % \newfontfamily\libertinesystemfont{Linux Libertine O} \fi
if I remove the if condition it works fine, however. Any ideas as to why? I am adding the customfont attribute when I create my document.
Thanks
The text was updated successfully, but these errors were encountered: