File: styledcmd.cwl

package info (click to toggle)
texstudio 4.9.1%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 110,128 kB
  • sloc: cpp: 111,264; xml: 18,668; ansic: 8,977; python: 357; javascript: 177; sh: 147; makefile: 52
file content (33 lines) | stat: -rw-r--r-- 1,286 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
# styledcmd package
# Matthew Bertucci 2022/12/13 for v2.0

#include:lt3rawobjects

\newstyledcmd{cmd}{style name}{definition}#d
\newstyledcmd{cmd}{style name}[args]{definition}#d
\renewstyledcmd{cmd}{style name}{definition}
\renewstyledcmd{cmd}{style name}[args]{definition}
\providestyledcmd{cmd}{style name}{definition}#d
\providestyledcmd{cmd}{style name}[args]{definition}#d
\setGlobalStyle{cmd}{new style name}
\NewDocStyledCMD{cmd}{style name}{xargs}{definition}#d
\RenewDocStyledCMD{cmd}{style name}{xargs}{definition}
\ProvideDocStyledCMD{cmd}{style name}{xargs}{definition}#d
\newstyledcmdExp{cmd}{style name}{definition}#d
\newstyledcmdExp{cmd}{style name}[args]{definition}#d
\renewstyledcmdExp{cmd}{style name}{definition}
\renewstyledcmdExp{cmd}{style name}[args]{definition}
\providestyledcmdExp{cmd}{style name}{definition}#d
\providestyledcmdExp{cmd}{style name}[args]{definition}#d
\AddCMDToGroup{group name}{cmd1,cmd2,...}
\SetGroupStyle{group name}{style name}

# deprecated
\styBeginGroup{group name}#S
\styEndGroup#S
\styBeginStyle{format name}#S
\styEndStyle#S
\newGstyledcmd{cmd}{definition}#Sd
\newGstyledcmd{cmd}[args]{definition}#Sd
\NewGDocStyledCMD{cmd}{xargs}{definition}#Sd
\setGroupStyle{group name}{new default style}#S