File: diagbox.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 (43 lines) | stat: -rw-r--r-- 891 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
# diagbox package
# Matthew Bertucci 9/19/2021 for v2.3

#include:keyval
#include:pict2e
#include:calc
#include:array
#include:fp

\diagbox{left%text}{right%text}#t
\diagbox[options%keyvals]{left%text}{right%text}#t
\diagbox{left%text}{middle%text}{right%text}#t

#keyvals:\diagbox
width=##l
height=##l
dir=#NW,NE,SW,SE
innerwidth=##l
innerleftsep=##l
innerrightsep=##l
outerleftsep=##l
outerrightsep=##l
leftsep=##l
rightsep=##l
trim=#l,r,lr,rl
font=%<font commands%>
linewidth=##l
linecolor=#%color
#endkeyvals

\backslashbox{left%text}{right%text}#*
\backslashbox[width]{left%text}{right%text}#*
\backslashbox[width][trim%keyvals]{left%text}{right%text}#*
\slashbox{left%text}{right%text}#*
\slashbox[width]{left%text}{right%text}#*
\slashbox[width][trim%keyvals]{left%text}{right%text}#*

#keyvals:\backslashbox,\slashbox
l
r
lr
rl
#endkeyvals