Refactoring code style
This commit is contained in:
parent
939e3e151b
commit
3a42958935
1 changed files with 28 additions and 22 deletions
|
@ -1,22 +1,28 @@
|
||||||
\enableregime[utf] % use UTF-8
|
\startmode[*mkii]
|
||||||
|
\enableregime[utf-8]
|
||||||
|
\setupcolors[state=start]
|
||||||
|
\stopmode
|
||||||
|
|
||||||
\setupcolors[state=start]
|
% Enable hyperlinks
|
||||||
\setupinteraction[state=start, color=middleblue] % needed for hyperlinks
|
\setupinteraction[state=start, color=middleblue]
|
||||||
|
|
||||||
\setuppapersize[letter][letter] % use letter paper
|
\setuppapersize [letter][letter]
|
||||||
\setuplayout[width=middle, backspace=1.5in, cutspace=1.5in,
|
\setuplayout [width=middle, backspace=1.5in, cutspace=1.5in,
|
||||||
height=middle, header=0.75in, footer=0.75in] % page layout
|
height=middle, header=0.75in, footer=0.75in]
|
||||||
\setuppagenumbering[location={footer,center}] % number pages
|
|
||||||
\setupbodyfont[11pt] % 11pt font
|
|
||||||
\setupwhitespace[medium] % inter-paragraph spacing
|
|
||||||
|
|
||||||
\setuphead[section][style=\tfc]
|
\setuppagenumbering[location={footer,center}]
|
||||||
\setuphead[subsection][style=\tfb]
|
|
||||||
|
\setupbodyfont[11pt]
|
||||||
|
|
||||||
|
\setupwhitespace[medium]
|
||||||
|
|
||||||
|
\setuphead[section] [style=\tfc]
|
||||||
|
\setuphead[subsection] [style=\tfb]
|
||||||
\setuphead[subsubsection][style=\bf]
|
\setuphead[subsubsection][style=\bf]
|
||||||
|
|
||||||
% define description (for definition lists)
|
\definedescription
|
||||||
\definedescription[description][
|
[description]
|
||||||
headstyle=bold,style=normal,location=hanging,width=broad,margin=1cm]
|
[headstyle=bold,style=normal,location=hanging,width=broad,margin=1cm]
|
||||||
|
|
||||||
% prevent orphaned list intros
|
% prevent orphaned list intros
|
||||||
\setupitemize[autointro]
|
\setupitemize[autointro]
|
||||||
|
@ -37,15 +43,15 @@ blockquote: blockquote
|
||||||
\stopvariables
|
\stopvariables
|
||||||
|
|
||||||
\definedelimitedtext
|
\definedelimitedtext
|
||||||
[\v!blockquote][\v!quotation]
|
[\v!blockquote][\v!quotation]
|
||||||
|
|
||||||
\setupdelimitedtext
|
\setupdelimitedtext
|
||||||
[\v!blockquote]
|
[\v!blockquote]
|
||||||
[\c!left=,
|
[\c!left=,
|
||||||
\c!right=,
|
\c!right=,
|
||||||
before={\blank[medium]},
|
\c!before={\blank[medium]},
|
||||||
after={\blank[medium]},
|
\c!after={\blank[medium]},
|
||||||
]
|
]
|
||||||
|
|
||||||
\protect
|
\protect
|
||||||
$for(header-includes)$
|
$for(header-includes)$
|
||||||
|
|
Loading…
Add table
Reference in a new issue