Check: Allow Layering in Page Setup.
Then:!NoteWorthyComposer(2.75)
|AddStaff|Name:"Staff"
|StaffProperties|EndingBar:Open (hidden)|WithNextStaff:Layer
|Note|Dur:4th|Pos:3|Opts:Stem=Up
|Rest|Dur:4th|Opts:Stem=Down
|Rest|Dur:8th,Triplet=First|Opts:Stem=Up
|Note|Dur:8th,Triplet|Pos:3|Opts:Stem=Up,Beam=First
|Note|Dur:8th,Triplet=End|Pos:4|Opts:Stem=Up,Beam=End
|Note|Dur:8th,Triplet=First|Pos:n5|Opts:Stem=Up,Beam=First
|Note|Dur:8th,Triplet|Pos:6|Opts:Stem=Up,Beam
|Note|Dur:8th,Triplet=End|Pos:5|Opts:Stem=Up,Beam=End
|Bar
|AddStaff|Name:"Staff-2"
|StaffProperties|EndingBar:Open (hidden)
|Note|Dur:4th|Pos:n1|Opts:Stem=Down
|Rest|Dur:4th|Opts:Stem=Down
|Rest|Dur:8th,Triplet=First|Opts:Stem=Down,VertOffset=-4|Visibility:Never
|Note|Dur:8th,Triplet|Pos:3|Opts:Stem=Down,Beam=First
|Note|Dur:8th,Triplet=End,Staccato|Pos:3|Opts:Stem=Down,Beam=End,XNoteSpace=1,ArticulationsOnStem
|Note|Dur:8th,Triplet=First|Pos:3|Opts:Stem=Down,Beam=First
|Note|Dur:8th,Triplet|Pos:3|Opts:Stem=Down,Beam
|Note|Dur:8th,Triplet=End|Pos:3|Opts:Stem=Down,Beam=End
|Bar
!NoteWorthyComposer-End