Prettyprint comments in italic.
[matthijs/master-project/report.git] / Utils / Fonts.tex
1 % Script taken from the "typescripts" pacakage at http://modules.contextgarden.net/typescripts
2 \starttypescript [serif] [linuxlibertine]
3     \definefontsynonym [LinuxLibertine-Regular]    [name:Linux Libertine O]             [features=default]
4     \definefontsynonym [LinuxLibertine-Italic]     [name:Linux Libertine O Italic]      [features=default]
5     \definefontsynonym [LinuxLibertine-Bold]       [name:Linux Libertine O Bold]        [features=default]
6     \definefontsynonym [LinuxLibertine-BoldItalic] [name:Linux Libertine O Bold Italic] [features=default]
7     \definefontsynonym [LinuxLibertine-Caps]       [name:Linux Libertine O Capitals]    [features=default]
8 \stoptypescript
9
10 % Script taken from the "typescripts" pacakage at
11 \starttypescript [serif] [linuxlibertine]
12     \setups[font:fallback:serif]
13     \definefontsynonym [Serif]           [LinuxLibertine-Regular]    [features=default]
14     \definefontsynonym [SerifItalic]     [LinuxLibertine-Italic]     [features=default]
15     \definefontsynonym [SerifBold]       [LinuxLibertine-Bold]       [features=default]
16     \definefontsynonym [SerifBoldItalic] [LinuxLibertine-BoldItalic] [features=default]
17     \definefontsynonym [SerifCaps]       [LinuxLibertine-Caps]       [features=default]
18 \stoptypescript
19
20 \usetypescript[linuxlibertine]
21
22 % Use old numbers when available
23 \definefontfeature[default][default][onum=yes]
24
25 % Define a custom typescript. We could also have put the \definetypeface's
26 % directly in the script, without a typescript, but I guess this is more
27 % elegant...
28 \starttypescript[Custom]
29 % This is a sans font that supports greek symbols
30 \definetypeface [Custom] [ss] [sans]  [iwona]                [default]
31 % This is a serif font that supports greek symbols
32 \definetypeface [Custom] [rm] [serif] [linuxlibertine]             [default]
33 \definetypeface [Custom] [tt] [mono]  [modern]               [default]
34 \definetypeface [Custom] [mm] [math]  [modern]     [default]
35 \stoptypescript
36
37 % vim: set sw=2 sts=2 expandtab: