Skip to content

Commit ed8fd58

Browse files
committed
fix formatting document new constraint export/import commands
1 parent 88b3901 commit ed8fd58

1 file changed

Lines changed: 10 additions & 13 deletions

File tree

MDhelp/docs/commontreeitems.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,16 @@ Select the tab for the parameter type(s) you wish to constrain then create new p
146146
or "NewVar") followed by a "&" spacer and then
147147
the constraint.
148148
The file extension for this is usually `.constr`.
149-
Examples are below:
149+
Examples are below.
150+
151+
Note that any line beginning with a "#" will be ignored as a comment.
152+
Note that Equations are of form: `m1 * v1 + m2 * v2 + ... = m0`, and
153+
Holds are simply a variable name. Equivalences are in form: `m1 * v1 = m2 * v2 = ...`.
154+
NewVar constraints are of form `m1 * v1 + m2 * v2 + ...`
155+
156+
There are other two variations for NewVar constraints.
157+
If the NewVar constraint is named, or to specifiy that the variable should be
158+
refined (the two forms can be combined), use one of the subsequent examples.
150159

151160
```
152161
# Constraints from 4constr.gpx on 2026-08-11T20:50
@@ -156,22 +165,10 @@ Select the tab for the parameter type(s) you wish to constrain then create new p
156165
NewVar & 1.0 * 0::Afrac:0 + 1.0 * 0::Afrac:1
157166
```
158167

159-
Any line beginning with a "#" will be ignored as a comment.
160-
Note that Equations are of form: `m1 * v1 + m2 * v2 + ... = m0`, and
161-
Holds are simply a variable name. Equivalences are in form:
162-
`m1 * v1 = m2 * v2 = ...`.
163-
NewVar constraints are of form `m1 * v1 + m2 * v2 + ...`
164-
165-
There are two variations for NewVar constraints.
166-
If the NewVar constraint is named, use this:
167-
168168
```
169169
NewVar & variable-name & 1.0 * 0::Afrac:0 + 1.0 * 0::Afrac:1
170170
```
171171

172-
and to specifiy that the variable should be refined, use this (the two forms can be combined):
173-
)
174-
175172
```
176173
NewVar & 1.0 * 0::Afrac:0 + 1.0 * 0::Afrac:1 & varied
177174
```

0 commit comments

Comments
 (0)