forked from jgm/pandoc-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.ms
158 lines (158 loc) · 3.64 KB
/
default.ms
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
$if(pandoc-version)$
.\" Automatically generated by Pandoc $pandoc-version$
.\"
$endif$
.\" **** Custom macro definitions *********************************
.\" * Super/subscript
.\" (https://lists.gnu.org/archive/html/groff/2012-07/msg00046.html)
.ds { \v'-0.3m'\\s[\\n[.s]*9u/12u]
.ds } \s0\v'0.3m'
.ds < \v'0.3m'\s[\\n[.s]*9u/12u]
.ds > \s0\v'-0.3m'
.\" * Horizontal line
.de HLINE
.LP
.ce
\l'20'
..
$if(highlighting-macros)$
.\" * Syntax highlighting macros
$highlighting-macros$
$endif$
.\" Localization before PIC/TABLE
$if(hyphenate)$
.nr german-new-hyphenation-patterns 1
.hy
$if(lang)$
.\" use lang.tmac for language settings (currently only for en, de, fr)
.mso $lang$.tmac
.ds PH "NIX" \" to allow trans.tmac to function
.mso trans.tmac\" apply translations from lang.tmac
.\" tm $lang$ \*[\*[locale]-lifg] \*[Lifg]
$endif$
$else$
.nh \" Turn off hyphenation by default.
$endif$
.nr FROM_PANDOC 1\" used to controll image placement in anypic
.nr SCALE_TO_LL 1\" avoid image hanging over page margins
.mso anypic.tmac\" macro for pictures
.mso s-heading-space.tmac\" different spacing for headings in groff ms
.\" **** Settings *************************************************
.\" left margin
.nr PO 2.5cm
.\" text width = A4_width - 2 * left_margin
.nr LL 21cm
.nr LL -2*\n[PO]u
.\" top margin
.nr HM 2.0cm
.\".\" text width:
.\".nr LL 5.5i
.\".\" left margin
.\".nr PO 1.25i
.\".\" top margin
.\".nr HM 1.25i
.\".\" bottom margin
.nr FM 3cm
.\" header/footer width
.nr LT \n[LL]u
.\" relative lineheight
.nr linescale $if(linescale)$$linescale$$else$1175$endif$
.\" point size
.nr PS $if(pointsize)$$pointsize$$else$10p$endif$
.\" calculate absolute line height unless given by variable:
.\"nr VS $if(lineheight)$$lineheight$$else$\n(PS*\n[linescale]/1000u$endif$
.RESCALE_LINE
.\" font family: A, BM, H, HN, N, P, T, ZCM
.fam $if(fontfamily)$$fontfamily$$else$T$endif$
.nr SCALE_QUOTE $if(scalequote)$1$else$0$endif$
.ds citefam $if(citefam)$$citefam$$else$H$endif$
.mso citescale.tmac
.citescale $if(citescale)$$citescale$$else$850$endif$
.\" ligatures do not work well unless controlled carefully, esp. for German
.lg $if(useligatures)$1$else$0$endif$
.\" paragraph indent
.nr PI $if(indent)$$indent$$else$1m$endif$
.\" interparagraph space
.\"nr PD 0.33v
.\" footnote width
.\" footnote point size
.RESCALE_FOOT
.SAVE_SIZE
.\"tm PS: \n(PS, VS: \n(VS
.\"tm FPS: \n[FPS], FVS: \n[FVS]
$if(papersize)$
.\" paper size
.ds paper $papersize$
$endif$
.\" color used for strikeout
.defcolor strikecolor rgb 0.7 0.7 0.7
.\" color for links (rgb)
.ds PDFHREF.COLOUR 0.35 0.00 0.60
.\" border for links (default none)
.ds PDFHREF.BORDER 0 0 0
.\" point size difference between heading levels
.nr PSINCR 1p
.\" heading level above which point size no longer changes
.nr GROWPS 2
.\" comment these out if you want a dot after section numbers:
.als SN SN-NO-DOT
.als SN-STYLE SN-NO-DOT
.\" page numbers in footer, centered
.rm CH
.\".ds CF %
.\".ds CH
.ds CF %
.\" pdf outline fold level
.nr PDFOUTLINE.FOLDLEVEL 3
.\" start out in outline view
.pdfview /PageMode /UseOutlines
.\" PDF metadata
.pdfinfo /Title "$title-meta$"
.pdfinfo /Author "$author-meta$"
$if(subject)$
.pdfinfo /Subject "$subject$"
$endif$
$if(adjusting)$
.ad $adjusting$
$endif$
$if(has-inline-math)$
.EQ
delim @@
.EN
$endif$
$for(header-includes)$
$header-includes$
$endfor$
$if(title)$
.TL
$title$
$endif$
$for(author)$
.AU
$author$
$endfor$
$if(date)$
.AU
.sp 0.5
.ft R
$date$
.ND "$date$"
$endif$
$if(abstract)$
.AB
$abstract$
.AE
$endif$
.\" 1 column (use .2C for two column)
.1C
$for(include-before)$
$include-before$
$endfor$
$body$
$if(toc)$
.TC
$endif$
$for(include-after)$
$include-after$
$endfor$
.pdfsync