-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9659ed5
Showing
81 changed files
with
13,176 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,3 @@ | ||
<!doctype html> | ||
<title>404 Not Found</title> | ||
<h1>404 Not Found</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1 @@ | ||
polytype.dev |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,32 @@ | ||
.PRINTSTYLE TYPESET | ||
.PAGEWIDTH 297.675p | ||
.PAGELENGTH 419.58p | ||
.L_MARGIN 40p | ||
.R_MARGIN 40p | ||
.T_MARGIN 40p | ||
.DROPCAP T 2 | ||
his paragraph has a pretty plain initial or drop cap. | ||
It uses the default document font. | ||
You didn't really expect more detail with such a generic font choice, right? | ||
This may be exactly what you want, especially with modern typesetting styles which tend towards the minimalist. | ||
|
||
.DROPCAP \*[FWD -.58m]``N 2 | ||
.SMALLCAPS | ||
ever say never\c | ||
.SMALLCAPS OFF | ||
,'' the saying goes. | ||
Someday your dropcap may include leading punctuation | ||
.FT I | ||
and | ||
.FT R | ||
a hanging indent. | ||
No worries. | ||
All you have to do is guess and fudge. | ||
|
||
.DROPCAP_GUTTER 1m | ||
.DROPCAP A 3 | ||
\*[FWD -1m]nother paragraph shows off a different line count. | ||
Also it uses a stand-off effect in lines following the opening. | ||
This helps highlight the fact that the initial letter belongs to the first word. | ||
The first line of text will be flush against the drop cap. | ||
Each additional line spanned with be indented with an extra space. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,24 @@ | ||
\begin[papersize=a6]{document} | ||
\nofolios | ||
\use[module=packages.dropcaps] | ||
\set[parameter=document.parskip,value=2bs] | ||
\set[parameter=document.lskip,value=5en] | ||
\set[parameter=document.rskip,value=5en] | ||
|
||
\dropcap[lines=2]{T}his paragraph has a pretty plain initial or drop cap. | ||
It uses the default document font. | ||
You didn’t really expect more detail with such a generic font choice, right? | ||
This may be exactly what you want, especially with modern typesetting styles which tend towards the minimalist. | ||
|
||
\dropcap[lines=2,join=true]{\kern[width=-0.9en]“N}\font[features= smcp]{ever say never,}” the saying goes. | ||
Someday your dropcap may include leading punctuation \em{and} a hanging indent. | ||
No worries. | ||
All you have to do is guess and fudge. | ||
|
||
\dropcap[lines=3,join=true,standoff=1em]{A}nother paragraph shows off a different line count. | ||
Also it uses a stand-off effect in lines following the opening. | ||
This helps highlight the fact that the initial letter belongs to the first word. | ||
The first line of text will be flush against the drop cap. | ||
Each additional line spanned with be indented with an extra space. | ||
|
||
\end{document} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,42 @@ | ||
#set page( | ||
paper: "a6", | ||
) | ||
#set par( | ||
justify: true, | ||
) | ||
|
||
#import "@preview/droplet:0.1.0": dropcap | ||
|
||
#dropcap( | ||
justify: true, | ||
hanging-indent: 0pt, | ||
)[ | ||
This paragraph has a pretty plain initial or drop cap. | ||
It uses the default document font. | ||
You didn't really expect more detail with such a generic font choice, right? | ||
This may be exactly what you want, especially with modern typesetting styles which tend towards the minimalist. | ||
] | ||
|
||
// Letter workaround per https://github.com/EpicEricEE/typst-plugins/issues/2 | ||
#dropcap( | ||
justify: true, | ||
hanging-indent: 0pt, | ||
transform: letter => [#place(dx: -0.4em, sym.quote.l)#letter] | ||
)[ | ||
N#smallcaps[ever say never]," the saying goes. | ||
Someday your dropcap may include leading punctuation _and_ a hanging indent. | ||
No worries. | ||
All you have to do is guess and fudge. | ||
] | ||
|
||
#dropcap( | ||
height: 3, | ||
justify: true, | ||
hanging-indent: 1em, | ||
)[ | ||
Another paragraph shows off a different line count. | ||
Also it uses a stand-off effect in lines following the opening. | ||
This helps highlight the fact that the initial letter belongs to the first word. | ||
The first line of text will be flush against the drop cap. | ||
Each additional line spanned with be indented with an extra space. | ||
] |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,25 @@ | ||
\documentclass{article} | ||
\usepackage[paperheight=148.5mm,paperwidth=105mm]{geometry} | ||
\setlength{\parskip}{2\baselineskip} | ||
\pagenumbering{gobble} | ||
\usepackage{type1cm} | ||
\usepackage{lettrine} | ||
\begin{document} | ||
|
||
\lettrine[nindent=0sp]{T}{}his paragraph has a pretty plain initial or drop cap. | ||
It uses the default document font. | ||
You didn't really expect more detail with such a generic font choice, right? | ||
This may be exactly what you want, especially with modern typesetting styles which tend towards the minimalist. | ||
|
||
\lettrine[lhang=.4,nindent=0sp]{``N}{ever say never,}'' the saying goes. | ||
Someday your dropcap may include leading punctuation {and} a hanging indent. | ||
No worries. | ||
All you have to do is guess and fudge. | ||
|
||
\lettrine[lines=3,nindent=1em]{A}{}nother paragraph shows off a different line count. | ||
Also it uses a stand-off effect in lines following the opening. | ||
This helps highlight the fact that the initial letter belongs to the first word. | ||
The first line of text will be flush against the drop cap. | ||
Each additional line spanned with be indented with an extra space. | ||
|
||
\end{document} |
Oops, something went wrong.