Re: Lining up the word "subito"

2017-12-23 Thread Ivan Kuznetsov
On Sat, Dec 23, 2017 at 3:17 AM, Malte Meyn  wrote:
>% this decreases the vertical space between sub. and p
>\override #'(baseline-skip . 1.5)

Overriding the default spacing will be  very useful.
Thank  you for demonstrating this to me.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lining up the word "subito"

2017-12-23 Thread Ivan Kuznetsov
On Sat, Dec 23, 2017 at 3:10 AM, Andrew Bernard 
wrote:

>> Can't you just use the \column command of \markup to have two
lines? Refer to the Notation Reference (NR). <<

And that is exactly what I wanted to do.  I do read the documentation
but sometimes, things do not leap out at me.



>> Also, with respect, when asking for help on the list people
usually provide an MWE, a minimum working example. ... <<

Your statements here perplexed me as I did provide a working
example, though finally, I suspect that you found my
example two long, was that it?  Well, I wanted to give context,
and it was not too long to copy, paste, and run.

Thank you for your response.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Lining up the word "subito"

2017-12-23 Thread Malte Meyn



Am 23.12.2017 um 10:17 schrieb Malte Meyn:


\version "2.19.65"
\include "english.ly"


A small, slightly off-topic remark on these lines: Instead of \including 
the file english.ly the standard way of setting the note name language 
now (since version 2.14) is using the language command:


\language "english"

\including the file does exactly the same but the file is only there for 
backwards-compatibility (see 
http://lilypond.org/doc/v2.14/Documentation/changes/).


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


Re: Lining up the word "subito"

2017-12-23 Thread Malte Meyn



Am 23.12.2017 um 10:10 schrieb Andrew Bernard:


Also, with respect, when asking for help on the list people usually 
provide an MWE, a minimum working example. For a case like this just a 
note or two would suffice. If you give an MWE it is a lot easier for 
people to help out, as they don't have to scan through large amounts of 
stuff that is irrelevant to the question in hand.


I agree. But it’s (almost) Christmas and I have nothing else to do, so 
here is a small (not really minimal, but this size would be ok IMO to 
show the spacing problem with downwards stems etc.) example which 
contains a possible solution. I aligned the p to the hairpin and put the 
sub. above. For understanding you can delete (or change the values of) 
the \override, \with-dimensions, \text, and \medium commands.


\version "2.19.65"
\include "english.ly"

subP =
#(make-dynamic-script
  #{
\markup
% this decreases the vertical space between sub. and p
\override #'(baseline-skip . 1.5)
% this changes the behaviour of the following line
\override #`(direction . ,UP)
% dir-column is used to align the p to the cresc. and put the sub. 
above

\dir-column {
   % this is already in \dynamic mode because of make-dynamic-script
  p
  % this makes the sub. take less horizontal space so that the
  % cresc. hairpin is extended left below the sub. to reach the p
  \with-dimensions #'(0 . 0.5) #'(0 . 1.5)
  % \text reverts \dynamic, \medium reverts \bold
  \text \medium "sub."
}
  #})

\relative {
  <<
{
  \tuplet 3/2 8 { bf16 d' f a,, cs' fs } r4
} \\ {
  bf,,8\subP\< a g4\f
}
  >>
}

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


Re: Lining up the word "subito"

2017-12-23 Thread Andrew Bernard
Hello Ivan,

Can't you just use the \column command of \markup to have two lines? Refer
to the Notation Reference (NR).

Also, with respect, when asking for help on the list people usually provide
an MWE, a minimum working example. For a case like this just a note or two
would suffice. If you give an MWE it is a lot easier for people to help
out, as they don't have to scan through large amounts of stuff that is
irrelevant to the question in hand.

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