File: ling-macros.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 (112 lines) | stat: -rw-r--r-- 1,714 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# ling-macros package
# Matthew Bertucci 11/22/2021 for v2.2

#include:gb4e
#include:stmaryrd
#include:amssymb
#include:pbox
#include:ulem
#include:upgreek
#include:relsize

\nl
\m{text}
\mc{text}
\mb
\ol{text}
\alert{text}
\term{text}
\ix{subscript}
\ux{subscript}
\superx{supscript}

\bex
\fex
\bxl
\fxl

\ben
\fen
\bit
\fit

\begin{context}
\end{context}

\underlying{input}
\becomes
\spoken{output}
\environ
\spot
\syll
\fmleft
\fmright
\fmat{left}{right} 
\prule{underlying form}{spoken form}{environment}
\iparule{underlying form}{spoken form}{environment}
\pruleset{underlying form}{spoken form}{text}{environment}
\iparuleset{underlying form}{spoken form}{text}{environment}

\head{arg}
\xbar{arg}
\lv
\feat{feature}
\textfeat{feature}
\dcopy{text}
\mroot{text}
\ufeat{feature}
\unv{feature}

\readas{arg}
\lam{variable}
\lamd{variable}{type}
\all{variable}
\some{variable}
\no{variable}
\ddet{variable}
\pri

\type{types}
\uptype{types}

\set{set}
\varset{set}
\cvarset{arg1}{arg2}

\funcnote{name}{domain}{range}{input-var}{rule}
\fleft
\func{domain}{range}
\fright

\scopebox{expression}
\innerscopebox{expression}

\den{arg}
\dena{arg}{assignment}
\denac{arg}{context}
\denamod{arg}{assignment}{modification}
\denacmod{arg}{context}{modification}

\denol{arg}
\denola{arg}{assignment}
\denolac{arg}{context}
\denolamod{arg}{assignment}{modification}
\denolacmod{arg}{context}{modification}

\lessthanten
\tenormore

\bexskip#*
\bxlskip#*
\bexsep#*
\bxlsep#*
\bexindent#*
\bxlindent#*
\fexskip#*
\fxlskip#*
\bexlabel#*
\bxllabel#*
\featuresize#*
\prulewidth#*
\environset{arg}#*
\scopewidth#*