File: newfloat.cwl

package info (click to toggle)
texstudio 4.9.1%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 110,128 kB
  • sloc: cpp: 111,264; xml: 18,668; ansic: 8,977; python: 357; javascript: 177; sh: 147; makefile: 52
file content (33 lines) | stat: -rw-r--r-- 768 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
# newfloat package
# Matthew Bertucci 2023/10/02 for v1.2

#include:keyval

\newfloatsetup{options%keyvals}

#keyvals:\newfloatsetup
within=%<<counter> or none%>
chapterlistsgap=##L
#endkeyvals

\DeclareFloatingEnvironment{envname}#N
\DeclareFloatingEnvironment[options%keyvals]{envname}#N

\SetupFloatingEnvironment{envname}{options%keyvals}

#keyvals:\DeclareFloatingEnvironment,\SetupFloatingEnvironment
fileext=%<file extension%>
listname=%<list name%>
name=%<name%>
autorefname=%<name%>
legendname=%<name%>
placement=%<combination of htbp%>
within=%<<counter> or none%>
chapterlistsgaps=#on,off
without
planb#true,false
planb-fileext=%<file extension%>
#endkeyvals

\ForEachFloatingEnvironment{code}
\PrepareListOf{envname}{code}