Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ptb-latex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
André Wählisch
ptb-latex
Commits
8790dae2
Commit
8790dae2
authored
6 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
Font-Konfiguration ausgelagert
parent
7777d8e8
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ptbposter/ptbposter-new-engines.clo
+43
-0
43 additions, 0 deletions
ptbposter/ptbposter-new-engines.clo
ptbposter/ptbposter-old-engines.clo
+20
-0
20 additions, 0 deletions
ptbposter/ptbposter-old-engines.clo
ptbposter/ptbposter.cls
+2
-47
2 additions, 47 deletions
ptbposter/ptbposter.cls
with
65 additions
and
47 deletions
ptbposter/ptbposter-new-engines.clo
0 → 100644
+
43
−
0
View file @
8790dae2
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-new-engines.clo}%
[2019/05/09 v0.1a `PTB-Poster' new engines (RN/PTB)]
\RequirePackage[no-math]{fontspec}
\RequirePackage{unicode-math}
\setmainfont{texgyrepagella}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\setsansfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\setmonofont{AnonymousPro-Regular}[%
Extension = .ttf,
BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic,
BoldItalicFont = AnonymousPro-BoldItalic,
Scale = MatchLowercase
]
\let\LogoFont=\sffamily
\ifPTB@serif
\setmathfont{texgyrepagella-math.otf}[math-style=ISO,bold-style=ISO]
\else
\renewcommand*\familydefault{\sfdefault}
\RequirePackage[usefilenames,weight=Regular]{firamath-otf}
\RequirePackage[italic]{mathastext}
\fi
\RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'
\endinput
This diff is collapsed.
Click to expand it.
ptbposter/ptbposter-old-engines.clo
0 → 100644
+
20
−
0
View file @
8790dae2
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-old-engines.clo}%
[2019/05/09 v0.1a `PTB-Poster' old engines (RN/PTB)]
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage{textcomp}
\RequirePackage{tgpagella}
\RequirePackage{tgheros}
\let\LogoFont=\sffamily
\RequirePackage[ttdefault=true,scale=1.034]{AnonymousPro}
\ifPTB@serif
\RequirePackage{qpxmath}
\else
\renewcommand*\familydefault{\sfdefault}
\RequirePackage{sfmath}
\fi
\endinput
This diff is collapsed.
Click to expand it.
ptbposter/ptbposter.cls
+
2
−
47
View file @
8790dae2
...
...
@@ -90,54 +90,9 @@
\newcommand*\LogoFont
{}
\ifPTB
@XeOrLua
\RequirePackage
[no-math]
{
fontspec
}
\RequirePackage
{
unicode-math
}
\setromanfont
[Ligatures=TeX]
{
TeX Gyre Pagella
}
\setsansfont
[Ligatures=TeX]
{
TeX Gyre Heros
}
\let\LogoFont
=
\sffamily
%\setmonofont[Scale=0.88]{DejaVu Sans Mono}
%%%\setmonofont[Scale=1.05]{Latin Modern Mono}
\setmonofont
{
AnonymousPro-Regular
}
[
%
Extension = .ttf,
BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic,
BoldItalicFont = AnonymousPro-BoldItalic,
Scale = MatchLowercase
]
%%%\setmonofont[Scale=MatchLowercase]{Anonymous Pro}%
%%% Fehler "This font using the "seac" command for accented characters"
%%% Behoben in "XeTeX 3.14159265-2.6-0.99992 "!
\ifPTB
@serif
\setmathfont
[math-style=ISO,bold-style=ISO]
{
TeXGyrePagellaMath-Regular
}
\else
\setmathfont
[math-style=ISO,bold-style=ISO]
{
Asana Math
}
\setmathfont
[range=\mathup,Scale=MatchLowercase]
{
TeXGyreHeros-Regular
}
\setmathfont
[range=\mathit,Scale=MatchLowercase]
{
TeXGyreHeros-Italic
}
\setmathfont
[range=\mathbfup,Scale=MatchLowercase]
{
TeXGyreHeros-Bold
}
\setmathfont
[range=\mathbfit,Scale=MatchLowercase]
{
TeXGyreHeros-BoldItalic
}
\setmathfont
[range=\mathsfup,Scale=MatchLowercase]
{
TeXGyreHeros-Regular
}
\setmathfont
[range=\mathsfit,Scale=MatchLowercase]
{
TeXGyreHeros-Italic
}
\setmathfont
[range=\mathbfsfup,Scale=MatchLowercase]
{
TeXGyreHeros-Bold
}
\setmathfont
[range=\mathbfsfit,Scale=MatchLowercase]
{
TeXGyreHeros-BoldItalic
}
\setmathfont
[range=\mathpunct]
{
TeXGyreHeros-Regular
}
\fi
\else
\RequirePackage
[utf8]
{
inputenc
}
\RequirePackage
[T1]
{
fontenc
}
\RequirePackage
{
textcomp
}
\RequirePackage
{
tgpagella,qpxmath
}
\RequirePackage
{
tgheros
}
\let\LogoFont
=
\sffamily
%\RequirePackage[scaled=.88]{DejaVuSansMono}
%%%\RequirePackage[scaled=1.05]{zlmtt}% ist lmodern!
\RequirePackage
[ttdefault=true,scale=1.034]
{
AnonymousPro
}
\ifPTB
@serif
\else\RequirePackage
{
sfmath
}
\fi
\fi
\ifPTB
@serif
\renewcommand*\familydefault
{
\rmdefault
}
\input
{
ptbposter-new-engines.clo
}
\else
\
renewcommand*\familydefault
{
\sfdefault
}
\
input
{
ptbposter-old-engines.clo
}
\fi
\RequirePackage
[verbose]
{
geometry
}
% Papiergröße steht bereits fest (Standard: A0)
...
...
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