forked from quantum-journal/quantum-journal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quantumarticle.layout
169 lines (148 loc) · 3.4 KB
/
quantumarticle.layout
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
159
160
161
162
163
164
165
166
167
168
169
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[quantumarticle]{Quantum Article}
# \DeclareCategory{Articles}
## Victor V. Albert <[email protected]>,
## helped by layout by Christopher Granade
# Read the definitions from article.layout
Input article.layout
###### CHANGING STYLE OF ARTICLE FRONT MATTER ######
Style Title
Align Left
TextFont
Color Purple
Family Sans
EndFont
End
Style Author
Category FrontMatter
Align Left
TextFont
Family Sans
EndFont
End
###### ADDING MORE FRONT MATTER ######
Style Affiliation
Category FrontMatter
Margin Dynamic
LatexType Command
LatexName affiliation
InTitle 1
ParSkip 0.4
AlignPossible Left
TextFont
Family Sans
EndFont
# Declare a label for this layout.
LabelType Static
LabelSep M
LabelString "Affiliation:"
LabelFont
Color Green
Series Bold
Family Sans
EndFont
End
Style Email
CopyStyle Affiliation
LatexName email
LabelString "Email:"
Argument 1
LabelString "Email Option|s"
Tooltip "Optional argument to the email command"
EndArgument
PassThru 1
TextFont
Family Sans
EndFont
End
Style URL
CopyStyle Email
LatexName homepage
LabelString "URL:"
Argument 1
LabelString "Author URL Option"
Tooltip "Optional argument to the homepage command"
EndArgument
PassThru 1
End
Style ORCID
CopyStyle Email
LatexName orcid
LabelString "ORCID:"
Argument 1
LabelString "Author ORCID identifier"
Tooltip "Optional argument to the orcid command"
EndArgument
PassThru 1
End
Style Thanks
CopyStyle Email
LatexName thanks
LabelString "Thanks:"
Argument 1
LabelString "Author additional information"
Tooltip "Optional argument to the thanks command"
EndArgument
PassThru 1
End
###### CHANGING STYLE OF ARTICLE SECTIONING ######
Style Section
Align Left
LabelType Static
LabelCounter section
LabelString "\arabic{section}"
LabelStringAppendix "Appendix \Alph{section}"
TocLevel 1
LabelFont
Family Sans
EndFont
TextFont
Family Sans
EndFont
End
Style Subsection
Align Left
LabelType Static
LabelCounter subsection
LabelString "\arabic{section}.\arabic{subsection}"
LabelStringAppendix "Appendix \Alph{section}.\arabic{subsection}"
TocLevel 2
LabelFont
Family Sans
EndFont
TextFont
Family Sans
EndFont
End
Style Paragraph
Align Left
Font
Shape Italic
EndFont
End
###### SPECIALS ######
Style Wide_Text
CopyStyle Standard
Category Specials
LatexName widetext
LatexType environment
End
###### ADDITIONAL BACK MATTER ######
Style Acknowledgments
CopyStyle Standard
Category BackMatter
LatexType Environment
LatexName acknowledgments
LabelType Centered
LabelString "acknowledgments"
LabelBottomSep 0.5
LabelFont
Family Sans
Size Larger
EndFont
TopSep 0.7
End
###### NOT COVERED BY QUANTUM ARTICLE ######
NoStyle Subparagraph
NoStyle Subparagraph*
NoStyle Right_Address