File: fancyvrb.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 (164 lines) | stat: -rw-r--r-- 4,647 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
# fancyvrb package
# neeraavi 12 Apr 2007
# muzimuzhi 15 Mar 2020, fancyvrb v3.5
# muzimuzhi 25 Mar 2020
# Matthew Bertucci 12 Aug 2022 for v4.5

#include:keyval

\Verb[options%keyvals]{verbatimSymbol}#S
\Verb|%<code%>|
\Verb[%<options%>]|%<code%>|
\Verb*[options%keyvals]{verbatimSymbol}#S
\Verb*|%<code%>|
\Verb*[%<options%>]|%<code%>|
\VerbatimFootnotes
\DefineShortVerb{\%<character%>}
\UndefineShortVerb{\%<character%>}
# following two lines tell highlighter not to mark args as incorrect
\DefineShortVerb{definition}#S
\UndefineShortVerb{definition}#S

\begin{Verbatim}#V
\begin{Verbatim}[options%keyvals]#V
\end{Verbatim}
\begin{Verbatim*}#V
\begin{Verbatim*}[options%keyvals]#V
\end{Verbatim*}
\begin{BVerbatim}#V
\begin{BVerbatim}[options%keyvals]#V
\end{BVerbatim}
\begin{BVerbatim*}#V
\begin{BVerbatim*}[options%keyvals]#V
\end{BVerbatim*}
\begin{LVerbatim}#V
\begin{LVerbatim}[options%keyvals]#V
\end{LVerbatim}
\begin{LVerbatim*}#V
\begin{LVerbatim*}[options%keyvals]#V
\end{LVerbatim*}
\fvset{options%keyvals}

\DefineVerbatimEnvironment{envname}{env type}{options%keyvals}#N
\CustomVerbatimEnvironment{envname}{env type}{options%keyvals}#*N
\RecustomVerbatimEnvironment{envname}{env type}{options%keyvals}#N
\CustomVerbatimCommand{command}{cmd type}{options%keyvals}#d
\RecustomVerbatimCommand{command}{cmd type}{options%keyvals}

# saving and restoring verbatim text and envs
\SaveVerb[options%keyvals]{name}{verbatimSymbol}#S
\SaveVerb{%<name%>}|%<code%>|
\SaveVerb[%<options%>]{%<name%>}|%<code%>|
\SaveVerb*[options%keyvals]{name}{verbatimSymbol}#S
\SaveVerb*{%<name%>}|%<code%>|#*
\SaveVerb*[%<options%>]{%<name%>}|%<code%>|#*
#keyvals:\SaveVerb,\SaveVerb*,\fvset
aftersave={%<code%>}
#endkeyvals
\UseVerb{name}
\UseVerb[options%keyvals]{name}
\UseVerb*{name}
\UseVerb*[options%keyvals]{name}
\begin{SaveVerbatim}{name}#V
\begin{SaveVerbatim}[options%keyvals]{name}
\end{SaveVerbatim}
\UseVerbatim{name}
\UseVerbatim[options%keyvals]{name}
\UseVerbatim*{name}
\UseVerbatim*[options%keyvals]{name}
\BUseVerbatim{name}
\BUseVerbatim[options%keyvals]{name}
\BUseVerbatim*{name}
\BUseVerbatim*[options%keyvals]{name}
\LUseVerbatim{name}
\LUseVerbatim[options%keyvals]{name}
\LUseVerbatim*{name}
\LUseVerbatim*[options%keyvals]{name}

# writing and reading verbatim files
\VerbatimInput{file}#i
\VerbatimInput[options%keyvals]{file}#i
\BVerbatimInput{file}#i
\BVerbatimInput[options%keyvals]{file}#i
\LVerbatimInput{file}#i
\LVerbatimInput[options%keyvals]{file}#i
\begin{VerbatimOut}{file name}#V
\end{VerbatimOut}

#keyvals:\Verb,\Verb*,\begin{Verbatim},\begin{Verbatim*},\begin{BVerbatim},\begin{BVerbatim*},\begin{LVerbatim},\begin{LVerbatim*},\fvset,\DefineVerbatimEnvironment,\CustomVerbatimEnvironment,\RecustomVerbatimEnvironment,\CustomVerbatimCommand,\RecustomVerbatimCommand,\SaveVerb,\SaveVerb*,\UseVerb,\UseVerb*,\begin{SaveVerbatim},\UseVerbatim,\BUseVerbatim,\LUseVerbatim,\VerbatimInput,\BVerbatimInput,\LLVerbatimInput
commentchar=%<single char%>
gobble=%<integer%>
formatcom=%<commands%>
formatcom*=%<commands%>
fontfamily=%<family%>
fontsize=%<size macro%>
fontshape=%<shape%>
fontseries=%<series%>
frame=#none,leftline,topline,bottomline,lines,single
framerule=##L
framesep=##L
rulecolor=%<color cmd%>
fillcolor=%<color cmd%>
label=%<label text%>
labelposition=#none,topline,bottomline,all
numbers=#none,left,right
numbersep=##L
firstnumber=%<auto|last|<integer>%>
stepnumber=%<integer%>
numberblanklines#true,false
firstline=%<integer%>
lastline=%<integer%>
showspaces#true,false
showtabs#true,false
obeytabs#true,false
tabsize=%<integer%>
baselinestretch=%<factor%>
commandchars=%<three chars%>
xleftmargin=##L
xrightmargin=##L
resetmargins#true,false
hfuzz=##L
samepage#true,false
codes={%<code%>}
codes*={%<code%>}
defineactive={%<code%>}
defineactive*={%<code%>}
reflabel=##l
fileext=%<extension%>
vspace=##L
listparameters={%<code%>}
#endkeyvals

#keyvals:\begin{BVerbatim},\begin{BVerbatim*},\fvset,\DefineVerbatimEnvironment,\RecustomVerbatimEnvironment,\CustomVerbatimCommand,\RecustomVerbatimCommand,\BUseVerbatim,\BVerbatimInput
boxwidth=##L
baseline=#b,c,t
#endkeyvals

\FancyVerbAfterSave#*
\FancyVerbCodes#*
\FancyVerbDefineActive#*
\FancyVerbFileExtension#*
\FancyVerbFillColor#*
\FancyVerbFormatCom#*
\FancyVerbFormatLine#*
\FancyVerbGetLine#*
\FancyVerbGetVerb#*
\FancyVerbHFuzz#*
\FancyVerbRuleColor#*
\FancyVerbSpace#*
\FancyVerbStartNum#*
\FancyVerbStartString#*
\FancyVerbStopNum#*
\FancyVerbStopString#*
\FancyVerbTab#*
\FancyVerbTabSize#*
\FancyVerbVspace#*
\filedate#S
\fileversion#S
\myFont#S
\pUseMVerb#*
\SaveGVerb#*
\SaveMVerb#*
\theFancyVerbLine#*
\UseMVerb#*
\VerbatimEnvironment#*