How to reserve more space for fermata mark (to prevent large vertical shifts)

2012-10-05 Thread Reinhold Kainhofer
In the attached sample file, I have a fermata mark on a baline.
Unfortunately, the notes after the barline are quite high above the
staff, causing the fermata to move up even further:

\relative c''' {
  R1 \mark \markup { \musicglyph #"scripts.ufermata" }
  a4(^"rit." b c) r
}

Does anyone know a way to make the mark reserve more horizontal space
(i.e. shift the following notes to the right) so that the fermata is
placed directly above the staff?

Thanks,
Reinhold

-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com
\version "2.17.0"

\paper {
  tagline = ##f 
}
% Is there any way to reserver more space for the mark, so 
% that it does not have to be shifted up so much.
% The solution needs to work both in the full score (i.e. 
% multiple staff groups with a \mark in each staff) and 
% in each instrument's score (in larger font)
\relative c''' {
  R1 \mark \markup { \musicglyph #"scripts.ufermata" }
  a4(^"rit." b c) r
}

lilypond-fermataMarkup-barline-vertical-shift.preview.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to reserve more space for fermata mark (to prevent large vertical shifts)

2012-10-05 Thread Janek WarchoĊ‚
On Fri, Oct 5, 2012 at 3:59 PM, Reinhold Kainhofer
 wrote:
> \relative c''' {
>   R1 \mark \markup { \musicglyph #"scripts.ufermata" }
>   a4(^"rit." b c) r
> }
>
> Does anyone know a way to make the mark reserve more horizontal space
> (i.e. shift the following notes to the right) so that the fermata is
> placed directly above the staff?

I hoped that overriding NoteHead's or NoteColumn's X-extent would do
the trick, but unfortunately not.  However, overriding it for Stem
seems to give you what you want.

hth,
Janekp

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to reserve more space for fermata mark (to prevent large vertical shifts)

2012-10-05 Thread Keith OHara
Reinhold Kainhofer  kainhofer.com> writes:
 
> Does anyone know a way to make the mark reserve more horizontal space

Rehearsal marks are one of the things that has extra-spacing-width set to 
(inf . -inf) so that it reserves no space during note-spacing

  \once\override Score.RehearsalMark #'extra-spacing-width = #'()




___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to reserve more space for fermata mark (to prevent large vertical shifts)

2012-10-05 Thread Reinhold Kainhofer
On 05/10/2012 19:30, Keith OHara wrote:
> Rehearsal marks are one of the things that has extra-spacing-width set to 
> (inf . -inf) so that it reserves no space during note-spacing
>
>   \once\override Score.RehearsalMark #'extra-spacing-width = #'()

Thanks a lot! Actually, I have to set the extra-spacing-width to '(0.3 .
0.3) to prevent the ledger line from still shifting the fermata up.

But with that settings, things work like a charm!
Reinhold

-- 
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to reserve more space for fermata mark (to prevent large vertical shifts)

2012-10-05 Thread Werner LEMBERG

> Rehearsal marks are one of the things that has extra-spacing-width
> set to (inf . -inf) so that it reserves no space during note-spacing
> 
>   \once\override Score.RehearsalMark #'extra-spacing-width = #'()

Something learned again :-)  Could this please be added to the
`Rehearsal marks' section in the documentation?


Werner

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to reserve more space for fermata mark (to prevent large vertical shifts)

2012-10-05 Thread Graham Percival
On Sat, Oct 06, 2012 at 06:44:18AM +0200, Werner LEMBERG wrote:
> 
> > Rehearsal marks are one of the things that has extra-spacing-width
> > set to (inf . -inf) so that it reserves no space during note-spacing
> > 
> >   \once\override Score.RehearsalMark #'extra-spacing-width = #'()
> 
> Something learned again :-)  Could this please be added to the
> `Rehearsal marks' section in the documentation?

Remember that any such effort in this direction should begin with
a LSR snippet, or if it relies on post-2.14 material, a snippet
which goes to Documentation/snippets/new/

- Graham

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to reserve more space for fermata mark (to prevent large vertical shifts)

2012-10-06 Thread Keith OHara
Werner LEMBERG  gnu.org> writes:

> > Rehearsal marks are one of the things that has extra-spacing-width
> > set to (inf . -inf) so that it reserves no space during note-spacing

> 
> Something learned again   Could this please be added to the
> `Rehearsal marks' section in the documentation?

Better to describe how extra-spacing-width works in the section on 
'changing horizontal spacing', section 4.5.3

There is already \textLengthOn for text, and an LSR entry
http://lsr.dsi.unimi.it/LSR/Item?id=659  for tempo marks, and the 
suggestions on issue 621 for dynamics,...


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: How to reserve more space for fermata mark (to prevent large vertical shifts)

2012-10-06 Thread Werner LEMBERG
>> > Rehearsal marks are one of the things that has
>> > extra-spacing-width set to (inf . -inf) so that it reserves no
>> > space during note-spacing
>> 
>> Something learned again   Could this please be added to the
>> `Rehearsal marks' section in the documentation?
> 
> Better to describe how extra-spacing-width works in the section on
> 'changing horizontal spacing', section 4.5.3

I don't mind.  However, then a sentence with a link would help...


Werner

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user