lilypond-user
[Top][All Lists]

## Re: Distance of a grob from its reference point

 From: Aaron Hill Subject: Re: Distance of a grob from its reference point Date: Thu, 16 Jan 2020 14:34:44 -0800 User-agent: Roundcube Webmail/1.3.8

```On 2020-01-16 2:09 pm, Paolo Prete wrote:
```
I'm sorry to say that I made additional tests and the +0.46 method doesn't
```seem to work.
You can check here:

%%%%%%%%%%%%%%%%%%%%%%

\version "2.19.45"
{

\ottava #1 f''' f''' f''' \ottava #0 f''

\ottava #1 f''' f''' f''' \ottava #0 f''

\override Staff.OttavaBracket.extra-offset = #'(0 . 0.1)
\ottava #1 f''' f''' f''' \ottava #0 f''

}

%%%%%%%%%%%%%%%%%%%%%

```
0.56 s exactly the quantity corresponding to extra-offset to 0.1. But if you produce a SVG file, and open it with a text editor, you will see three
```pairs of coordinates:
```
```
```
You forgot to \revert outside-staff-padding *before* applying extra-offset.
```
%%%%
\version "2.19.45"
notes = \fixed c''' { \ottava 1 f4 4 4 \ottava 0 f, }

{
% Make sure these properties do not influence

\notes

\notes

\override Staff.OttavaBracket.extra-offset = #'(0 . 0.1)
\notes
}
%%%%

-- Aaron Hill

```