Re: Changing the text of a TimeSignature

2020-06-05 Thread Paolo Prete
On Fri, Jun 5, 2020 at 4:07 PM David Kastrup wrote: > Paolo Prete writes: > > > Hello, > > > > Is there a way to change displayed text in the TimeSignature's fraction, > > without changing the effective value? > > > > for example, if I have > > > > { \time 3/4 c' c' c' } > > > > I would like to

Re: Changing the text of a TimeSignature

2020-06-05 Thread David Kastrup
Paolo Prete writes: > Hello, > > Is there a way to change displayed text in the TimeSignature's fraction, > without changing the effective value? > > for example, if I have > > { \time 3/4 c' c' c' } > > I would like to display "Foo / Bar" instead of "3 / 4", while preserving > the inner 3/4

Re: Changing the text of a TimeSignature

2020-06-05 Thread Valentin Villenave
On 6/5/20, Paolo Prete wrote: > Is there a way to change displayed text in the TimeSignature's fraction, > without changing the effective value? Yes, by overriding its 'stencil property: http://lsr.di.unimi.it/LSR/Item?id=554 Good luck! Cheers, -- V.

Changing the text of a TimeSignature

2020-06-05 Thread Paolo Prete
Hello, Is there a way to change displayed text in the TimeSignature's fraction, without changing the effective value? for example, if I have { \time 3/4 c' c' c' } I would like to display "Foo / Bar" instead of "3 / 4", while preserving the inner 3/4 structure. Thanks! Best, P

RE: StaffSymbol stops short of end-of-\score TimeSignature or KeySignature

2020-03-22 Thread Daniel Rosen
> -Original Message- > From: Noeck [mailto:noeck.marb...@gmx.de] > Sent: Friday, March 20, 2020 6:33 PM > To: lilypond-user@gnu.org > Subject: Re: StaffSymbol stops short of end-of-\score TimeSignature or > KeySignature > > You could add an invisible spacer rest in

Re: StaffSymbol stops short of end-of-\score TimeSignature or KeySignature

2020-03-20 Thread Noeck
> My question: how can I get the StaffSymbol to continue through the 4/4 > marking at the end of the first \score (and through the key change at the end > of the second), as it does through the 2/4 at the end of the line above? You could add an invisible spacer rest in both cases: \time 4/4 s

StaffSymbol stops short of end-of-\score TimeSignature or KeySignature

2020-03-20 Thread Daniel Rosen
s solution is applied here the results are still not quite right: when everything in my example is uncommented, the cautionary TimeSignatures are no longer vertically aligned because the 4/4 is pushed slightly to the left, there's a little too much space between the right edge of the TimeSignature an

Re: Reverting TimeSignature after box notation

