X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Utils%2FFormats.tex;h=fde79e53ac36623915a587c0602b200eb3c2e7ea;hp=93e9d67bff859a0376ad0920b2f38cf55f1f8c51;hb=2ff5f767f17203c764a8ec9ef6711b234c1deb6d;hpb=100a8917713c1300a2002299cea94b04ac66848a diff --git a/Utils/Formats.tex b/Utils/Formats.tex index 93e9d67..fde79e5 100644 --- a/Utils/Formats.tex +++ b/Utils/Formats.tex @@ -17,11 +17,13 @@ } % Define a \strikethrough command. For some reason, this does blue -% strikethrough, sometime that still needs fixing. +% strikethrough, sometime that still needs fixing. We add some offset, +% since the strikethrough is just below the middle for some reason. \definetextbackground [strikethrough] [location=text, alternative=4, + voffset=0.5mm, background=, frame=off] @@ -36,4 +38,11 @@ % Put a bit of space betwen paragraphs, to make them easier to distinguish. \setupwhitespace[small] +% Only show three levels in the table of contents. Passing level= to +% setupcombinedlist didn't seem to work, so we'll do it like this. +\definecombinedlist [content][chapter,section,subsection] +% Use the c alternative for the toc, which uses dots between the section +% name and the page number. +\setupcombinedlist [content][alternative=c] + % vim: set sw=2 sts=2 expandtab: