File: thmbox.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 (45 lines) | stat: -rw-r--r-- 737 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
# thmbox package
# Matthew Bertucci 1/8/2021 for v2.0

#include:keyval

#keyvals:\usepackage/thmbox#c
nothm
style=#S,M,L
cut#true,false
underline#true,false
headstyle=%<code%>
titlestyle=%<code%>
bodystyle=%<code%>
leftmargin=##L
hskip=##L
thickness=##L
#endkeyvals

\thmboxoptions#*

\begin{thmbox}{title%text}
\begin{thmbox}[style%keyvals]{title%text}
\end{thmbox}

\begin{leftbar}
\begin{leftbar}[style%keyvals]
\end{leftbar}

\newtheorem[style%keyvals]{envname}{caption}#N

#keyvals:\begin{thmbox},\begin{leftbar},\newtheorem
S
M
L
#endkeyvals

\begin{proof}
\begin{proof}[postfix]
\end{proof}

\begin{example}
\begin{example}[label text]
\end{example}

\newboxtheorem{envname}{caption}#*N