diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-04-14 23:03:29 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-04-14 23:03:29 +0100 |
commit | 3d6c27a18bdcf77edfd746982229f609d5448432 (patch) | |
tree | f65bdbc7f790eb34328b0bd63efc427d2d30c176 /lsr_env.tex | |
parent | a8acc96b8cd934148d41000b963db3114ec27478 (diff) | |
download | lsr22_fvhls-3d6c27a18bdcf77edfd746982229f609d5448432.tar.gz lsr22_fvhls-3d6c27a18bdcf77edfd746982229f609d5448432.zip |
Change the style
Diffstat (limited to 'lsr_env.tex')
-rw-r--r-- | lsr_env.tex | 98 |
1 files changed, 76 insertions, 22 deletions
diff --git a/lsr_env.tex b/lsr_env.tex index 3c12d97..e27681a 100644 --- a/lsr_env.tex +++ b/lsr_env.tex @@ -1,6 +1,9 @@ %% macros=mkvi \startenvironment lsr_env +% where \product and \component look for TeX input files +\usepath[{chapters}] + % ========================================================================== % PDF % ========================================================================== @@ -23,28 +26,39 @@ % Layout % ========================================================================== \setuppapersize[A4][A4] -\setupbodyfont[ebgaramondlato,12pt] +\setupbodyfont[ebgaramondlato,11pt] %\setupalign[hz,hanging,nothyphenated] \setupalign[hz,hanging] \setuptolerance[stretch,tolerant] \setuplayout[ - backspace=3cm, - margin=2cm, - topspace=1.25cm, - header=1.25cm, - footer=1.25cm, - height=middle, - width=middle, + edgedistance=1cm, + backspace=2cm, + rightmargin=5cm, + leftmargin=0cm, + topspace=0cm, + header=2cm, + headerdistance=0.5cm, + width=fit, + height=fit, ] -% @see http://wiki.contextgarden.net/Command/setuppagenumbering -\setuppagenumbering[location={footer,middle}] -\definestructureconversionset [frontpart:pagenumber] [] [romannumerals] +%\setuplayout[ +% backspace=3cm, +% margin=2cm, +% topspace=1.25cm, +% header=1.25cm, +% footer=1.25cm, +% height=middle, +% width=middle, +%] -\startsectionblockenvironment [bodypart] - \setcounter[userpage][1] +\startsectionblockenvironment [frontpart] +\setuppagenumbering[location={footer,middle}] \stopsectionblockenvironment +% @see http://wiki.contextgarden.net/Command/setuppagenumbering +\definestructureconversionset [frontpart:pagenumber] [] [romannumerals] + % ========================================================================== % Headers % ========================================================================== @@ -53,20 +67,35 @@ header=empty, ] +\define[1]\marginhead{\margintitle[location=right]{\switchtobodyfont[36pt] #1}} + \setuphead[section][style={\bfc}] \setuphead[subsection][style={\bfb}] \setuphead[subsubsection][style={\bfa},after={\blank[0.2cm]}] \startsectionblockenvironment [bodypart] -\setuplabeltext[chapter=Chapter~] -\setuphead[chapter][ - style={\bfd}, - header=empty, - align=flushright, - commandbefore={\hrule}, - after={\blank[4*line]}, - before={\blank[4*big,force]}, -] + \setuppagenumbering[location=] + \setuplabeltext[chapter=] + \setupheadertexts[{\someheadnumber[section][current] \getmarking[section]}][pagenumber] + \setupheader[text][style=smallcaps,after=\hrule] + \setuphead[chapter][ + style={\bfd}, + header=empty, + align=flushright, + numbercommand=\marginhead, + after={\blank[4*line]}, + before={\blank[2*line,force]}, + ] +%\setuplabeltext[chapter=Chapter~] +%\setuphead[chapter][ +% style={\bfd}, +% header=empty, +% align=flushright, +% commandbefore={\hrule}, +% after={\blank[4*line]}, +% before={\blank[4*big,force]}, +%] +\setcounter[userpage][1] \stopsectionblockenvironment \def\paragraph#1{% @@ -223,4 +252,29 @@ \setupexternalfigures[location=default] +\hyphenation{Comp-Cert} +\hyphenation{Veri-cert} +\hyphenation{Poly-Bench} +\hyphenation{Leg-Up} +\hyphenation{straight-for-ward} +\hyphenation{cor-re-la-tion} +\hyphenation{gram-schmi-dt} +\hyphenation{de-riche} + +\definedescription[desc][ + headstyle=bold, style=normal, align=flushleft, alternative=hanging, + width=broad, margin=1cm] + +\definesynonyms[abbreviation][abbreviations][\infull] + +\abbreviation{SSA}{single static assignment} +\abbreviation{GSA}{gated-SSA} +\abbreviation{HLS}{high-level synthesis} +\abbreviation{FPGA}{field-programmable gate array} +\abbreviation{DFG}{data-flow graph} +\abbreviation{CFG}{control-flow graph} +\abbreviation{CDFG}{control- and data-flow graph} + +\usemodule[gantt-s-tikz] + \stopenvironment |