1
2
3
4
5
6
7
8
9
10
11
12
13
14\startmodule[articletitlepage]
15
16\unprotect
17
18
19
20
21
22
23
24
25
26\defineframed
27 [titlepageframed]
28 [\c!frame=\v!off,
29 \c!align=\v!middle]
30
31\startsetups document:titlepage
32 \startstandardmakeup[\c!align=\v!middle]
33 \doifdocumentvariable {title} {
34 \dontleavehmode \titlepageframed
35 [\c!foregroundstyle=\bfd\setupinterlinespace]
36 {\documentvariable {title}}
37 }
38 \doifdocumentvariable {subject} {
39 \blank[2*\v!big]
40 \dontleavehmode \titlepageframed
41 [\c!foregroundstyle=\bfb\setupinterlinespace]
42 {\documentvariable {subject}}
43 }
44 \doifdocumentvariable {author} {
45 \blank[4*\v!big]
46 \dontleavehmode \titlepageframed
47 [\c!foregroundstyle=\bfa\setupinterlinespace]
48 {\documentvariable {author}}
49 }
50 \vfill
51 \doifdocumentvariable {affiliation} {
52 \dontleavehmode \titlepageframed
53 [\c!foregroundstyle=\bfa\setupinterlinespace]
54 {\documentvariable {affiliation}}
55 }
56 \doifdocumentvariable {date} {
57 \blank[\v!big]
58 \dontleavehmode \titlepageframed
59 [\c!foregroundstyle=\bfa\setupinterlinespace]
60 {\documentvariable {date}}
61 }
62 \stopstandardmakeup
63\stopsetups
64
65\stopmodule
66 |