2017-08-05 Thread Erik Natanael Gustafsson
Brilliant! Thanks! Erik lör 5 aug. 2017 kl 21:54 skrev Thomas Morley : > 2017-08-05 21:09 GMT+02:00 Erik Natanael Gustafsson > : > > > Here is the MWE I arraived at (I don't know how much of the structure > code > > is usually posted

Re: Reverting TimeSignature after box notation

2017-08-05 Thread Thomas Morley
2017-08-05 21:09 GMT+02:00 Erik Natanael Gustafsson : > Here is the MWE I arraived at (I don't know how much of the structure code > is usually posted here so I'm posting the whole file with score definition > and all): [skipping the "whole file"] A minimal

Re: Reverting TimeSignature after box notation

2017-08-05 Thread Erik Natanael Gustafsson
Sorry for the confusion. Seems like the first reply I got also only went to me and not to the list. This was written by Holland Hopson: "Hi Erik, Your example doesn’t compile for me. Maybe you can make a minimal working example? I’ve had good results using frameEngraver-bars-and-boxes.ily for

Re: Reverting TimeSignature after box notation

2017-08-05 Thread Thomas Morley
2017-08-05 19:28 GMT+02:00 Erik Natanael Gustafsson : > Whoops, I accidentally sent my reply only to Holland. Here it is again: > > " > Good idea! I made a minimal example Where is it? > and in the process I realised that time > signatures stopped being printed

Re: Reverting TimeSignature after box notation

2017-08-05 Thread Erik Natanael Gustafsson
Whoops, I accidentally sent my reply only to Holland. Here it is again: " Good idea! I made a minimal example and in the process I realised that time signatures stopped being printed after I used "\set Staff.timeSignatureFraction = 4/4" (the box markup had nothing to do with it). Is there any way

Re: Reverting TimeSignature after box notation

2017-08-05 Thread Knute Snortum
You'll probably get more responses if you create a Minimal Working Example (MWE). This is the smallest amount of code that will reproduce the problem. I often find that I stumble over a solution when I'm creating my MWE. --- Knute Snortum (via Gmail) On Thu, Aug 3, 2017 at 3:27 AM, Erik

Reverting TimeSignature after box notation

2017-08-03 Thread Erik Natanael Gustafsson
Hi! I'm working on a piece while learning lilypond. It uses a bit of box notation so I have the time signatures hidden in the beginning, but then I want them back. After using \override Staff.TimeSignature.stencil = ##f to remove my time signatures, I can revert back using \revert

Re: can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread David Kastrup
Kieren MacMillan writes: > Hi Phil, > >> \layout { >> \context { >> \Score >> \remove Mark_engraver >> } >> \context { >> \Staff >> \consists Mark_engraver >> } >> } > > Ah, yes… that would work in that one place. > But in this

Re: can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread Kieren MacMillan
Hi Phil, > \layout { > \context { > \Score > \remove Mark_engraver > } > \context { > \Staff > \consists Mark_engraver > } > } Ah, yes… that would work in that one place. But in this particular score, I’ve got lots of other marks that might/would get messed up

Re: can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread Kieren MacMillan
Hi David, > Well, I don't think that time signatures would be able to take text > scripts but you can modify their grob: Lovely solution — many thanks. Cheers, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email:

Re: can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread Kieren MacMillan
Hi Abraham, >> Did I miss something? > Other than putting \global in-line with each part... ;-) HA! =) > On a more serious note, I wonder if it is possible to re-assign the > TextScript parent? Or, add the TextScript as a child of the TimeSignature? I, too, am curious about t

Re: can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread tisimst
t; Other than putting \global in-line with each part... ;-) On a more serious note, I wonder if it is possible to re-assign the TextScript parent? Or, add the TextScript as a child of the TimeSignature? David's solution is nice, but it makes the first NoteColumn move out due to the increased stencil's X-

Re: can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread Phil Burfitt
- Original Message - From: Kieren MacMillan To: Lilypond-User Mailing List Sent: Monday, April 18, 2016 4:30 PM Subject: can \markup behave like \mark [on a single staff],or attach to TimeSignature Hello all, I have a score where (e.g.) a 12/8 measure is broken up

