Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
astron-texmf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
Documents
astron-texmf
Commits
072664ce
Commit
072664ce
authored
3 years ago
by
John Swinbank
Browse files
Options
Downloads
Patches
Plain Diff
ESCAPE template defaults to sans fonts
parent
5c9a09ab
No related branches found
No related tags found
1 merge request
!32
ESCAPE template defaults to sans fonts
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
texmf/tex/latex/astron/escape.cls
+5
-5
5 additions, 5 deletions
texmf/tex/latex/astron/escape.cls
with
5 additions
and
5 deletions
texmf/tex/latex/astron/escape.cls
+
5
−
5
View file @
072664ce
...
@@ -81,15 +81,15 @@
...
@@ -81,15 +81,15 @@
\input
{
common
}
\input
{
common
}
% Default font for ESCAPE documents is Calibri
% Default font for ESCAPE documents is Calibri
% But if we can't find it (e.g. in CI),
don't worry about it
% But if we can't find it (e.g. in CI),
fall back to Arial (if available)
% Attempt to cache the results of the font check; it is very slow
% Attempt to cache the results of the font check; it is very slow
\newcommand
{
\useCalibri
}{}
\IfFontExistsTF
{
Calibri
}{
\renewcommand
{
\useCalibri
}{
\setmainfont
{
Calibri
}}}{}
\newcommand
{
\useArial
}{}
\newcommand
{
\useArial
}{}
\IfFontExistsTF
{
Arial
}{
\renewcommand
{
\useArial
}{
\setmainfont
{
Arial
}}}{}
\IfFontExistsTF
{
Arial
}{
\renewcommand
{
\useArial
}{
\setsansfont
{
Arial
}}}{}
\newcommand
{
\useCalibri
}{}
\IfFontExistsTF
{
Calibri
}{
\renewcommand
{
\useCalibri
}{
\setsansfont
{
Calibri
}}}{
\useArial
}
\renewcommand
{
\familydefault
}{
\sfdefault
}
\useCalibri
\useCalibri
%
%
% Define headers and footers
% Define headers and footers
%
%
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment