File: styledcmd.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 (24 lines) | stat: -rw-r--r-- 890 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
# styledcmd package
# Matthew Bertucci 9/7/2021 for v1.1

#include:expl3
#include:xparse

\newstyledcmd{cmd}{format name}{definition}#d
\newstyledcmd{cmd}{format name}[args]{definition}#d
\renewstyledcmd{cmd}{format name}{definition}#d
\renewstyledcmd{cmd}{format name}[args]{definition}#d
\providestyledcmd{cmd}{format name}{definition}#d
\providestyledcmd{cmd}{format name}[args]{definition}#d
\setGlobalStyle{cmd}{new format name}
\NewDocStyledCMD{cmd}{format name}{xargs}{definition}#d
\RenewDocStyledCMD{cmd}{format name}{xargs}{definition}#d
\ProvideDocStyledCMD{cmd}{format name}{xargs}{definition}#d
\styBeginGroup{group name}#*
\styEndGroup#*
\styBeginStyle{format name}#*
\styEndStyle#*
\newGstyledcmd{cmd}{definition}#*d
\newGstyledcmd{cmd}[args]{definition}#*d
\NewGDocStyledCMD{cmd}{xargs}{definition}#*d
\setGroupStyle{group name}{new default style}#*