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
a741f16c
Commit
a741f16c
authored
5 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
Fontgrößen auslagelagert (2018, 2020)
parent
ab7ef4b9
No related branches found
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-2018.clo
+6
-1
6 additions, 1 deletion
ptbposter/ptbposter-2018.clo
ptbposter/ptbposter-2020.clo
+6
-2
6 additions, 2 deletions
ptbposter/ptbposter-2020.clo
ptbposter/ptbposter.cls
+51
-57
51 additions, 57 deletions
ptbposter/ptbposter.cls
with
63 additions
and
60 deletions
ptbposter/ptbposter-2018.clo
+
6
−
1
View file @
a741f16c
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-2018.clo}%
[2020/03/0
9
v0.1b `PTB-Poster' layout 2018 (RN/PTB)]
[2020/03/
1
0 v0.1b `PTB-Poster' layout 2018 (RN/PTB)]
\typeout{*** LAYOUT 2018 ***}
\setlength\PTB@default@fontsize@base{0.0130170299199\PTB@scale@base}% 11pt bei A4
\setlength\PTB@default@author@fontsize{0.0157550946737\PTB@scale@base}% 53.3pt bei A0
\setlength\PTB@default@title@fontsize@base{0.0315101893474\PTB@scale@base}% 106.6pt bei A0
\setlength\PTB@default@foot@fontsize{0.00567538119577\PTB@scale@base}% 19.2pt bei A0
\ifPTB@XeOrLua
\setfontfamily\PTBdesignFont{texgyreheros}[
Ligatures=TeX,
...
...
This diff is collapsed.
Click to expand it.
ptbposter/ptbposter-2020.clo
+
6
−
2
View file @
a741f16c
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-2020.clo}%
[2020/03/0
9
v0.1b `PTB-Poster' layout 2020 (RN/PTB)]
[2020/03/
1
0 v0.1b `PTB-Poster' layout 2020 (RN/PTB)]
\typeout{*** LAYOUT 2020 ***}
\setlength\PTB@default@fontsize@base{0.0118336635635\PTB@scale@base}% 10pt bei A4
\setlength\PTB@default@author@fontsize{0.0157550946737\PTB@scale@base}% 53.3pt bei A0
\setlength\PTB@default@title@fontsize@base{.03147352426532526036\PTB@scale@base}% 106.6pt bei A0 ???
\setlength\PTB@default@foot@fontsize{0.00567538119577\PTB@scale@base}% 19.2pt bei A0
\ifPTB@XeOrLua
\setfontfamily\PTBdesignFont{UniversNextPro-Light}[%
Scale=.905,% ???
BoldFont=*,
Extension=.ttf]
\setsansfont{texgyreheros}[
...
...
This diff is collapsed.
Click to expand it.
ptbposter/ptbposter.cls
+
51
−
57
View file @
a741f16c
...
...
@@ -10,12 +10,12 @@
\newdimen\PTB
@topmargin
% Abstand zum Rahmen
\newdimen\PTB
@leftmargin
% Abstand zum Rahmen
\newdimen\PTB
@default@fsize@base
% Bezugsgröße für Standardschriftgröße im Textbereich
\newdimen\PTB
@default@t
f
size@base
% Bezugsgröße für Standardschriftgröße im Titel
\newdimen\PTB
@default@f
ont
size@base
% Bezugsgröße für Standardschriftgröße im Textbereich
\newdimen\PTB
@default@t
itle@font
size@base
% Bezugsgröße für Standardschriftgröße im Titel
\newdimen\PTB
@default@fsize
% Standardschriftgröße im Textbereich (\normalsize)
\newdimen\PTB
@default@t
f
size
% Standardschriftgröße für den Titel
\newdimen\PTB
@default@a
f
size
% Standardschriftgröße für die Autoren
\newdimen\PTB
@default@f
f
size
% Standardschriftgröße im Fußbereich
\newdimen\PTB
@default@t
itle@font
size
% Standardschriftgröße für den Titel
\newdimen\PTB
@default@a
uthor@font
size
% Standardschriftgröße für die Autoren
\newdimen\PTB
@default@f
oot@font
size
% Standardschriftgröße im Fußbereich
\newdimen\PTB
@texthsep
% Abstand Textbereich zum blauen Rahmen
\newdimen\PTB
@textvsep
% Abstand Textbereich zum blauen Rahmen
\newdimen\PTB
@framewidth
% Breite des blauen Rahmens
...
...
@@ -58,7 +58,6 @@
\newcommand*\PTB
@authors@justification
{
\relax
}
\newcommand*\PTB
@title@series
{
\relax
}
\newcommand*\PTB
@font@base@factor
{}
\newcommand*\PTB
@layout
{}
\DeclareOption
{
sanserif
}{
% noch experimentell! Besser: LuaTeX/XeTeX + OTF
...
...
@@ -101,11 +100,11 @@
\PTB
@logo@long@false
}
\DeclareOption
{
layout2018
}{
%
\def\PTB
@font@base@factor
{
0.0130170299199
}
% 11pt bei A4
%
\def\PTB@font@base@factor{0.0130170299199}% 11pt bei A4
\def\PTB
@layout
{
0
}
%
}
\DeclareOption
{
layout2020
}{
%
\def\PTB
@font@base@factor
{
0.0118336635635
}
% 10pt bei A4
%
\def\PTB@font@base@factor{0.0118336635635}% 10pt bei A4
\def\PTB
@layout
{
1
}
%
}
\DeclareOption*
{
\PassOptionsToPackage
{
\CurrentOption
}{
babel
}}
...
...
@@ -142,55 +141,6 @@
\input
{
ptbposter-old-engines.clo
}
\fi
\ifdim\paperheight
>
\paperwidth
\setlength\PTB
@scale@base
{
\paperheight
}
\PTBlandscapefalse
\else
\setlength\PTB
@scale@base
{
\paperwidth
}
\PTBlandscapetrue
\fi
\setlength\PTB
@default@fsize@base
{
\PTB
@font@base@factor
\PTB
@scale@base
}
% 10pt/11pt bei A4
\setlength\PTB
@default@afsize
{
0.0157550946737
\PTB
@scale@base
}
% 53.3pt bei A0
\setlength\PTB
@default@tfsize@base
{
0.0315101893474
\PTB
@scale@base
}
% 106.6pt bei A0
\setlength\PTB
@default@ffsize
{
0.00567538119577
\PTB
@scale@base
}
% 19.2pt bei A0
\newcommand*\scaleFontSizes
[1]
{
%
\global\PTB
@default@fsize=#1
\PTB
@default@fsize@base
}
\@
onlypreamble
\scaleFontSizes
\newcommand*\scaleTitleFontSize
[1]
{
%
\global\PTB
@default@tfsize=#1
\PTB
@default@tfsize@base
}
\@
onlypreamble
\scaleTitleFontSize
\setlength\PTB
@default@tfsize
{
0.0315101893474
\PTB
@scale@base
}
% 106.6pt bei A0
\newcommand*\PTB
@scaleTitleFontSize[1]
{
%
\PTB
@tempdima=
\PTB
@default@tfsize
\PTB
@tempdima=#1
\PTB
@tempdima
\PTB
@tempdimb=1.14
\PTB
@tempdima
\xdef\titleFontSize
{
\noexpand\@
setfontsize
\noexpand\titleFontSize
{
\the\PTB
@tempdima
}{
\the\PTB
@tempdimb
}}
%
}
\scaleFontSizes
{
1
}
% wird ggf. in Präambel noch mal geändert.
\scaleTitleFontSize
{
1
}
% wird ggf. in Präambel noch mal geändert.
\edef\authorFontSize
{
\noexpand\@
setfontsize
\noexpand\authorFontSize
{
%
\the\PTB
@default@afsize
}{
\the\dimexpr
1.2
\PTB
@default@afsize
}}
\edef\footFontSize
{
\noexpand\@
setfontsize
\noexpand\footFontSize
{
%
\the\PTB
@default@ffsize
}{
\the\dimexpr
1.2
\PTB
@default@ffsize
}}
\newcommand*\scaleFont
[1]
{
%
\PTB
@tempdima=
\f
@size pt
\PTB
@tempdima=#1
\PTB
@tempdima
\PTB
@tempdimb=
\f
@baselineskip
\PTB
@tempdimb=#1
\PTB
@tempdimb
\edef\f
@size
{
\strip
@pt
\PTB
@tempdima
}
%
\edef\f
@baselineskip
{
\the\PTB
@tempdimb
}
%
\fontsize
{
\f
@size
}{
\f
@baselineskip
}
%
\selectfont
}
\RequirePackage
[dvipsnames,svgnames,x11names]
{
xcolor
}
\RequirePackage
{
multicol,graphicx
}
...
...
@@ -361,6 +311,47 @@
%\renewcommand*\labelitemii{$\m@th\diamond$}
%\renewcommand*\labelitemii{$\m@th\triangleright$}%
\ifdim\paperheight
>
\paperwidth
\setlength\PTB
@scale@base
{
\paperheight
}
\PTBlandscapefalse
\else
\setlength\PTB
@scale@base
{
\paperwidth
}
\PTBlandscapetrue
\fi
\newcommand*\scaleFontSizes
[1]
{
%
\global\PTB
@default@fsize=#1
\PTB
@default@fontsize@base
}
\@
onlypreamble
\scaleFontSizes
\newcommand*\scaleTitleFontSize
[1]
{
%
\global\PTB
@default@title@fontsize=#1
\PTB
@default@title@fontsize@base
}
\@
onlypreamble
\scaleTitleFontSize
\setlength\PTB
@default@title@fontsize
{
0.0315101893474
\PTB
@scale@base
}
% 106.6pt bei A0
\newcommand*\PTB
@scaleTitleFontSize[1]
{
%
\PTB
@tempdima=
\PTB
@default@title@fontsize
\PTB
@tempdima=#1
\PTB
@tempdima
\PTB
@tempdimb=1.14
\PTB
@tempdima
\xdef\titleFontSize
{
\noexpand\@
setfontsize
\noexpand\titleFontSize
{
\the\PTB
@tempdima
}{
\the\PTB
@tempdimb
}}
%
}
\def\authorFontSize
{
\@
setfontsize
\authorFontSize
{
%
\PTB
@default@author@fontsize
}{
1.2
\PTB
@default@author@fontsize
}}
\def\footFontSize
{
\@
setfontsize
\footFontSize
{
%
\PTB
@default@foot@fontsize
}{
1.2
\PTB
@default@foot@fontsize
}}
\newcommand*\scaleFont
[1]
{
%
\PTB
@tempdima=
\f
@size pt
\PTB
@tempdima=#1
\PTB
@tempdima
\PTB
@tempdimb=
\f
@baselineskip
\PTB
@tempdimb=#1
\PTB
@tempdimb
\edef\f
@size
{
\strip
@pt
\PTB
@tempdima
}
%
\edef\f
@baselineskip
{
\the\PTB
@tempdimb
}
%
\fontsize
{
\f
@size
}{
\f
@baselineskip
}
%
\selectfont
}
\ifcase
\PTB
@layout
% 0
\input
{
ptbposter-2018.clo
}
...
...
@@ -368,6 +359,9 @@
\input
{
ptbposter-2020.clo
}
\fi
\scaleFontSizes
{
1
}
% wird ggf. in Präambel noch mal geändert.
\scaleTitleFontSize
{
1
}
% wird ggf. in Präambel noch mal geändert.
\AtEndPreamble
{
%
% Skalierungen in der Präambel sind passiert.
\changefontsizes
{
\the\PTB
@default@fsize
}
%
...
...
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