Index: scm/define-grobs.scm |
diff --git a/scm/define-grobs.scm b/scm/define-grobs.scm |
index d17940764b21e6a5c9ed14618b7180a361bfceed..6738f8c12d46d457a59a5d48a714372aa4c0e789 100644 |
--- a/scm/define-grobs.scm |
+++ b/scm/define-grobs.scm |
@@ -403,7 +403,12 @@ |
(ideal-slope-factor . 10) |
(collision-penalty . 500) |
(collision-padding . 0.35) |
- (round-to-zero-slope . 0.02))) |
+ (round-to-zero-slope . 0.02) |
+ (slash-attach-side . left) |
+ (slash-stem-part . 1) |
Malte Meyn
2019/03/16 20:42:11
It’s not that easy in some cases, see example code
thomasmorley651
2019/03/17 10:29:59
Yep, it's quite impossible to find a fixed default
|
+ (slash-gradient . (1 . 2)) |
Malte Meyn
2019/03/16 20:42:11
IMHO that’s to steep, I’d prefer something like '(
Malte Meyn
2019/03/16 20:44:19
Also, wouldn’t it be simpler (for the user) to use
thomasmorley651
2019/03/17 10:29:59
Well, a matter of taste I'd say. The slash for bea
thomasmorley651
2019/03/17 10:29:59
This is one of the TODO's in 'slash-stencil'.
Poss
|
+ (slash-x-y-over-shoot . (0.4 . 0.8)) |
Malte Meyn
2019/03/16 20:42:11
I don’t really understand how this works: Why does
thomasmorley651
2019/03/17 10:29:59
The x-value does not need to look at beam's gradie
|
+ (slash-thickness . 0.15))) |
(direction . ,ly:beam::calc-direction) |
(normalized-endpoints . ,ly:spanner::calc-normalized-endpoints) |
@@ -997,6 +1002,13 @@ |
X 'transparent)) |
(color . ,(grob::inherit-parent-property |
X 'color)) |
+ (details |
+ . ( |
+ (slash-attach-side . left) |
+ (slash-stem-part . 0.8) |
+ (slash-gradient . (1 . 1.2)) |
+ (slash-x-y-over-shoot . (0.4 . 0.4)) |
+ (slash-thickness . 0.15))) |
(X-extent . ,ly:flag::width) |
(X-offset . ,ly:flag::calc-x-offset) |
(Y-offset . ,(ly:make-unpure-pure-container ly:flag::calc-y-offset ly:flag::pure-calc-y-offset)) |