You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
3.0 KiB
Plaintext
103 lines
3.0 KiB
Plaintext
1 year ago
|
% pandoc suggests to use microtypography
|
||
|
\definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes]
|
||
|
\definefontfeature[default:tnum][default][tnum=yes, pnum=no]
|
||
|
\definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes]
|
||
|
\setupitaliccorrection[global, always]
|
||
|
|
||
|
\setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted
|
||
|
|
||
|
\usetypescriptfile[bitter]
|
||
|
\usetypescriptfile[compagnon]
|
||
|
\setupbodyfont[compagnon,12pt]
|
||
|
|
||
|
\setupwhitespace[medium]
|
||
|
|
||
|
\setupitemize[autointro] % prevent orphan list intro
|
||
|
\setupitemize[indentnext=no]
|
||
|
|
||
|
\defineitemgroup[enumerate]
|
||
|
\setupenumerate[each][fit][itemalign=left,distance=.5em,style={\feature[+][default:tnum]}]
|
||
|
|
||
|
\setuppapersize[A5][A5]
|
||
|
|
||
|
\setuplayout
|
||
|
[topspace=0pt,
|
||
|
width=99mm,
|
||
|
header=0pt,
|
||
|
backspace=30mm,
|
||
|
height=204mm,
|
||
|
leftmargin=7mm,
|
||
|
leftmargindistance=2mm,
|
||
|
footer=0mm,
|
||
|
topspace=10mm,
|
||
|
rightmargin=9mm,
|
||
|
rightmargindistance=2mm,
|
||
|
bottomspace=3mm,
|
||
|
]
|
||
|
|
||
|
\definelayer[uppage]
|
||
|
[x=135mm,y=62mm,width=6mm,height=67mm]
|
||
|
\setlayer[uppage]
|
||
|
{\tfc {\em {\bf PAGENUMBER}}}
|
||
|
|
||
|
\definelayer[midpage]
|
||
|
[x=135mm,y=132mm,width=6mm,height=67mm]
|
||
|
\setlayer[midpage]
|
||
|
{\tfc {\em {\bf PAGENUMBER}}}
|
||
|
|
||
|
|
||
|
\definelayer[downpage]
|
||
|
[x=135mm,y=200mm,width=6mm,height=67mm]
|
||
|
\setlayer[downpage]
|
||
|
{\tfc {\em {\bf PAGENUMBER}}}
|
||
|
|
||
|
\definelayer[feature]
|
||
|
[x=133mm,y=11mm,width=6mm,height=67mm]
|
||
|
\setlayer[feature]
|
||
|
{\rotate[rotation=90,frame=on,framecorner=round]{\framed[frame=on,framecorner=00]{\tfa feature}}}
|
||
|
|
||
|
\definelayer[implications]
|
||
|
[x=133mm,y=81mm,width=6mm,height=67mm]
|
||
|
\setlayer[implications]
|
||
|
{\rotate[rotation=90,frame=on,framecorner=round]{\framed[frame=on,framecorner=00]{\tfa implications}}}
|
||
|
|
||
|
\definelayer[alternatives]
|
||
|
[x=133mm,y=151mm,width=6mm,height=67mm]
|
||
|
\setlayer[alternatives]
|
||
|
{\rotate[rotation=90,frame=on,framecorner=round]{\framed[frame=on,framecorner=00]{\tfa alternatives}}}
|
||
|
|
||
|
|
||
|
\definelayer[title]
|
||
|
[x=21mm,y=10mm,width=6mm,height=67mm]
|
||
|
\setlayer[title]
|
||
|
{\rotate[rotation=90,frame=off=]{\framed[frame=off,framecorner=00]{\tfa TITLE}}}
|
||
|
|
||
|
\definelayer[head]
|
||
|
[x=30mm,y=10mm,width=99mm,height=60mm]
|
||
|
\setlayer[head]
|
||
|
{\switchtobodyfont[bitter,9pt] \framed[width=99mm,height=60mm,frame=off,align={tolerant,width,hz,hanging}]{\kerncharacters[0.03125]{
|
||
|
FEATURECOPY
|
||
|
}}}
|
||
|
|
||
|
\definelayer[torso]
|
||
|
[x=30mm,y=80mm,width=99mm,height=60mm]
|
||
|
\setlayer[torso]
|
||
|
{\switchtobodyfont[bitter,9pt] \framed[width=99mm,height=60mm,frame=off,align={tolerant,width,hz,hanging}]{\kerncharacters[0.03125]{
|
||
|
IMPLICATIONSCOPY
|
||
|
}}}
|
||
|
|
||
|
\definelayer[legs]
|
||
|
[x=30mm,y=150mm,width=99mm,height=60mm]
|
||
|
\setlayer[legs]
|
||
|
{\switchtobodyfont[bitter,9pt] \framed[width=99mm,height=60mm,frame=off,align={tolerant,width,hz,hanging}]{\kerncharacters[0.03125]{
|
||
|
ALTERNATIVESCOPY
|
||
|
}}}
|
||
|
|
||
|
\setupbackgrounds[page][background={feature,implications,alternatives,title,uppage,midpage,downpage,head,torso,legs}]
|
||
|
|
||
|
\starttext
|
||
|
|
||
|
\framed[frame=off]{}
|
||
|
|
||
|
\stoptext
|