summaryrefslogtreecommitdiffstats
path: root/lsr_env.tex
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-05-04 20:25:25 +0100
committerYann Herklotz <git@yannherklotz.com>2022-05-04 20:25:25 +0100
commitb90e207d5a9d1871d5ecde168d39ce91c7691fe1 (patch)
tree5ee4b9fc86ac03edc9220c3cebbc316b4f37d830 /lsr_env.tex
parent428e424b75999eda16f5c5ccb4ee48763d99c9d1 (diff)
downloadlsr22_fvhls-b90e207d5a9d1871d5ecde168d39ce91c7691fe1.tar.gz
lsr22_fvhls-b90e207d5a9d1871d5ecde168d39ce91c7691fe1.zip
Finish the pipelining chapter
Diffstat (limited to 'lsr_env.tex')
-rw-r--r--lsr_env.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/lsr_env.tex b/lsr_env.tex
index 53362e5..8438c18 100644
--- a/lsr_env.tex
+++ b/lsr_env.tex
@@ -224,16 +224,18 @@
]
\setuplabeltext[subfigure=]
+% https://www.mail-archive.com/ntg-context@ntg.nl/msg75292.html
+
\newdimen\LeftMarginSize
\LeftMarginSize=\dimexpr \backspace + \rightmarginwidth + \rightmargindistance \relax
\newdimen\TextAreaSize
\TextAreaSize=\dimexpr \textwidth + \rightmarginwidth + \rightmargindistance \relax
\definefloat[marginfigure][marginfigures][figure]
-\setupfloat[marginfigure][location=inner,default=top,width=\TextAreaSize]
+\setupfloat[marginfigure][location={inner},default=top]
\setupcaptions[marginfigure][
- leftmargin=\dimexpr \LeftMarginSize / 2 \relax,
+ leftmargin=1cm,
location=bottom,
- width=\textwidth,
+ width=\dimexpr \textwidth - 2cm \relax,
]
\setuplabeltext[marginfigure=Figure~]
@@ -337,7 +339,7 @@
\definevimtyping [hlcoq] [syntax=coq]
\definevimtyping [hlocaml] [syntax=ocaml]
\definevimtyping [hlverilog] [syntax=verilog]
-\definevimtyping [hlC] [syntax=C]
+\definevimtyping [hlC] [syntax=c]
% ==========================================================================
% Tikz