lilypond-user
[Top][All Lists]

## Re: questions about horizontal spacing (correct msg)

 From: Mats Bengtsson Subject: Re: questions about horizontal spacing (correct msg) Date: Thu, 02 Oct 2008 00:40:36 +0200 User-agent: Thunderbird 2.0.0.16 (X11/20080724)

```A good starting point is to read about "scaling durations"
http://lilypond.org/doc/v2.11/Documentation/user/lilypond/Scaling-durations#Scaling-durations
```
in the manual. For the first request, you could then use something along the lines of
```{c c c c |
s4. c4*1/4 c c c s4. |
c c c c |}
```
which spaces the notes in the second measure as if they were 16th notes. This will not result in exactly the mathematical spacing you describe, but may be close enough. If you really want such exact spacing, you also have to combine this technique with the support for proportional note spacing.
```
/Mats

Luca Rossi wrote:
```
```Hi .
```
(I'm sorry if I send again this message but some errors occurred while sending the previous one)
```
Given these three bars:

{c c c c | c c c c | c c c c}

with the following output:

o    o    o    o    |     o    o    o    o    |    o    o    o    o

--measureLength---

```
1) I would like to change the notes' spacing inside the second bar in this way:
```
o    o    o    o    |         o o o o         |    o    o    o    o
--measureLength---

where pad = measureLength/3 and measureLength remains the same.

```
2) I would like to change the notes' spacing inside the second bar in this other way:
```
o    o    o    o    |    o o o            o    |    o    o    o    o
A B C           D
--measureLength---

```
where A and D (=notes) have their normal position, while B C form a group with A which is proportionally "compressed" with a given scale factor. And measure length remains the same.
```

Which is the easiest solution for both problems?
Thanks,
Luca

------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
http://lists.gnu.org/mailman/listinfo/lilypond-user
```
```

--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax:   (+46) 8 790 7260