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
25f4c540
Commit
25f4c540
authored
9 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
...
parent
154b211a
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-test-hoch.pdf
+0
-0
0 additions, 0 deletions
ptbposter/ptbposter-test-hoch.pdf
ptbposter/ptbposter-test-quer.pdf
+0
-0
0 additions, 0 deletions
ptbposter/ptbposter-test-quer.pdf
ptbposter/ptbposter.cls
+17
-25
17 additions, 25 deletions
ptbposter/ptbposter.cls
with
17 additions
and
25 deletions
ptbposter/ptbposter-test-hoch.pdf
+
0
−
0
View file @
25f4c540
No preview for this file type
This diff is collapsed.
Click to expand it.
ptbposter/ptbposter-test-quer.pdf
+
0
−
0
View file @
25f4c540
No preview for this file type
This diff is collapsed.
Click to expand it.
ptbposter/ptbposter.cls
+
17
−
25
View file @
25f4c540
...
...
@@ -6,17 +6,19 @@
\ProvidesClass
{
ptbposter
}
[2015/03/20 v0.2f PTB-Poster-Klasse (RN)]
\newdimen\PTB
@topmargin
% Abstand zum Rahmen
\newdimen\PTB
@leftmargin
% Abstand zum Rahmen
\newdimen\PTB
@default@fsize
\newdimen\PTB
@texthsep
% Abstand Textbereich zum Rand
\newdimen\PTB
@textvsep
% Abstand Textbereich zum Rand
\newdimen\PTB
@topmargin
% Abstand zum Rahmen
\newdimen\PTB
@leftmargin
% Abstand zum Rahmen
\newdimen\PTB
@default@fsize
% Standardschriftgröße im Textbereich (\normalsize)
\newdimen\PTB
@default@tfsize
% Standardschriftgröße für den Titel
\newdimen\PTB
@default@afsize
% Standardschriftgröße für die Autoren
\newdimen\PTB
@texthsep
% Abstand Textbereich zum Rand
\newdimen\PTB
@textvsep
% Abstand Textbereich zum Rand
\setlength\PTB
@default@fsize
{
41pt
}
\setlength\PTB
@default@afsize
{
106.6pt
}
\setlength\PTB
@default@tfsize
{
106.6pt
}
\setlength\PTB
@topmargin
{
215mm
}
\newif\ifPTB
@is@landscape
\PTB
@is@landscapefalse
\newcommand\PTB
@tempa
{}
\newcommand\PTB
@tempb
{}
\newcommand\PTB
@tempc
{}
...
...
@@ -24,7 +26,9 @@
\newcommand\PTB
@tempe
{}
\let\PTB
@tempdima=
\@
ovxx
\let\PTB
@tempdimb=
\@
ovyy
\let\PTB
@tempdimb=
\@
ovyy
{}
\newif\ifPTB
@is@landscape
\PTB
@is@landscapefalse
\DeclareOption
{
portrait
}{
\PTB
@is@landscapefalse
}
\DeclareOption
{
landscape
}{
\PTB
@is@landscapetrue
}
...
...
@@ -273,18 +277,6 @@
\endgroup
}
%
\iffalse
\edef\large
{
\noexpand\@
setfontsize
\noexpand\large
{
\the\dimexpr
1.3
\PTB
@default@fsize
}{
\the\dimexpr
1.56
\PTB
@default@fsize
}}
%% vorher: 1.2 * \PTB@default@fsize / 1.2 * 1.2 * \PTB@default@fsize
\edef\Huge
{
\noexpand\@
setfontsize
\noexpand\Huge
{
\the\dimexpr
2.6
\PTB
@default@fsize
}{
\the\dimexpr
3.12
\PTB
@default@fsize
}}
%% vorher: 2.49 * \PTB@default@fsize / 2.49 * 1.2 * \PTB@default@fsize
\edef\tiny
{
\noexpand\@
setfontsize
\noexpand\tiny
{
\the\dimexpr
0.47
\PTB
@default@fsize
}{
\the\dimexpr
0.564
\PTB
@default@fsize
}}
%% vorher: 0.5 * \PTB@default@fsize / 0.5 * 1.2 * \PTB@default@fsize
\fi
\newcommand*\authorFontSize
{}
\newcommand*\footFontSize
{}
\newcommand*\titleFontSize
{}
...
...
@@ -292,11 +284,11 @@
\def\footFontSize
{
\@
setfontsize
\footFontSize
{
19.2
}{
23.04
}}
\newcommand*\scaleTitleFontSize
[1]
{
%
\PTB
@tempdima=
106.6pt
%
\PTB
@tempdima=
\PTB
@default@tfsize
\PTB
@tempdima=#1
\PTB
@tempdima
\PTB
@tempdimb=1.2
\PTB
@tempdima
\xdef\titleFontSize
{
\noexpand\@
setfontsize
\noexpand
\titleFontSize
{
\the\PTB
@tempdima
}{
\the\PTB
@tempdimb
}}
%
\xdef\titleFontSize
{
\noexpand\@
setfontsize
\noexpand
\titleFontSize
{
\the\PTB
@tempdima
}{
\the\PTB
@tempdimb
}}
%
}
\scaleTitleFontSize
{
1
}
...
...
@@ -323,9 +315,9 @@
\setlength\PTB
@texthsep
{
.5em
}
%
\setlength\PTB
@textvsep
{
.75em
}
%
\ifPTB
@is@landscape
\setlength\PTB
@leftmargin
{
0.5
\dimexpr
1189mm
-1130mm
}
%
\setlength\PTB
@leftmargin
{
0.5
\dimexpr
\paperwidth
-1130mm
}
%
\else
\setlength\PTB
@leftmargin
{
0.5
\dimexpr
841mm
-780mm
}
%
\setlength\PTB
@leftmargin
{
0.5
\dimexpr
\paperwidth
-780mm
}
%
\fi
\edef\PTB
@tempa
{
\noexpand\newgeometry
{
%
top=
\the\dimexpr\PTB
@topmargin+
\PTB
@textvsep,
%
...
...
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