File: class-elegantnote.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 (167 lines) | stat: -rw-r--r-- 2,989 bytes parent folder | download
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
# elegantnote class
# Matthew Bertucci 2022/05/02 for v2.40

#include:kvoptions
#include:etoolbox
#include:calc
#include:amsmath
#include:amsthm
#include:iftex
#include:newtxtext
#include:helvet
#include:ctex
#include:biblatex
#include:appendix
#include:indentfirst
#include:anyfontsize
#include:graphicx
#include:booktabs
#include:xcolor
#include:hyperref
#include:xpatch
#include:hologo
#include:silence
#include:caption
#include:enumitem
# loads shortlabels and inline options of enumitem
#include:footmisc
#include:titlesec
#include:geometry
#include:extsizes
#include:fancyhdr
#include:tikz
# loads shadows tikzlibrary
#include:listings
#include:lstautogobble

#keyvals:\documentclass/elegantnote#c
color=#green,cyan,blue,sakura,black,brown
device=#pc,pad,kindle,normal,screen
lang=#cn,en
mode=#geye,hazy,sepia
chinesefont=#ctexfont,founder,nofont
citestyle=%<style%>
bibstyle=%<style%>
bibend=#biber,bibtex
fontsize=#8pt,9pt,10pt,11pt,12pt,14pt,17pt,20pt
math=#newtx,mtpro2,cm
# options passed to article class
a4paper
a5paper
b5paper
letterpaper
legalpaper
executivepaper
landscape
oneside
twoside
draft
final
titlepage
notitlepage
onecolumn
twocolumn
leqno
fleqn
openbib
#endkeyvals

#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

\institute{institute%text}
\keywords{keywords%text}
\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#*
\eitemi#*
\eitemii#*
\eitemiii#*
\ekv{keyvals}#*
\IfEmpty{arg}#*
\ifempty{arg}#*
\updatetext#*
\versiontext#*

brown#B
eblue#B
ecolor#B
ecyan#B
egreen#B
epubblue#B
frenchplum#B
geyecolor
lightgrey#B
sakura#B
winered#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*}