File: fancyvrb-ex.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 (83 lines) | stat: -rw-r--r-- 2,187 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
# fancyvrb-ex package
# Matthew Bertucci 9/27/2021 for v0.01

#include:fancyvrb
#include:xcolor
#include:hbaw

#keyvals:\usepackage/fancyvrb-ex#c
pstricks
color
#endkeyvals

#ifOption:pstricks
#include:pstricks
\showgrid
\begin{PCenterExample}(x1,y1)(x2,y2)#\pictureHighlight
\begin{PCenterExample}[options%keyvals](x1,y1)(x2,y2)
\end{PCenterExample}
\begin{PSideBySideExample}(x1,y1)(x2,y2)#\pictureHighlight
\begin{PSideBySideExample}[options%keyvals](x1,y1)(x2,y2)
\end{PSideBySideExample}
#endif

\begin{Example}#V
\begin{Example}[options%keyvals]#V
\end{Example}
\begin{CenterExample}#V
\begin{CenterExample}[options%keyvals]#V
\end{CenterExample}
\begin{SideBySideExample}#V
\begin{SideBySideExample}[options%keyvals]#V
\end{SideBySideExample}

#keyvals:\begin{Example},\begin{CenterExample},\begin{SideBySideExample},\begin{PCenterExample},\begin{PSideBySideExample}
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%>
#endkeyvals

# only available if pstricks loaded
\showgrid#S
\begin{PCenterExample}(x1,y1)(x2,y2)#S\pictureHighlight
\begin{PCenterExample}[options%keyvals](x1,y1)(x2,y2)#S
\end{PCenterExample}#S
\begin{PSideBySideExample}(x1,y1)(x2,y2)#S\pictureHighlight
\begin{PSideBySideExample}[options%keyvals](x1,y1)(x2,y2)#S
\end{PSideBySideExample}#S