File: fitbox.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 (32 lines) | stat: -rw-r--r-- 657 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
# fitbox package
# Matthew Bertucci 1/3/2022 for v1.02

#include:xkeyval

\fitbox{content%text}
\fitbox[options%keyvals]{content%text}
\fitbox*{content%text}
\fitbox*[options%keyvals]{content%text}

\fitboxset{options%keyvals}

\fitboxnatwidth#L
\fitboxnatheight#L

\SetFitboxLayout{rows}{columns}
\SetFitboxLayout[options%keyvals]{rows}{columns}

#keyvals:\fitbox,\fitbox*,\fitboxset,\SetFitboxLayout
maxheight=##L
maxwidth=##L
minheight=##L
minwidth=##L
belowboxspace=##L
maxenlargepage=##L
colsep=##L
colsepexpr=%<space macro%>
maincapheight=##L
maincaplines=%<integer%>
subcapheight=##L
subcaplines=%<integer%>
#endkeyvals