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
5c9a09ab
Verified
Commit
5c9a09ab
authored
3 years ago
by
John Swinbank
Browse files
Options
Downloads
Plain Diff
Merge branch 'u/swinbank/escape-logo' into trunk
parents
f9b0aaa0
6e587de6
No related branches found
No related tags found
1 merge request
!31
Use new logo; improve font check
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
texmf/tex/latex/astron/escape-logo.png
+0
-0
0 additions, 0 deletions
texmf/tex/latex/astron/escape-logo.png
texmf/tex/latex/astron/escape.cls
+15
-10
15 additions, 10 deletions
texmf/tex/latex/astron/escape.cls
with
15 additions
and
10 deletions
texmf/tex/latex/astron/escape-logo.png
+
0
−
0
View replaced file @
f9b0aaa0
View file @
5c9a09ab
344 KiB
|
W:
|
H:
177 KiB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
texmf/tex/latex/astron/escape.cls
+
15
−
10
View file @
5c9a09ab
...
...
@@ -82,7 +82,12 @@
% Default font for ESCAPE documents is Calibri
% But if we can't find it (e.g. in CI), don't worry about it
\IfFontExistsTF
{
Calibri
}{
\setmainfont
{
Calibri
}}{}
% Attempt to cache the results of the font check; it is very slow
\newcommand
{
\useCalibri
}{}
\IfFontExistsTF
{
Calibri
}{
\renewcommand
{
\useCalibri
}{
\setmainfont
{
Calibri
}}}{}
\newcommand
{
\useArial
}{}
\IfFontExistsTF
{
Arial
}{
\renewcommand
{
\useArial
}{
\setmainfont
{
Arial
}}}{}
\useCalibri
%
...
...
@@ -92,14 +97,14 @@
\fancyhf
{}
\lhead
{
\
IfFontExistsTF
{
Arial
}{
\setmainfont
{
Arial
}}{}
\
use
Arial
\fontsize
{
8
}{
10
}
\selectfont
\includegraphics
[width=2.0cm]
{
escape-logo.png
}
\\
\docNumber
{}
--
\docTitle
{}}
\rhead
{
\raisebox
{
1.8cm
}{
\
IfFontExistsTF
{
Arial
}{
\setmainfont
{
Arial
}}{}
\
use
Arial
\fontsize
{
8
}{
10
}
\selectfont
\renewcommand
{
\arraystretch
}{
1.5
}
\begin{tabular}
{
>
{
\raggedright
}
ll
}
...
...
@@ -109,7 +114,7 @@
}}
\cfoot
{
\
IfFontExistsTF
{
Calibri
}{
\setmainfont
{
Calibri
}}{}
\
use
Calibri
\begin{tabularx}
{
\textwidth
}{
@
{}
lXll@
{}}
\includegraphics
[width=1cm]
{
flag-eu
}
\hspace
{
0.3cm
}
&
\fontsize
{
8
}{
10
}
\selectfont
...
...
@@ -132,14 +137,14 @@
\renewcommand
{
\maketitle
}{
\thispagestyle
{
empty
}
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
,
1
cm)
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
,
2
cm)
\begin{center}
\includegraphics
[width=6cm]
{
escape-logo.png
}
\end{center}
\end{textblock*}
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
,
8
cm)
{
\
IfFontExistsTF
{
Arial
}{
\setmainfont
{
Arial
}}{}
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
,
9
cm)
{
\
use
Arial
\fontsize
{
10
}{
12
}
\selectfont
\renewcommand
{
\arraystretch
}{
1.5
}
\hyphenpenalty
=10000
...
...
@@ -156,7 +161,7 @@ Project Website & \projectWeb{}\tabularnewline
\renewcommand
{
\arraystretch
}{
1
}
\end{textblock*}
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
, 1
4
.2cm)
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
, 1
5
.2cm)
\centering
\begin{minipage}
{
0.7
\textwidth
}
\centering
...
...
@@ -165,7 +170,7 @@ Project Website & \projectWeb{}\tabularnewline
\end{minipage}
\end{textblock*}
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
, 1
6
.5cm)
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
, 1
7
.5cm)
\renewcommand
{
\arraystretch
}{
1.5
}
\hyphenpenalty
=10000
\begin{tabularx}
{
\textwidth
}{
p
{
0.25
\textwidth
}
X
}
...
...
@@ -179,7 +184,7 @@ Version & \vcsRevision{} \tabularnewline
\renewcommand
{
\arraystretch
}{
1
}
\end{textblock*}
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
, 2
2
.5cm)
\begin{textblock*}
{
1
\textwidth
}
(
\sideMargin
, 2
3
.5cm)
\begin{tabular}
{
lll
}
\multicolumn
{
3
}{
l
}{
Dissemination Level
}
\tabularnewline
\fbox
{
\pu
{}}
&
PU:
&
Public
\tabularnewline
...
...
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