File: contract.cwl

package info (click to toggle)
texstudio 4.8.7%2Bds-1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 108,288 kB
  • sloc: cpp: 108,337; xml: 18,660; ansic: 8,977; javascript: 177; sh: 147; python: 73; makefile: 53
file content (112 lines) | stat: -rw-r--r-- 2,497 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
# contract package
# Matthew Bertucci 2024/02/09 for v0.91

#include:scrkbase
#include:tocbasic

\contractSetup{options%keyvals}

#keyvals:\contractSetup,\usepackage/contract#c
juratotoc=%<true|false|<integer>%>
juratocindent=##L
juratocnumberwidth=##L
contract
juratitlepagebreak#true,false
clausemark=#both,false,off,no,forceboth,forceright,right
parnumber=#auto,true,false,manual
ref=#long,numeric,clauseonly,onlyclause,ClauseOnly,OnlyClause,parlong,longpar,ParL,parnumeric,numericpar,ParN,paroff,nopar,parshort,shortpar,ParS,sentencelong,longsentence,SentenceL,sentencenumeric,numericsentence,SentenceN,sentenceoff,nosentence,sentenceshort,shortsentence,SentenceS,short
#endkeyvals

\begin{contract}
\end{contract}

\Clause[properties%keyvals]
\SubClause[properties%keyvals]

#keyvals:\Clause,\SubClause
dummy
head=%<running head%>
nohead
notocentry
number=%<number%>
preskip=##L
postskip=##L
title=%<text%>
tocentry=%<entry%>
#endkeyvals

\Clauseformat#*
\thepar#*
\theHpar#*
\parformat#*
\parformatseparation#*
\withoutparnumber#*
\ellipsispar
\ellipsispar[number]
\parellipsis#*
\thesentence#*
\theHsentence#*
\sentencenumberformat#*
\Sentence
\refL{label}#r
\refS{label}#r
\refN{label}#r
\refClause{label}#r
\refClauseN{label}#r
\refPar{label}#r
\refParL{label}#r
\refParS{label}#r
\refParN{label}#r
\refParN[number format]{label}#r
\refSentence{label}#r
\refSentenceL{label}#r
\refSentenceS{label}#r
\refSentenceN{label}#r

\DeclareNewJuraEnvironment{envname}{begdef}{enddef}#N
\DeclareNewJuraEnvironment{envname}[properties%keyvals]{begdef}{enddef}#N

#keyvals:\DeclareNewJuraEnvironment
Clause=%<command%>
ClauseFont=%<commands%>
SubClause=%<command%>
Sentence=%<command%>
ClauseNumberFormat=%<command%>
#endkeyvals

\parname#*
\parshortname#*
\sentencename#*
\sentenceshortname#*

# not in main documentation
\AutoPar#S
\Clausemark#S
\DeprecatedParagraph#S
\getmaxpar{arg1}{arg2}{arg3}#S
\ifparnumber#S
\ManualPar#S
\newmaxpar{arg1}{arg2}{arg3}#S
\ParagraphCompatibilityHacks#S
\parciteformat#S
\parlongformat#S
\parnumberfalse#S
\parnumbertrue#S
\parnumericformat#S
\parshortformat#S
\sentenceciteformat#S
\sentencelongformat#S
\sentencenumericformat#S
\sentenceshortformat#S
\thecontractAbsoluteClause#S
\thecontractClause#S
\thecontractSubClause#S
\theHClause#S
\theHSubClause#S
\thisparnumber#S

# deprecated
\Paragraph#S
\refParagraph#S
\refParagraphN#S
\SubParagraph#S