File: lua-ul.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 (44 lines) | stat: -rw-r--r-- 816 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
34
35
36
37
38
39
40
41
42
43
44
# lua-ul package
# Matthew Bertucci 2022/06/03 for v0.2.0

#include:luatex

#keyvals:\usepackage/lua-ul#c
minimal
soul
#endkeyvals

\underLine{text}
\underLine[options%keyvals]{text}

#keyvals:\underLine,\ul,\textul
textcolor#true,false
color=#%color
top=##L
bottom=##L
height=##L
#endkeyvals

\highLight{text}
\highLight[color]{text}
\strikeThrough{text}
\strikeThrough[color]{text}

#ifOption:soul
\ul{text}
\ul[options%keyvals]{text}
\textul{text}#*
\textul[options%keyvals]{text}#*
\hl{text}
\hl[color]{text}
\texthl{text}#*
\texthl[color]{text}#*
\st{text}
\st[color]{text}
\textst{text}#*
\textst[color]{text}#*
#endif

\LuaULSetHighLightColor{color}
\newunderlinetype{cmd}{leaderscmd%definition}#d
\newunderlinetype{cmd}[context specifier]{leaderscmd%definition}#d