diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-04-08 23:13:21 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-04-08 23:13:21 +0100 |
commit | 0b1b8d4c2dd76168b4a67208b0ed75e218510bd9 (patch) | |
tree | 6dcd5d8b4be51562512bee2a2ef6ed7989690a92 /lsr_env.tex | |
parent | 1c33b587665dd00725e5c801968507e7a7c09159 (diff) | |
download | lsr22_fvhls-0b1b8d4c2dd76168b4a67208b0ed75e218510bd9.tar.gz lsr22_fvhls-0b1b8d4c2dd76168b4a67208b0ed75e218510bd9.zip |
Add new files
Diffstat (limited to 'lsr_env.tex')
-rw-r--r-- | lsr_env.tex | 59 |
1 files changed, 46 insertions, 13 deletions
diff --git a/lsr_env.tex b/lsr_env.tex index 771af80..b383e49 100644 --- a/lsr_env.tex +++ b/lsr_env.tex @@ -1,8 +1,6 @@ %% macros=mkvi \startenvironment lsr_env -\setupcolors[state=start] - % ========================================================================== % PDF % ========================================================================== @@ -12,8 +10,8 @@ state=start, title={Formal Verification of High-Level Synthesis}, author={Yann Herklotz}, - color=darkgreen, - contrastcolor=darkgreen, + color=darkcyan, + contrastcolor=darkcyan, openaction=ToggleViewer, focus=width, click=yes, @@ -25,7 +23,7 @@ % Layout % ========================================================================== \setuppapersize[A4][A4] -\setupbodyfont[ebgaramondlato,11pt] +\setupbodyfont[ebgaramondlato,12pt] %\setupalign[hz,hanging,nothyphenated] \setupalign[hz,hanging] \setuptolerance[stretch,tolerant] @@ -55,18 +53,26 @@ header=empty, ] +\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={\blank[-0.3cm]}, + commandbefore={\hrule}, after={\blank[4*line]}, before={\blank[4*big,force]}, ] \stopsectionblockenvironment +\def\paragraph#1{% + \bold{#1}% +} + % @see http://wiki.contextgarden.net/Command/setupindenting % @see http://wiki.contextgarden.net/Indentation % Indent all paragraph after all section headers. @@ -98,10 +104,7 @@ % %\setupheadtext[content=Table of Contents] %\setuphead[title][incrementnumber=list] -%\setupcombinedlist[content][ -% list={headers,title,chapter,section,subsection, subsubsection}, -% alternative=b, -%] +\setupcombinedlist[content][list={chapter,section,subsection}] % %\setuplist[headers][margin=0mm, style={\bf}, pagenumber=no, after={\blank[1*line]}] %\setuplist[title][margin=30mm, style={\bf}] @@ -188,8 +191,38 @@ } \stoptexdefinition -\def\paragraph#1{% - \bold{#1}% -} +% ========================================================================== +% Syntax Highlighting +% ========================================================================== + +\usemodule[vim] +\definevimtyping [hlcoq] [syntax=coq] +\definevimtyping [hlocaml] [syntax=ocaml] +\definevimtyping [hlverilog] [syntax=verilog] + +% ========================================================================== +% Tikz +% ========================================================================== + +\usemodule[tikz] +\usetikzlibrary{shapes,calc,arrows.meta} + +\definecolor[compcert][x=BEBADA] +\definecolor[formalhls][x=8DD3C7] +\definecolor[keywordcolour][x=8F0075] +\definecolor[functioncolour][x=721045] +\definecolor[constantcolour][x=0000BB] + +\defineparagraphs + [DualFigure] + [n=3,distance=2em] + +\setupparagraphs + [DualFigure] [1] + [width=.4\textwidth] + +\setupparagraphs + [DualFigure] [2] + [width=.6\textwidth] \stopenvironment |