Commit eea5a7e7 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

in progress: caret:funnel

parent f88c448b
......@@ -12,7 +12,7 @@ xquery version "3.1";
: [ ] "caret:semicircle"
: [ ] "caret:quartercircle"
: [ ] "caret:looped_arc"
: [ ] "caret:funnel"
: [>] "caret:funnel"
: [ ] "caret:3/4-circle"
: [ ] "caret:retraced_half-bow"
:)
......@@ -245,7 +245,7 @@ return
};
declare function caret:funnel($node) {
let $params := tokenize(substring-before(substring-after($node/replace(@rend, "cm", ""), '('), ')'), ',')
let $params as xs:decimal+ := tokenize(substring-before(substring-after($node/replace(@rend, "cm", ""), '('), ')'), ',') ! xs:decimal(.)
return
<svg xmlns="http://www.w3.org/2000/svg"
style="margin-left: -1cm;margin-bottom: 0.2cm;"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment