lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simplest way to get notes without staves


From: John Allsup
Subject: Re: Simplest way to get notes without staves
Date: Fri, 22 Jul 2011 22:54:48 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11

Thanks for that, and I intend to get round to learning lilypond-book in latex, but it is more than
I need for what I want to achieve in the near future.

John

On 22/07/11 07:22, Federico Bruni wrote:
You replied just to me, not to the list.
I don't think this is what you wanted to do.

Anyway, now I see what you want to achieve.
You can save directly to an image format, such as svg or png:

lilypond -fpng file.ly
lilypond -dbackend=svg file.ly

(if I remember correctly the synthax, check the Usage manual)

and then crop the part you want to use

If you have a lot of music to be included in your LaTeX document, it's
worth using lilypond-book (again, check Usage manual).

There's someone working on lilypond fonts package for LaTeX. You'll find
some information on the lilypond-user archives.

Sorry, I can't give you specific links, as I'm using a slow Internet
connection.

Cheers,
Federico

Il giorno gio, 21/07/2011 alle 04.35 +0100, John Allsup ha scritto:
Thanks,  exactly what I was after.  I ended up rendering the resulting
PDF as PNG and cropping
to get the bits I wanted, the end result is the attached file.




On 20/07/11 08:31, Federico Bruni wrote:
Il giorno mer, 20/07/2011 alle 07.55 +0100, John Allsup ha scritto:
Hi,

I am new to lilypond and want (so as to have a graphic), a pair of
quavers and a quadruple of
semiquavers just on their own (i.e. no staff or time signature.)  What
is the easiest way to do this
in Lilypond.  (I am aware I could probably find some method, but I have
a habit of finding ugly
hacks when I do this with an unfamiliar system.)

Hi John and welcome to LilyPond!

I recommend to use the index (last appendix on the left menu) in each
manual: it's the quickest way to find the relevant information in the
docs.
If you click on S and search Staff, you'll see "staff, hiding", which
brings to this snippet:

\new Staff \with {
    \remove "Staff_symbol_engraver"
}
\relative c''' { a8 f e16 d c b a2 }

In order to remove the key signature, you have two options:

\override Staff.TimeSignature #'transparent = ##t
\override Staff.TimeSignature #'stencil = ##f

Choose one of them.

The visibility of objects is explained here:
http://lilypond.org/doc/v2.14/Documentation/notation/visibility-of-objects

Cheers,
Federico






reply via email to

[Prev in Thread] Current Thread [Next in Thread]