File: class-elegantpaper.cwl

package info (click to toggle)
texstudio 4.3.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 74,980 kB
  • sloc: cpp: 102,721; xml: 17,126; ansic: 8,143; sh: 194; javascript: 177; makefile: 28
file content (170 lines) | stat: -rw-r--r-- 2,881 bytes parent folder | download | duplicates (2)
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
170
# elegantpaper class
# Matthew Bertucci 2022/05/02 for v0.10

#include:kvoptions
#include:etoolbox
#include:calc
#include:hyperref
#include:geometry
#include:amsthm
#include:amsmath
#include:amssymb
#include:indentfirst
#include:booktabs
#include:multicol
#include:multirow
#include:xcolor
#include:graphicx
#include:fancyvrb
#include:abstract
#include:hologo
#include:caption
#include:enumitem
# loads shortlabels and inline options of enumitem
#include:iftex
#include:newtxtext
#include:helvet
#include:biblatex
#include:appendix
#include:footmisc
#include:listings

#keyvals:\documentclass/elegantpaper#c
lang=#cn,en
math=#newtx,mtpro2,cm
citestyle=%<style%>
bibstyle=%<style%>
bibend=#biber,bibtex
chinesefont=#ctexfont,founder,nofont
# options passed to article class
a4paper
a5paper
b5paper
letterpaper
legalpaper
executivepaper
landscape
10pt
11pt
12pt
oneside
twoside
draft
final
titlepage
notitlepage
onecolumn
twocolumn
leqno
fleqn
openbib
#endkeyvals

#ifOption:lang=cn
#include:ctex
#include:xeCJK
\songti
\heiti
\kaishu
\fangsong
#endif
#ifOption:cn
#include:ctex
#include:xeCJK
\songti
\heiti
\kaishu
\fangsong
#endif

#ifOption:math=mtpro2
#include:mtpro2
#endif
#ifOption:mtpro2
#include:mtpro2
#endif

#ifOption:math=newtx
#include:newtxmath
#include:esint
\prodop#*m
\sumop#*m
#endif
#ifOption:newtx
#include:newtxmath
#include:esint
\prodop#*m
\sumop#*m
#endif

\email{email%URL}#U
\figref{label}#r
\institute{institute%text}
\keywords{keywords%text}
\tabref{label}#r
\version{version}

\begin{theorem}
\begin{theorem}[heading%text]
\end{theorem}
\begin{lemma}
\begin{lemma}[heading%text]
\end{lemma}
\begin{proposition}
\begin{proposition}[heading%text]
\end{proposition}
\begin{corollary}
\begin{corollary}[heading%text]
\end{corollary}
\begin{definition}
\begin{definition}[heading%text]
\end{definition}
\begin{conjecture}
\begin{conjecture}[heading%text]
\end{conjecture}
\begin{example}
\begin{example}[heading%text]
\end{example}
\begin{remark}
\begin{remark}[heading%text]
\end{remark}
\begin{note}
\begin{note}[heading%text]
\end{note}
\begin{case}
\begin{case}[heading%text]
\end{case}

\cfs#*
\citshape#*
\cnormal#*
\ebibname#*
\ekv{keyvals}#*
\IfEmpty{arg}#*
\updatetext#*
\versiontext#*

winered#B
lightgrey#B
commentcolor#B
frenchplum#B

# from shortlabels option of enumitem
#keyvals:\begin{enumerate}#c,\begin{itemize}#c,\begin{description}#c,\begin{enumerate*}#c,\begin{itemize*}#c,\begin{description*}#c
A
a
I
i
1
#endkeyvals

# from inline option of enumitem
\begin{enumerate*}
\begin{enumerate*}[options%keyvals]
\end{enumerate*}
\begin{itemize*}
\begin{itemize*}[options%keyvals]
\end{itemize*}
\begin{description*}
\begin{description*}[options%keyvals]
\end{description*}