With \markup { \score { can I separately control the score size?

2014-06-29 Thread Richard Shann
When \markup contains a musical quote as a \score block the size of the music would generally need to be smaller than the main score. I have got as far as putting #(layout-set-staff-size 12) in the layout block of the \markup \score , but that's got obvious problems as does using \new Staff

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Pierre Perol-Schneider
2014-06-29 11:09 GMT+02:00 Richard Shann rich...@rshann.plus.com: Any clues how to do this? \version 2.18.2 \markup\scale #'(.5 . .5) { \score { \new Staff { c''1 } \layout {} } } \version 2.19.8 \markup\scale #'(.5 . .5) { \score {

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Richard Shann
That works great, thank you. The only further tweak I needed was to put \large before the text so that text comes out at a normal size with the music reduced. Richard On Sun, 2014-06-29 at 11:40 +0200, Pierre Perol-Schneider wrote: 2014-06-29 11:09 GMT+02:00 Richard Shann

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Pierre Perol-Schneider
2014-06-29 13:42 GMT+02:00 Richard Shann rich...@rshann.plus.com: That works great, thank you. The only further tweak I needed was to put \large before the text so that text comes out at a normal size with the music reduced. I'm trying to make an easy function for (without success) :

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread David Kastrup
Pierre Perol-Schneider pierre.schneider.pa...@gmail.com writes: 2014-06-29 13:42 GMT+02:00 Richard Shann rich...@rshann.plus.com: That works great, thank you. The only further tweak I needed was to put \large before the text so that text comes out at a normal size with the music reduced.

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread David Nalesnik
Hi, On Sun, Jun 29, 2014 at 8:35 AM, David Kastrup d...@gnu.org wrote: Pierre Perol-Schneider pierre.schneider.pa...@gmail.com writes: 2014-06-29 13:42 GMT+02:00 Richard Shann rich...@rshann.plus.com: That works great, thank you. The only further tweak I needed was to put \large before

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Pierre Perol-Schneider
2014-06-29 15:35 GMT+02:00 David Kastrup d...@gnu.org: LilyPond says :Expect: 2, found 1: ((0.5 . 0.5)) No, it doesn't. It says: fatal error: make-scale-markup: Wrong number of arguments. Expect: 2, found 1: ((0.5 . 0.5)) Ok Then mySize is declared as a music function, but if it

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Pierre Perol-Schneider
Hi, 2014-06-29 15:40 GMT+02:00 David Nalesnik david.nales...@gmail.com: This is what I got: Ok, thanks, but I'd like to find something like : \mySize #.5 \Score ... without \markup in order to find an alternate code as : http://lsr.di.unimi.it/LSR/Item?id=862 Cheers, Pierre

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Thomas Morley
2014-06-29 15:57 GMT+02:00 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com: Hi, 2014-06-29 15:40 GMT+02:00 David Nalesnik david.nales...@gmail.com: This is what I got: Ok, thanks, but I'd like to find something like : \mySize #.5 \Score ... without \markup in order to find an

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread David Kastrup
Pierre Perol-Schneider pierre.schneider.pa...@gmail.com writes: Hi, 2014-06-29 15:40 GMT+02:00 David Nalesnik david.nales...@gmail.com: This is what I got: Ok, thanks, but I'd like to find something like : \mySize #.5 \Score ... without \markup in order to find an alternate code as :

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Pierre Perol-Schneider
Hi Harm, 2014-06-29 16:03 GMT+02:00 Thomas Morley thomasmorle...@gmail.com: are you aware that we have two commands called `score'? One is a music-function the other a markup-command. No I arn't. I don't think you can replace the LSR-snippet-code with one outputting a markup. It's

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Pierre Perol-Schneider
2014-06-29 16:10 GMT+02:00 David Kastrup d...@gnu.org: That does not make even sense as a rationale since the synopsis used in that snippet is utterly different. Ok. ___ lilypond-user mailing list lilypond-user@gnu.org

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread David Kastrup
Thomas Morley thomasmorle...@gmail.com writes: \version 2.19.8 mySize = #(define-scheme-function (parser location nmbr score) (number? ly:score?) (markup #:scale (cons nmbr nmbr) #:score score)) \mySize #.5 \score { c''1 \layout {} %% needed even with 2.19.8 Because the

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Pierre Perol-Schneider
2014-06-29 16:17 GMT+02:00 David Kastrup d...@gnu.org: You can get away without it by letting the parser deal with the score markup: Thanks, ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Weird spacing related to barlines

2014-06-29 Thread Phil Holmes
- Original Message - From: Keith OHara k-ohara5...@oco.net To: lilypond-user@gnu.org Sent: Sunday, June 29, 2014 4:32 AM Subject: Re: Weird spacing related to barlines Phil Holmes mail at philholmes.net writes: Can anyone explain what's going on here? \score { \new MensuralStaff {

Re: How to place markup and crescendo one after the other?

2014-06-29 Thread Jacques Menu
Hello Thomas and Knute, Thanks, Thomas’ solution is exactly what I needed! JM Le 28 juin 2014 à 19:41, Thomas Morley thomasmorle...@gmail.com a écrit : 2014-06-28 18:41 GMT+02:00 Jacques Menu imj-muz...@bluewin.ch: Hello folks, I’d like to have « a tempo » and then the cresc sign, instead

Text inside hairpin

2014-06-29 Thread Javier Ruiz-Alma
How can text be placed inside a hairpin? See image for sample. \version 2.18.2 { c''\ c'' c''-\markup \teeny \italic cresc. c''\! } ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Text inside hairpin

2014-06-29 Thread Pierre Perol-Schneider
2014-06-29 17:12 GMT+02:00 Javier Ruiz-Alma jav...@ruiz-alma.com: How can text be placed inside a hairpin? See image for sample. %%% \version 2.18.2 { \once\override Hairpin.height = #1.2 c''\ c'' \once\override TextScript.extra-offset = #'(0 . 2) c''-\markup

Re: Text inside hairpin

2014-06-29 Thread Richard Shann
On Sun, 2014-06-29 at 18:36 +0200, Pierre Perol-Schneider wrote: 2014-06-29 17:12 GMT+02:00 Javier Ruiz-Alma jav...@ruiz-alma.com: How can text be placed inside a hairpin? See image for sample. %%% \version 2.18.2 {

What is it with \bar ||?

2014-06-29 Thread Patrick or Cynthia Karl
I recently had a problem with a \bar || at the end of a line suppressing the initial repeat sign in the following repeat volta section. The answer was to use some magical \bar instead which cured the problem. It was not clear to me then why the \bar || seemed to cause the following section to

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Paul Morris
Hi all, Is this way of scaling a score (by putting it inside a markup) the best way to do it, if you want to keep all of the proportions strictly consistent at different sizes? The approach in the staffSize snippet does not keep the proportions consistent, which becomes apparent at larger

Re: What is it with \bar ||?

2014-06-29 Thread Thomas Morley
2014-06-29 20:08 GMT+02:00 Patrick or Cynthia Karl pck...@mac.com: I recently had a problem with a \bar || at the end of a line suppressing the initial repeat sign in the following repeat volta section. The answer was to use some magical \bar instead which cured the problem. It was not

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Pierre Perol-Schneider
Hi Paul, 2014-06-29 19:10 GMT+02:00 Paul Morris p...@paulwmorris.com: Examples of three different ways to scale a staff to twice its size: Thanks for the tip Paul. Il keep it for a future snippet in the LSR v2.20 (just 2 ways if you don't mind). Cheers, Pierre \version 2.19.8 %=

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Thomas Morley
2014-06-29 19:10 GMT+02:00 Paul Morris p...@paulwmorris.com: Hi all, Is this way of scaling a score (by putting it inside a markup) the best way to do it, if you want to keep all of the proportions strictly consistent at different sizes? The approach in the staffSize snippet does not keep

Re: Defining a command to perform a TextSpanner

2014-06-29 Thread Martyn Quick
Thanks for the response.  That works exactly as I wanted. I've no idea why it does though.  What does the minus sign do? How on earth does startPM know where to stop the definition? Is the blank line needed? I was trying something like: stopPM = { \stopTextSpan } but that gave me an error

Re: What is it with \bar ||?

2014-06-29 Thread Thomas Morley
2014-06-29 20:52 GMT+02:00 Thomas Morley thomasmorle...@gmail.com: 2014-06-29 20:08 GMT+02:00 Patrick or Cynthia Karl pck...@mac.com: I recently had a problem with a \bar || at the end of a line suppressing the initial repeat sign in the following repeat volta section. The answer was to use

RE: Text inside hairpin

2014-06-29 Thread Javier Ruiz-Alma
Pierre Perol-Schneider wrote: How can text be placed inside a hairpin? See image for sample. %%% \version 2.18.2 { \once\override Hairpin.height = #1.2 c''\ c'' \once\override TextScript.extra-offset = #'(0 . 2)

Re: Text inside hairpin

2014-06-29 Thread Janek Warchoł
There's a snippet doing this in OpenLilyLib: https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/hairpin-with-text 2014-06-29 18:36 GMT+02:00 Pierre Perol-Schneider pierre.schneider.pa...@gmail.com: 2014-06-29 17:12 GMT+02:00 Javier Ruiz-Alma jav...@ruiz-alma.com: How can

RE: Text inside hairpin

2014-06-29 Thread Javier Ruiz-Alma
The scheme funct. places text outside the hairpin. I was looking for some command for either hairpin or text that would turn off collision avoidance, and allow overlaying one over the other, but didn't succeed in my search. I can imagine creating scheme for inside the hairpin would be a

Re: Text inside hairpin

2014-06-29 Thread Janek Warchoł
2014-06-30 0:32 GMT+02:00 Javier Ruiz-Alma jav...@ruiz-alma.com: The scheme funct. places text outside the hairpin. Huh?? Have you looked at example usage of that snippet, available under the link? At the end there's a case with text inside Hairpin, and it works with 2.18.2 and 2.19.9 on my

Re: With \markup { \score { can I separately control the score size?

2014-06-29 Thread Simon Albrecht
Am 29.06.2014 19:10, schrieb Paul Morris: Hi all, Is this way of scaling a score (by putting it inside a markup) the best way to do it, if you want to keep all of the proportions strictly consistent at different sizes? The approach in the staffSize snippet does not keep the proportions

RE: Text inside hairpin

2014-06-29 Thread Javier Ruiz-Alma
user error! Reviewed the cited LSR instead of staying at openlilylib...my bad. Thanks for not letting me go without a shake. Javier From: Janek Warchoł [mailto:janek.lilyp...@gmail.com] 2014-06-30 0:32 GMT+02:00 Javier Ruiz-Alma jav...@ruiz-alma.com: The scheme funct. places text outside

Re: lilypond-user Digest, Vol 139, Issue 116

2014-06-29 Thread Patrick or Cynthia Karl
Message: 2 Date: Sun, 29 Jun 2014 22:04:05 +0200 From: Thomas Morley thomasmorle...@gmail.com Subject: Re: What is it with \bar ||? Actually it is a little more complicated. First of all let me say that I appreciate everyone's patience with me. I have learned more that I thought I

Re: What is it with \bar ||?

2014-06-29 Thread Patrick or Cynthia Karl
Sorry for not having changed the subject appropriately. On Jun 29, 2014, at 9:40 PM, Patrick or Cynthia Karl wrote: Message: 2 Date: Sun, 29 Jun 2014 22:04:05 +0200 From: Thomas Morley thomasmorle...@gmail.com Subject: Re: What is it with \bar ||? Actually it is a little more

Re: lilypond-user Digest, Vol 139, Issue 116

2014-06-29 Thread Jay Anderson
On Sun, Jun 29, 2014 at 7:40 PM, Patrick or Cynthia Karl pck...@mac.com wrote: Second, it seems to me that this topic is much more complicated that it ought to be. Many seemingly simple things become complicated when you finally dig into the details. The goal is to control the complexity.