File: snotez.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 (47 lines) | stat: -rw-r--r-- 884 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
# snotez package
# Matthew Bertucci 2/12/2022 for v0.6

#include:etoolbox
#include:pgfopts
#include:marginnote
#include:perpage

\sidenote{text}
\sidenote[mark]{text}
\sidenote(offset){text}#*
\sidenote(offset)[mark]{text}#*

#ifOption:dblarg=true
\sidenote[offset][mark]{text}
#endif

\sidenotemark#*
\sidenotemark[mark]#*

\sidenotetext{text}
\sidenotetext[mark]{text}

\begin{sidefigure}
\end{sidefigure}
\begin{sidetable}
\end{sidetable}

\newsnotezfloat{name}#*
\newsnotezfloat[code]{name}#*

\setsidenotes{options%keyvals}

#keyvals:\setsidenotes
dblarg#true,false
marginnote#true,false
text-format=%<code%>
text-format+=%<code%>
perpage#true,false
perchapter#true,false
note-mark-sep=%<code%>
note-mark-format=%<code%>
text-mark-format=%<code%>
footnote#true,false
sidefloat-format=%<code%>
sidefloat-format+=%<code%>
#endkeyvals