diff options
Diffstat (limited to 'doc/context/sources/general/manuals/luametatex')
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-nodes.tex | 4 | ||||
-rw-r--r-- | doc/context/sources/general/manuals/luametatex/luametatex-tex.tex | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-nodes.tex b/doc/context/sources/general/manuals/luametatex/luametatex-nodes.tex index 63386ed02..c7eb9013d 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-nodes.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-nodes.tex @@ -1436,8 +1436,8 @@ This helper returns the location of the first match at or after node \type {n}: \libindex {setglue} -You can set the properties of a glue in one go. If you pass no values, the glue -will become a zero glue. +You can set the five properties of a glue in one go. If a non|-|numeric value is +passed the property becomes zero. \startfunctioncall node.setglue(<node> n) diff --git a/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex index 737f3b960..09c4233a0 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex-tex.tex @@ -734,10 +734,10 @@ We have similar setters for \type {count}, \type {dimen}, \type {muskip}, and nodes, and toks by strings. Again the glue variants are not using the \nod {glue-spec} userdata nodes. The -\type {setglue} function accepts upto 5 arguments: width, stretch, shrink, -stretch order and shrink order and the \type {getglue} function reports them, -unless the second argument is \type {false} in which case only the width is -returned. +\type {setglue} function accepts upto five arguments: width, stretch, shrink, +stretch order and shrink order. Non|-|numeric values set the property to zero. +The \type {getglue} function reports all five properties, unless the second +argument is \type {false} in which case only the width is returned. Here is an example using a threesome: |