Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
stratum0-latex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rohieb
stratum0-latex
Commits
b5f1303a
Commit
b5f1303a
authored
8 years ago
by
rohieb
Browse files
Options
Downloads
Patches
Plain Diff
s0artcl: adjust sizes according to specimen
See
https://stratum0.org/wiki/File:CI-fonts-specimen.pdf
parent
6d0d1b68
Branches
Branches containing commit
Tags
v1.0
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
s0artcl.cls
+18
-8
18 additions, 8 deletions
s0artcl.cls
test.tex
+193
-1
193 additions, 1 deletion
test.tex
with
211 additions
and
9 deletions
s0artcl.cls
+
18
−
8
View file @
b5f1303a
...
...
@@ -26,25 +26,35 @@
% ---
\LoadClass
{
scrartcl
}
% --- Helper packages
% ---
\RequirePackage
{
etoolbox
}
% --- Page Layout
% ---
\RequirePackage
[left=2.5cm,right=2.5cm,top=2cm,bottom=2.5cm]
{
geometry
}
% --- Default Fonts
% ---
\RequirePackage
{
yanonekaffeesatzzerohack
}
% Yanone Kaffeesatz ZeroHack for titles etc.
% TODO: adjust sizes
\setkomafont
{
title
}{
\usefont
{
LY1
}{
YanoneKaffeesatzZeroHack
}{
b
}{
n
}
\Huge
}
\setkomafont
{
section
}{
\usefont
{
LY1
}{
YanoneKaffeesatzZeroHack
}{
b
}{
n
}
\LARGE
}
\setkomafont
{
subsection
}{
\usefont
{
LY1
}{
YanoneKaffeesatzZeroHack
}{
m
}{
n
}
\Large
}
\RequirePackage
{
yanonekaffeesatzzerohack
}
\setkomafont
{
title
}{
\usefont
{
LY1
}{
YanoneKaffeesatzZeroHack
}{
b
}{
n
}}
% koma-script has an explicit \huge directly in \maketitle...
\makeatletter
\patchcmd
{
\@
maketitle
}{
\huge
}{
\fontsize
{
24pt
}{
32pt
}
\selectfont
}{}{}
\makeatother
\setkomafont
{
section
}{
%
\fontsize
{
16pt
}{
24pt
}
\selectfont
%
\usefont
{
LY1
}{
YanoneKaffeesatzZeroHack
}{
b
}{
n
}
%
}
\setkomafont
{
subsection
}{
%
\fontsize
{
13pt
}{
16pt
}
\selectfont
%
\usefont
{
LY1
}{
YanoneKaffeesatzZeroHack
}{
m
}{
n
}
% FIXME: use thin weight
}
% yanonekaffeesatzzerohack really needs a [nodefault] option...
\renewcommand*
{
\encodingdefault
}{
OT1
}
% Droid for all the rest
\RequirePackage
[default]
{
droidsans
}
\RequirePackage
[defaultmono]
{
droidmono
}
\makeatletter
\makeatother
This diff is collapsed.
Click to expand it.
test.tex
+
193
−
1
View file @
b5f1303a
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