Make \hs print in monospaced.
[matthijs/master-project/report.git] / Utils / Formats.tex
1 %
2 % Defines some useful formatting environments.
3 %
4
5 % A simple description format
6 \definedescription 
7   [desc]
8   [location=hanging,hang=20,width=broad]
9
10 % An (invisible) frame to hold some expression. Used to treat multiple lines
11 % as a single line and put it next to each other.
12 \define[1]\hiddenframe{
13         % The align=right option really does left-alignment, but without it,
14         % all lines will end up on a single line. The strut=no option prevents
15         % a bunch of empty space at the start of the frame.
16         \framed[offset=0mm,location=middle,strut=no,align=right,frame=off]{#1}
17 }
18
19 % Define a \strikethrough command. For some reason, this does blue
20 % strikethrough, sometime that still needs fixing.
21 \definetextbackground
22   [strikethrough]
23   [location=text,
24    alternative=4,
25    background=,
26    frame=off]
27