Re: can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread David Kastrup
of > RehearsalMark], but have it appear only on the Staff it’s added to; or > > 2. attach a TextScript directly to the TimeSignature [so that I don’t have to > manually tweak the #’X-offset] > > ?? Well, I don't think that time signatures would be able to take text scripts but y

Re: can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread Kieren MacMillan
Hi Abraham, > Give this one a try: http://lsr.di.unimi.it/LSR/Item?id=433 I don’t think TextScript has break-alignment possibilities: http://lilypond.org/doc/v2.19/Documentation/internals/textscript And as a RehearsalMark, that will fail to do what I’m hoping (which is different markings for

Re: can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread tisimst
; 1. use \mark instead [so that I can use the auto-align features of > RehearsalMark], but have it appear only on the Staff it’s added to; or > > 2. attach a TextScript directly to the TimeSignature [so that I don’t > have to manually tweak the #’X-offset] > > ?? > Give thi

can \markup behave like \mark [on a single staff], or attach to TimeSignature

2016-04-18 Thread Kieren MacMillan
to the TimeSignature [so that I don’t have to manually tweak the #’X-offset] ?? Thanks in advance for any hints/help, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info

Re: Double timesignature with single-digit

2015-09-23 Thread Andreas Stenberg
double-time-signature "timesig.mensural44" "3") \time 3/4 c8 b c d e f g4 g g g4 a8 g f e d2. \bar "|." } % Adjust the \fontsize value to taste (0 means default size, BTW). Best, Abraham Thanks Abraham. This will work. Also when i mod it t

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Paul, I,ve came up with this, but it doesn't help. Is setting baseline-skip to 0 only way? BEGIN #(define (customTimeSignature grob) (let* ((sz (ly:grob-property grob 'font-size 0.0)) (mult (magstep sz)) (fraction (ly:grob-property grob 'fraction))

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Paul Morris
On Jul 16, 2015, at 3:16 PM, Karol Majewski karo...@wp.pl wrote: Paul, I,ve came up with this, but it doesn't help. Is setting baseline-skip to 0 only way? There might be another way, but if so I’m out of ideas. The following takes the ly:stencil-scale approach, and it doesn’t help here.

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread tisimst
things better than my previous suggestions for any global staff-size, at least it did for me from 10pt to 40pt staff-sizes. - Abraham -- View this message in context: http://lilypond.1069038.n5.nabble.com/Custom-TimeSignature-doesn-t-scale-correctly-tp178710p178722.html Sent from the User mailing

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread tisimst
On Thu, Jul 16, 2015 at 12:46 PM, Paul Morris [via Lilypond] ml-node+s1069038n178711...@n5.nabble.com wrote: On Jul 16, 2015, at 2:18 PM, Karol Majewski [hidden email] http:///user/SendEmail.jtp?type=nodenode=178711i=0 wrote: I use the following code for changing TimeSignature font

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Yes, this is what I'm trying right now :) Probably I'll stick to that, as it's the most natural way of changing the font. Thanks. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Paul Morris
On Jul 16, 2015, at 2:18 PM, Karol Majewski karo...@wp.pl wrote: I use the following code for changing TimeSignature font. But when it comes to changeing staff size via 'magstep', the TimeSignature doesn't scale correctly. It seems that baseline-skip remains the same. How can I fix

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread tisimst
.1069038.n5.nabble.com/attachment/178720/0/image.png -- View this message in context: http://lilypond.1069038.n5.nabble.com/Custom-TimeSignature-doesn-t-scale-correctly-tp178710p178720.html Sent from the User mailing list archive at Nabble.com.___ lilypond

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread tisimst
! - Abraham image.png (50K) http://lilypond.1069038.n5.nabble.com/attachment/178717/0/image.png -- View this message in context: http://lilypond.1069038.n5.nabble.com/Custom-TimeSignature-doesn-t-scale-correctly-tp178710p178717.html Sent from the User mailing list archive at Nabble.com

Odp: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
OK, so with abs-fontsize it scales properly, but if I set global staff size _higher_ than default (20) then it doesn't scale. % BEGIN %% #(define (customTimeSignature grob) (let* ((sz (ly:grob-property grob 'font-size 0.0)) (mult (magstep sz)) (fraction

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Paul Morris
On Jul 16, 2015, at 2:45 PM, Paul Morris p...@paulwmorris.com wrote: Hi, when overriding a grob’s stencil, you have to scale the new stencil by the current font-size. Hmmm, on second thought, it looks like grob-interpret-markup already takes care of scaling the new stencil to the current

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Yes, Abraham, I've tried this. But the drawback of this solution is thet it doesn't scale to bigger staff size. Try: #(set-global-staff-size 26) and you'll get what I mean. -- Karol ___ lilypond-user mailing list lilypond-user@gnu.org

Odp: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
I'd like to avoid setting baseline-skip to 0, as it results in specing issues between num and denom (denom is bit misaligned vertically). ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Custom TimeSignature doesn't scale correctly

2015-07-16 Thread Karol Majewski
Abraham, I'll try to explain why setting baseline-skip to 0 is a bad idea here. Take a look at the attachment. This is what is happening if you set baseline-skip to 0. In case of some other fonts difference between 'a' and 'b' is more noticeable. So we need to have baseline skip set to 2 to have

Re: svg font issue(bug?): can't change TimeSignature font (but markup fonts can be changed)

2015-04-29 Thread padovani
So... I discovered that the TimeSignature issue is related to the fact that it is not being written as text to the svg file, but as a path. If I use this code I can create a svg file with different fonts for the time signature, overriding the stencil with a text: %% BEGIN CODE 1 \score

Re: svg font issue(bug?): can't change TimeSignature font (but markup fonts can be changed)

2015-04-29 Thread Dan Eble
On Apr 29, 2015, at 16:48 , padovani zepadovani.li...@gmail.com wrote: So... I discovered that the TimeSignature issue is related to the fact that it is not being written as text to the svg file, but as a path. If I use this code I can create a svg file with different fonts for the time

Re: svg font issue(bug?): can't change TimeSignature font (but markup fonts can be changed)

2015-04-29 Thread padovani
Nice! Thank you!! 2015-04-29 20:02 GMT-03:00 Dan Eble d...@faithful.be: On Apr 29, 2015, at 16:48 , padovani zepadovani.li...@gmail.com wrote: So... I discovered that the TimeSignature issue is related to the fact that it is not being written as text to the svg file, but as a path

Re: svg font issue(bug?): can't change TimeSignature font (but markup fonts can be changed)

2015-04-28 Thread Dan Eble
On Apr 28, 2015, at 13:37 , padovani zepadovani.li...@gmail.com wrote: Hi, But the code below one gives me an error if I compile with -dbackend=svg [snip] (I'm using 2.19.19 on OSX 10.9.5.) PDF output doesn’t even work for me on OSX 10.10.3: GNU LilyPond 2.19.19 Processing

svg font issue(bug?): can't change TimeSignature font (but markup fonts can be changed)

2015-04-28 Thread padovani
Hi, This code compiles on .ps /.svg backends without problems: %code 1 \score { \new Staff { \time 2/4 c2_\markup { \override #'(font-name . Helvetica) here it works } } } %end code 1 But the code below one gives me an error if I compile with -dbackend=svg %code2 \score { \new Staff {

content versus presentation in music and Lilypond (was Re: forcing TimeSignature visibility)

2015-04-13 Thread Kieren MacMillan
[n.b. None of the referenced images are attached to this post, since the moderator has told me that 186KB is “huge”. Anyone interested in seeing the images can contact me directly, or perhaps recommend a website which will allow me to upload such images for public viewing/linking.] Hi Andrew,

Re: content versus presentation in music and Lilypond (was Re: forcing TimeSignature visibility)

2015-04-13 Thread Mark Knoop
At 13:59 on 13 Apr 2015, Kieren MacMillan wrote: The “presentation layer” comprises, in part, choices that must be made to physically represent the content on the page, given the page geometry, clarity considerations, etc. In this Piano/Conductor engraving/presentation, m. 4 immediately follows a

Re: content versus presentation in music and Lilypond (was Re: forcing TimeSignature visibility)

2015-04-13 Thread Mark Knoop
At 19:58 on 13 Apr 2015, Mark Knoop wrote: At 13:59 on 13 Apr 2015, Kieren MacMillan wrote: The “presentation layer” comprises, in part, choices that must be made to physically represent the content on the page, given the page geometry, clarity considerations, etc. In this Piano/Conductor

forcing TimeSignature visibility

2015-04-11 Thread Kieren MacMillan
Hi all, From time to time in the score I’m currently engraving, I want to force the time signature to “reappear” in a particular measure even though the time signature is not changing at that moment. I don’t want to add a new \time command in the note code (which, I believe, might solve the

Constraining widths of layout objects (TimeSignature)

2013-04-04 Thread Hanns Holger Rutz
I'm staring at http://lilypond.org/doc/v2.12/Documentation/user/lilypond-learning/Size-of-objects#Size-of-objects but there is no information about how to constrain the width of objects. I would like to adjust the width of a time signature. I randomly tried \score { \new

Re: Constraining widths of layout objects (TimeSignature)

2013-04-04 Thread David Nalesnik
the possible overrides for Staff.TimeSignature? For 2.12, you can find information here: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-internals/TimeSignature#TimeSignature --David ___ lilypond-user mailing list lilypond-user@gnu.org https

Re: Constraining widths of layout objects (TimeSignature)

2013-04-04 Thread Hanns Holger Rutz
I've got it: \context { \Score \override TimeSignature #'X-extent = #'(0 . 3) } that does it. and I think this is the file I was looking for: http://www.lilypond.org/doc/v2.16/Documentation/internals/grob_002dinterface best, .h.h. On 4 Apr 2013, at 16:29, David Nalesnik

custom ledger lines (was: wrong placement of timesignature (since 2.16))

2012-09-01 Thread Keith OHara
Gagi Petrovic mail at gagipetrovic.nl writes:    \override Staff.StaffSymbol #'line-positions = #'(-4 4)     \override Staff.StaffSymbol #'ledger-positions = #'(0) At first I thought Gagi wanted ledgers on notes at the center of his open staff, and nowhere else. Then I remembered how

wrong placement of timesignature (since 2.16)

2012-08-28 Thread Gagi Petrovic
Dear ponder, first of all: thank you for the newest version! I noticed though, that since 2.16, the placement of TimeSignature is off in custom line-positions. I added an example to clarify this. Is this is bug or due to some new underlying mechanic? Thank you! Kind regards, Gagi \version

Re: wrong placement of timesignature (since 2.16)

2012-08-28 Thread Phil Holmes
- Original Message - From: Gagi Petrovic To: lilypond-user@gnu.org Sent: Tuesday, August 28, 2012 9:58 AM Subject: wrong placement of timesignature (since 2.16) Dear ponder, first of all: thank you for the newest version! I noticed though, that since 2.16, the placement

Re: wrong placement of timesignature (since 2.16)

2012-08-28 Thread Colin Hall
On Tue, Aug 28, 2012 at 11:03:08AM +0100, Phil Holmes wrote: - Original Message - From: Gagi Petrovic To: lilypond-user@gnu.org Sent: Tuesday, August 28, 2012 9:58 AM Subject: wrong placement of timesignature (since 2.16) Dear ponder, first of all: thank you for the newest version

Re: TimeSignature Event

2011-08-14 Thread Jan-Peter Voigt
)) (begin (set! time-signature (ly:engraver-make-grob trans 'TimeSignature '())) (set! (ly:grob-property time-signature 'fraction) frac) (set! (ly:grob-property time-signature 'stencil

Re: TimeSignature Event

2011-08-14 Thread Neil Puttock
should suffice since the time signature fraction is passed to TimeSignature via the property 'fraction: \override TimeSignature #'stencil = #(lambda (grob) (let ((frac (ly:grob-property grob 'fraction))) (grob-interpret-markup grob (markup #:translate '(0 . 2) #:concat

Re: TimeSignature Event

2011-08-14 Thread Jan-Peter Voigt
Am 14.08.2011 um 12:52 schrieb Neil Puttock: I don't think you need a new engraver for this; overriding the stencil should suffice since the time signature fraction is passed to TimeSignature via the property 'fraction: Of course, I came via the scheme-engraver-street and didn't saw

Re: TimeSignature Event

2011-08-13 Thread Neil Puttock
On 13 August 2011 10:27, Jan-Peter Voigt jp.vo...@gmx.de wrote: So my question is: How do I catch the right event and get the time sig probs to display? There's no event* for time signatures; they're generated when certain context properties change. See the scheme engraver I posted here for

problem with beam-groups in 5/8 timeSignature

2009-06-15 Thread Stefan Thomas
Dear community, I have a problem with different Beam-Gruops in different 5/8-bars. The first bar looks lke expected, the 2nd doesn't. How can I change the 2nd Bar to proper beam-groups of 3+2 8th-notes? Here the example: \version 2.13.0 \layout { \context { \Staff \consists

Re: problem with beam-groups in 5/8 timeSignature

2009-06-15 Thread Trevor Daniels
Stefan Thomas wrote Monday, June 15, 2009 4:11 PM Dear community, I have a problem with different Beam-Gruops in different 5/8-bars. The first bar looks lke expected, the 2nd doesn't. How can I change the 2nd Bar to proper beam-groups of 3+2 8th-notes? Here the example: \version 2.13.0

Changing TimeSignature style from top-level?

2009-04-22 Thread Thomas Scharkowski
Hi list, I have a number of seperate files which call a header-paper.ly file with common settings (e.g. line-width, #(ly:set-option 'backend 'eps) and so on. Now I want to change the TimeSignature style to numeric for all these files. Is it possible to do this from the included file, so

Re: Changing TimeSignature style from top-level?

2009-04-22 Thread Graham Percival
On Wed, Apr 22, 2009 at 03:29:08PM +0200, Thomas Scharkowski wrote: Now I want to change the TimeSignature style to numeric for all these files. Is it possible to do this from the included file, so that I do not have to paste \numericTimeSignature or \override Staff.TimeSignature #'style

Re: TimeSignature with white border?

2009-04-10 Thread Mark Polesky
Mark Polesky wrote: Regarding snippet candidacy, I was thinking it would be better to allow the padding to be modified on-the-fly, but it's not a big priority. moved to new thread: http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00383.html

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Robin Bannister
Wei-Wei Guo wrote: I still have no idea how to input some music symbols, such as a short piece of pure staff, timesignature, keysignature, and so on. Search the snippet repository for engravers. In particular, try out the (complete) snippet in http://lsr.dsi.unimi.it/LSR/Item?id=280

Re: TimeSignature with white border?

2009-04-07 Thread Trevor Daniels
Snippet? Trevor - Original Message - From: Kieren MacMillan kieren_macmil...@sympatico.ca To: Mark Polesky markpole...@yahoo.com Cc: lilypond-user Mailinglist lilypond-user@gnu.org Sent: Tuesday, April 07, 2009 4:25 AM Subject: Re: TimeSignature with white border? Mark, This one

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Wei-Wei Guo
is a problem. It's only one example of many symbols that hard to input. Could someone give any advice? Thanks in advance! Best wishes, Wei-Wei Robin Bannister : Wei-Wei Guo wrote: I still have no idea how to input some music symbols, such as a short piece of pure staff, timesignature

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Cameron Horsburgh
On Tue, Apr 07, 2009 at 09:37:40PM +0800, Wei-Wei Guo wrote: Dear Robin and all, Thanks for your reply. I'm new to Lilypond. It cost me some time to understand the snippet in your link. As I understand, the snippet is manipulating engraver by restricting their appearance. It's a similar

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Wei-Wei Guo
The attached tar file is my example, which is in HTML format. The example has two PNG files which are all generated by Lilypond. The first is a single G clef, which is put in the normal text. The second is a piece of music script, which has its own line. My problem is related to the first kind.

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Mats Bengtsson
You didn't really answer the question, namely exactly how you used LilyPond to generate the PNG files (the input file and the commands you used to produce the output). Please note that lilypond-book is one option to produce HTML pages with embedded LilyPond code. /Mats Wei-Wei Guo wrote:

Re: How to input keysignature or timesignature in \markup?

2009-04-07 Thread Wei-Wei Guo
Sorry for that. I generate the PNG files by the following command: lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --png target.ly The command is called from other software package(Sphinx). The 'target.ly' file is generated by inserting the content, for example \musicglyph

Re: TimeSignature with white border?

2009-04-07 Thread Kieren MacMillan
Snippet? Definitely! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: TimeSignature with white border?

2009-04-07 Thread Neil Puttock
2009/4/7 Kieren MacMillan kieren_macmil...@sympatico.ca: Snippet? Definitely! Kieren. This will make an excellent snippet if it's amended slightly. :) I hope Mark didn't spend too long working out the stencil overrides, as there's already the public function stencil-whiteout (used for the

Re: TimeSignature with white border?

2009-04-07 Thread Kieren MacMillan
Neil, I hope Mark didn't spend too long working out the stencil overrides, as there's already the public function stencil-whiteout (used for the markup command \whiteout) which will do the job in one fell swoop: \override Staff.Clef #'stencil = #(lambda (grob) (stencil-whiteout

Re: TimeSignature with white border?

2009-04-07 Thread Mark Polesky
Neil Puttock wrote: I hope Mark didn't spend too long working out the stencil overrides, as there's already the public function stencil-whiteout (used for the markup command \whiteout) which will do the job in one fell swoop... Neil, don't worry about my time! :} It seems my

Re: TimeSignature with white border?

2009-04-07 Thread Neil Puttock
2009/4/7 Mark Polesky markpole...@yahoo.com: Neil, don't worry about my time! :} It seems my programming style is reinventing the wheel but sometimes I think that's a good way to learn. Indeed, I've done a lot of that myself. :) By the way, one benefit of my approach is that you can

Re: TimeSignature with white border?

2009-04-06 Thread Mark Polesky
This one is a little better. - Mark \version 2.13.0 #(define (whiteout-clef-stil grob) (let* ((x-pad 0.3) (this-stil (ly:clef::print grob)) (stil-x-ext (ly:stencil-extent this-stil 0)) (stil-y-ext (ly:stencil-extent this-stil 1)) (box-x-ext

How to input keysignature or timesignature in \markup?

2009-04-06 Thread Wei-Wei Guo
Dear all, I need to input music symbols in my learning notes. Although \musicglyph helps a lot, I still have no idea how to input some music symbols, such as a short piece of pure staff, timesignature, keysignature, and so on. Could you give me any suggestions? Thanks in advance! Best wishes

Re: TimeSignature with white border?

2009-04-06 Thread Kieren MacMillan
Mark, This one is a little better. You rock -- thanks! Kieren. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user

TimeSignature with white border?

2009-04-05 Thread Kieren MacMillan
Hi all, Is there a way to have the TimeSignature stencil output with a thin white border? That way, you could stack Slur, TimeSignature, and StaffSymbol grobs, and the Slur would look like it disappeared behind the TimeSignature. Thanks, Kieren

Re: TimeSignature with white border?

2009-04-05 Thread Mark Polesky
From: Kieren MacMillan Is there a way to have the TimeSignature stencil output with a thin white border? That way, you could stack Slur, TimeSignature, and StaffSymbol grobs, and the Slur would look like it disappeared behind the TimeSignature. Will using markup suffice? \version 2.13.0

Re: TimeSignature with white border?

2009-04-05 Thread Kieren MacMillan
Hi Mark, Will using markup suffice? I've been doing something similar... However, I'd like an automated way of outlining any #'stencil -- maybe it's a task I can accomplish as a Frog? Cheers, Kieren. \version 2.13.0 \markup \combine \musicglyph #clefs.G \whiteout \pad-markup #0.75

Re: TimeSignature with white border?

2009-04-05 Thread Mark Polesky
From: Kieren MacMillan However, I'd like an automated way of outlining any #'stencil -- maybe it's a task I can accomplish as a Frog? Kieren, Here's something to fiddle with. Just a start, but you could develop it more if you're interested. Hope it helps - Mark \version 2.13.0 #(define

Re: long text in composer / invisible TimeSignature

2009-02-09 Thread Robin Bannister
Zbyněk Burget wrote: Splitting it onto two lines is unavailing. Therefore i want way to expanding width of this line. The default layout puts poet, instrument and composer all on one line. This is not compatible with the length of your composer text. Even if instrument is unused, its

RE: long text in composer / invisible TimeSignature

2009-02-09 Thread Nick Payne
@gnu.org] On Behalf Of Robin Bannister Sent: Monday, 9 February 2009 21:11 To: Zbyněk Burget; Lilypond Subject: Re: long text in composer / invisible TimeSignature Zbyněk Burget wrote: Splitting it onto two lines is unavailing. Therefore i want way to expanding width of this line

Re: long text in composer / invisible TimeSignature

2009-02-08 Thread Robin Bannister
Zbyněk Burget wrote: How I can write long text to composer to header? Try composer = \markup \right-align Some long text ... If this isn't what you want, have a look at NR 3.2.1 where the demo splits the composer text onto two lines using \center-column. Why don't hide TimeSignature? I

Re: long text in composer / invisible TimeSignature

2009-02-08 Thread Zbyněk Burget
TimeSignature? I think this is because - break-visibility is (mainly) to do with responding to line breaks, - the start of the first line does not involve a line break. Not very convincing? Read more in NR 5.4.6 / Using break-visibility. ^ I read it number of times

Re: long text in composer / invisible TimeSignature

2009-02-08 Thread Zbyněk Burget
Marek Klein napsal(a): Hi, \score { \new Staff { \clef treble \key c \major \override Staff.TimeSignature #'stencil = ##f \relative g'{ \cadenzaOn g4 g g g g g g g g g \bar |. } } } \score { \new Staff { \clef treble \key c \major \relative g'{ \cadenzaOn g4 g g g g g g g

long text in composer / invisible TimeSignature

2009-02-07 Thread Zbyněk Burget
Hi, I've two new problems. 1. How I can write long text to composer to header? 2. Why don't hide TimeSignature? Zbynek \version 2.12.2 \header{ composer = Some long text. Long, long, long, long, long, long, long, long, long. } \score { \new Staff { \clef treble \key c \major

Re: long text in composer / invisible TimeSignature

2009-02-07 Thread Marek Klein
. How I can write long text to composer to header? 2. Why don't hide TimeSignature? Zbynek \version 2.12.2 \header{ composer = Some long text. Long, long, long, long, long, long, long, long, long. } \score { \new Staff { \clef treble \key c \major \override

Re: TimeSignature as fraction: gap between numerator and denominator - solution

2008-02-19 Thread Mats Bengtsson
Werner wrote: (My opinion: That should be default layout.) The opinion of the main LilyPond developers is to use hand-engraved scores by the main German publishers as the inpiration when deciding on the layout, see for example

Re: TimeSignature as fraction: gap between numerator and denominator - solution

2008-02-19 Thread Werner
Mats Bengtsson mats.bengtsson at ee.kth.se writes: Werner wrote: (My opinion: That should be default layout.) The opinion of the main LilyPond developers is to use hand-engraved scores by the main German publishers as the inpiration when deciding on the layout, see for example

Re: TimeSignature as fraction: gap between numerator and denominator

2008-02-18 Thread Mats Bengtsson
It sounds as if you have stumbled across some font related bug. See the section on Time Signature in the manual, for an example of what layout LilyPond should give. What LilyPond version and what operating system do you use? Werner wrote: Hello, I used 4/4 instead of C via \override

Re: TimeSignature as fraction: gap between numerator and denominator - solution

2008-02-18 Thread Werner
Mats wrote: I believe the LilyPond default layout agrees well with common typesetting standard. However, LilyPond is a very flexible tool so you can get another layout if you prefer. One method is to use the trick described in Polymetric notation as a starting point, which could result in

TimeSignature as fraction: gap between numerator and denominator

2008-02-17 Thread Werner
Hello, I used 4/4 instead of C via \override Staff.TimeSignature #'style = #'() but the cyphers were huge. So I added \override Staff.TimeSignature #'font-size = #-2 But while the cyphers now are smaller, the numerator-4 stands still very close on the top of the denominator-4 without any gap,

Re: Changing TimeSignature numerator and denominator

2006-08-25 Thread Mats Bengtsson
versions print as 2/4. %%% BEGIN %%% \version 2.9.13 \new Staff { %\once \override TimeSignature #'fraction = #'(7 . 16) %\once \override Staff.TimeSignature #'fraction = #'(7 . 16) \once \override Score.TimeSignature #'fraction = #'(7 . 16) \time 2/4 c'4 c'4

Changing TimeSignature numerator and denominator

2006-08-24 Thread Trevor Bača
Hi, Is there a way to change the printed numerator and denominator of a time signature? Seems like something here should do it, but all versions print as 2/4. %%% BEGIN %%% \version 2.9.13 \new Staff { %\once \override TimeSignature #'fraction = #'(7 . 16) %\once \override

Re: Changing TimeSignature numerator and denominator

2006-08-24 Thread Mats Bengtsson
%%% \version 2.9.13 \new Staff { %\once \override TimeSignature #'fraction = #'(7 . 16) %\once \override Staff.TimeSignature #'fraction = #'(7 . 16) \once \override Score.TimeSignature #'fraction = #'(7 . 16) \time 2/4 c'4 c'4 } %%% END %%% -- Trevor Bača [EMAIL PROTECTED

Re: Changing TimeSignature numerator and denominator

2006-08-24 Thread Trevor Bača
print as 2/4. %%% BEGIN %%% \version 2.9.13 \new Staff { %\once \override TimeSignature #'fraction = #'(7 . 16) %\once \override Staff.TimeSignature #'fraction = #'(7 . 16) \once \override Score.TimeSignature #'fraction = #'(7 . 16) \time 2/4 c'4 c'4 } %%% END %%% -- Trevor

Re: Changing TimeSignature numerator and denominator

2006-08-24 Thread Trevor Bača
of a time signature? Seems like something here should do it, but all versions print as 2/4. %%% BEGIN %%% \version 2.9.13 \new Staff { %\once \override TimeSignature #'fraction = #'(7 . 16) %\once \override Staff.TimeSignature #'fraction = #'(7 . 16) \once \override

Re: reducing space taken up by TimeSignature

2006-06-16 Thread Mats Bengtsson
One alternative is to do: \override TimeSignature #'X-extent = #'(0 . 0) /Mats Kieren MacMillan wrote: Hello, all -- What is the best way to reduce the space taken up by a TimeSignature? e.g., to reduce or eliminate the space under each TS in the attached example I tried

  1   2   >