Skip to content

Commit be57871

Browse files
committed
deploy: 1d4cfd5
0 parents  commit be57871

File tree

136 files changed

+16612
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+16612
-0
lines changed

.nojekyll

Whitespace-only changes.

404.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<!doctype html>
2+
<title>404 Not Found</title>
3+
<h1>404 Not Found</h1>

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
polytype.dev

atom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
3+
<title>Polytype</title>
4+
<subtitle>a Rosetta stone for typesetting engines</subtitle>
5+
<link rel="self" type="application/atom+xml" href="/atom.xml"/>
6+
<link rel="alternate" type="text/html" href="/"/>
7+
<generator uri="https://www.getzola.org/">Zola</generator>
8+
9+
<id>/atom.xml</id>
10+
</feed>

dropcaps-groff.avif

48.1 KB
Binary file not shown.

dropcaps-groff.mom

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.PRINTSTYLE TYPESET
2+
.PAGEWIDTH 297.675p
3+
.PAGELENGTH 419.58p
4+
.L_MARGIN 40p
5+
.R_MARGIN 40p
6+
.T_MARGIN 40p
7+
.DROPCAP T 2
8+
his paragraph has a pretty plain initial or drop cap.
9+
It uses the default document font.
10+
You didn't really expect more detail with such a generic font choice, right?
11+
This may be exactly what you want, especially with modern typesetting styles which tend towards the minimalist.
12+
13+
.DROPCAP \*[FWD -.58m]``N 2
14+
.SMALLCAPS
15+
ever say never\c
16+
.SMALLCAPS OFF
17+
,'' the saying goes.
18+
Someday your dropcap may include leading punctuation
19+
.FT I
20+
and
21+
.FT R
22+
a hanging indent.
23+
No worries.
24+
All you have to do is guess and fudge.
25+
26+
.DROPCAP_GUTTER 1m
27+
.DROPCAP A 3
28+
\*[FWD -1m]nother paragraph shows off a different line count.
29+
Also it uses a stand-off effect in lines following the opening.
30+
This helps highlight the fact that the initial letter belongs to the first word.
31+
The first line of text will be flush against the drop cap.
32+
Each additional line spanned with be indented with an extra space.

dropcaps-groff.pdf

12.4 KB
Binary file not shown.

dropcaps-sile.avif

36.9 KB
Binary file not shown.

dropcaps-sile.pdf

10.7 KB
Binary file not shown.

dropcaps-sile.sil

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
\begin[papersize=a6]{document}
2+
\nofolios
3+
\use[module=packages.dropcaps]
4+
\set[parameter=document.parskip,value=2bs]
5+
\set[parameter=document.lskip,value=5en]
6+
\set[parameter=document.rskip,value=5en]
7+
8+
\dropcap[lines=2]{T}his paragraph has a pretty plain initial or drop cap.
9+
It uses the default document font.
10+
You didn’t really expect more detail with such a generic font choice, right?
11+
This may be exactly what you want, especially with modern typesetting styles which tend towards the minimalist.
12+
13+
\dropcap[lines=2,join=true]{\kern[width=-0.9en]“N}\font[features=+smcp]{ever say never,}” the saying goes.
14+
Someday your dropcap may include leading punctuation \em{and} a hanging indent.
15+
No worries.
16+
All you have to do is guess and fudge.
17+
18+
\dropcap[lines=3,join=true,standoff=1em]{A}nother paragraph shows off a different line count.
19+
Also it uses a stand-off effect in lines following the opening.
20+
This helps highlight the fact that the initial letter belongs to the first word.
21+
The first line of text will be flush against the drop cap.
22+
Each additional line spanned with be indented with an extra space.
23+
24+
\end{document}

0 commit comments

Comments
 (0)