X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Freport.git;a=blobdiff_plain;f=Utils%2FFormats.tex;h=8836a9628327d9c53bdad5d30f44c5e16ad91184;hp=aae99ed81a528fa3a3a335da9148c168d2a860aa;hb=75d1001c7a7809c80bc4113477ad90b12f23b80f;hpb=41753b358251eb737709bbc4172cb551ef41ef87 diff --git a/Utils/Formats.tex b/Utils/Formats.tex index aae99ed..8836a96 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] @@ -29,3 +31,15 @@ {\bgroup \setbox\scratchbox\hbox{#1}% \expanded{\egroup\def\noexpand#2{\the\wd\scratchbox}}} + +% Allow \emph{foo} (and {\emph foo}, but that's not really needed). +\definealternativestyle[emph][\em][] + +% Put a bit of space betwen paragraphs, to make them easier to distinguish. +\setupwhitespace[small] + +% 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: