89 lines
1.7 KiB
Text
89 lines
1.7 KiB
Text
\startmode[*mkii]
|
|
\enableregime[utf-8]
|
|
\setupcolors[state=start]
|
|
\stopmode
|
|
|
|
% Enable hyperlinks
|
|
\setupinteraction[state=start, color=middleblue]
|
|
|
|
\setuppapersize [letter][letter]
|
|
\setuplayout [width=middle, backspace=1.5in, cutspace=1.5in,
|
|
height=middle, header=0.75in, footer=0.75in]
|
|
|
|
\setuppagenumbering[location={footer,center}]
|
|
|
|
\setupbodyfont[11pt]
|
|
|
|
\setupwhitespace[medium]
|
|
|
|
\setuphead[section] [style=\tfc]
|
|
\setuphead[subsection] [style=\tfb]
|
|
\setuphead[subsubsection][style=\bf]
|
|
|
|
\definedescription
|
|
[description]
|
|
[headstyle=bold,style=normal,location=hanging,width=broad,margin=1cm]
|
|
|
|
% prevent orphaned list intros
|
|
\setupitemize[autointro]
|
|
|
|
% define defaults for bulleted lists
|
|
\setupitemize[1][symbol=1][indentnext=no]
|
|
\setupitemize[2][symbol=2][indentnext=no]
|
|
\setupitemize[3][symbol=3][indentnext=no]
|
|
\setupitemize[4][symbol=4][indentnext=no]
|
|
|
|
\setupthinrules[width=15em] % width of horizontal rules
|
|
|
|
% for block quotations
|
|
\unprotect
|
|
|
|
\startvariables all
|
|
blockquote: blockquote
|
|
\stopvariables
|
|
|
|
\definedelimitedtext
|
|
[\v!blockquote][\v!quotation]
|
|
|
|
\setupdelimitedtext
|
|
[\v!blockquote]
|
|
[\c!left=,
|
|
\c!right=,
|
|
\c!before={\blank[medium]},
|
|
\c!after={\blank[medium]},
|
|
]
|
|
|
|
\protect
|
|
$for(header-includes)$
|
|
$header-includes$
|
|
$endfor$
|
|
|
|
\starttext
|
|
$if(title)$
|
|
\startalignment[center]
|
|
\blank[2*big]
|
|
{\tfd $title$}
|
|
$if(author)$
|
|
\blank[3*medium]
|
|
{\tfa $for(author)$$author$$sep$\crlf $endfor$}
|
|
$endif$
|
|
$if(date)$
|
|
\blank[2*medium]
|
|
{\tfa $date$}
|
|
$endif$
|
|
\blank[3*medium]
|
|
\stopalignment
|
|
$endif$
|
|
$for(include-before)$
|
|
$include-before$
|
|
$endfor$
|
|
$if(toc)$
|
|
\placecontent
|
|
$endif$
|
|
|
|
$body$
|
|
|
|
$for(include-after)$
|
|
$include-after$
|
|
$endfor$
|
|
\stoptext
|