Skip to main content
Topic: Justification of text when printing (Read 3255 times) previous topic - next topic

Justification of text when printing

I've looked every which way I can at this problem, but no matter what options I use I can't get a decent print-out of a stave of music with chords shown above.  It all looks OK on the screen, but when printing the chords sometimes (not always) get compressed together.  Is there any way to achieve decent spacing of the text?

To demonstrate VERY clearly my problem, paste the following into one stave:

Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Clef|Type:Treble
|Key|Signature:F#,C#
|TimeSig|Signature:4/4
|Bar
|Note|Dur:Whole|Pos:-5^
|Bar
|Note|Dur:Half,Dotted|Pos:-5
|Note|Dur:8th|Pos:-3|Opts:Stem=Up,Beam=First
|Note|Dur:8th|Pos:-1|Opts:Stem=Up,Beam=End
!NoteWorthyComposerClip-End
then, create a new stave and paste the following (aids visibility to reduce the no. of lines to zero in this stave):

Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Bar|Color:3|Visibility:Never
|Text|Text:"D"|Font:PageText|Pos:0|Placement:BestFitForward|Color:3
|Rest|Dur:Half|Color:3|Visibility:Never
|Text|Text:"G"|Font:PageText|Pos:0|Placement:BestFitForward|Color:3
|Rest|Dur:Half|Color:3|Visibility:Never
|Bar|Color:3|Visibility:Never
|Text|Text:"D"|Font:PageText|Pos:0|Placement:BestFitForward|Color:3
|Rest|Dur:4th|Color:3|Visibility:Never
|Text|Text:"G"|Font:PageText|Pos:0|Placement:BestFitForward|Color:3
|Rest|Dur:4th|Color:3|Visibility:Never
|Text|Text:"D"|Font:PageText|Pos:0|Placement:BestFitForward|Color:3
|Rest|Dur:Half|Color:3|Visibility:Never
!NoteWorthyComposerClip-End
Why does the printout show the chords compacted together?

Re: Justification of text when printing

Reply #1
I think the problem is that you're not preserving the width of the text items, so they are only being given the width taken up by the rest you've entered.  On the other hand, I don't think preserving the width will give a great result.

Try using hidden notes and rests together with the lyric editor.

Example:
Staff 1:
Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Clef|Type:Treble
|Tempo|Tempo:88|Text:"Slow swing "|Pos:20|Visibility:TopStaff
|Key|Signature:Bb
|TimeSig|Signature:Common
|Dynamic|Style:f|Pos:-10
|Text|Text:"Solo"|Font:StaffItalic|Pos:8|Justify:Right|Placement:AtNextNote
|Rest|Dur:8th
|Note|Dur:16th|Pos:1|Opts:Stem=Down,Beam=First
|Note|Dur:16th|Pos:1|Opts:Stem=Down,Beam=End
|Bar|Style:Double
|Text|Text:"A"|Font:User2|Pos:13|Justify:Right|Placement:AsStaffSignature|Visibility:TopStaff
|Rest|Dur:16th
|Note|Dur:8th,Dotted|Pos:4^
|Note|Dur:4th|Pos:4
|Note|Dur:8th|Pos:1
|Note|Dur:4th,Dotted|Pos:-3
|Bar
|Note|Dur:8th|Pos:0
|Note|Dur:4th,Dotted|Pos:1
|Note|Dur:8th,Triplet=First|Pos:-1|Opts:Stem=Down,Beam=First
|Note|Dur:8th,Triplet|Pos:0|Opts:Stem=Down,Beam
|Note|Dur:8th,Triplet=End|Pos:1^|Opts:Stem=Down,Beam=End
|Note|Dur:4th|Pos:1
|Bar
|Note|Dur:8th|Pos:1
|Note|Dur:4th,Dotted|Pos:-3
|Rest|Dur:4th
|Note|Dur:8th,Triplet=First|Pos:#-2|Opts:Stem=Up,Beam=First
|Note|Dur:8th,Triplet|Pos:-1|Opts:Stem=Up,Beam
|Note|Dur:8th,Triplet=End|Pos:n-2|Opts:Stem=Up,Beam=End
|Bar
|Note|Dur:4th,Dotted|Pos:b-4
|Rest|Dur:8th
|Rest|Dur:4th
|Rest|Dur:16th
|Note|Dur:8th|Pos:-3
|Rest|Dur:16th
|Bar
|Note|Dur:8th|Pos:0
|Note|Dur:4th,Dotted|Pos:1
|Note|Dur:8th|Pos:0
|Note|Dur:4th|Pos:1
|Note|Dur:16th|Pos:-3|Opts:Stem=Up,Beam=First
|Note|Dur:16th|Pos:-3|Opts:Stem=Up,Beam=End
|Bar
!NoteWorthyComposerClip-End
Staff 2:
Code: [Select · Download]
!NoteWorthyComposerClip(2.0,Single)
|Rest|Dur:4th|Visibility:Never
|Bar|Visibility:Never
|Note|Dur:Half|Pos:0|Visibility:Never
|Rest|Dur:Half|Visibility:Never
|Bar|Visibility:Never
|Note|Dur:Half|Pos:0|Visibility:Never
|Rest|Dur:Half|Visibility:Never
|Bar|Visibility:Never
|Note|Dur:Half|Pos:0|Visibility:Never
|Rest|Dur:Half|Visibility:Never
|Bar|Visibility:Never
|Note|Dur:Half|Pos:0|Visibility:Never
|Rest|Dur:Half|Visibility:Never
|Bar|Visibility:Never
|Note|Dur:Half|Pos:0|Visibility:Never
|Rest|Dur:Half|Visibility:Never
|Bar|Visibility:Never
!NoteWorthyComposerClip-End
Staff 2 properties should be set to Mute (or just mute all the notes), and all the Staff 2 notes and rests should be hidden.

Now add chord symbols as lyrics to staff 2.  While in staff 2, press Control-L, then number of lyric lines 1, alignment top, and add the chords:

F C7 F F7 Bb

They'll line up with each hidden note in Staff 2.

Layer the staffs.

You'll need to use ascii characters to get the hyphen if you need chords like Cm7-5 or F°

I think you'll find the result satisfactory.

Re: Justification of text when printing

Reply #2
Fantastic.  Your suggestion works perfectly for me.  Many thanks!

Re: Justification of text when printing

Reply #3
You're welcome, Graham.  The diminished symbol is made on the numberic keypad as Alt-0176; I'm afraid I can never remember the ASCII for the hyphen - you can't use the keyboard hyphen because that is interpreted as a direction to move the letter after it to the next note.

Re: Justification of text when printing

Reply #4
David has quoted the ANSI code (0176) for the degrees symbol.  The ASCII code is 248.  The hyphen is at ANSI 0045 or ASCII 045.  Note that when using the ANSI codes, leading zeros have to be input, but not with ASCII

Re: Justification of text when printing

Reply #5
Thank you, Bob, I had no idea that ANSI existed, let alone that the inputs would differ between ANSI and ASCII.

Learn something every day!