[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Instrument names and smallest possible bounding box
From: |
Malte Meyn |
Subject: |
Re: Instrument names and smallest possible bounding box |
Date: |
Sun, 17 Jan 2016 12:24:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Am 17.01.2016 um 12:10 schrieb Carl-Henrik Buschmann:
>
> 1) Instrument names.
>
> The default placement of instrument names seems a bit messy compared to my
> default Sibelius output:
>
>
> Lilypond:
> They seem "off", not alligned properly. This is of course the fault of the
> author. Most likely there is a easy fix. Suggestions?
LilyPond tries to center-align the instrument names. Long names which
don’t fit into the margin defined by indent (default 1.5cm (?)) are
right-aligned (“Woodwind” in your example). This “mixing” behaviour
looks odd, I agree. You can make the indent bigger so all names are
center-aligned or change the alignment of instrument names globally;
here are both solutions (they also can be combined):
%%%%%%%%
\version "2.19.35"
\paper {
%indent = 1.8\cm % short center-aligned (in this margin), long right
%indent = 3.5\cm % both center-aligned
}
%{
\layout {
\context {
\Staff
\override InstrumentName.self-alignment-X = #RIGHT
}
}
%}
<<
\new Staff \with {
instrumentName = "very long name"
} { R1 \break R1 }
\new Staff \with {
instrumentName = "short"
} { R1 \break R1 }
>>
%%%%%%%%
>
> 2) I need to export pngs for my latex documents and i would like the bounding
> box to be as small as possible. How do i do this?
>
There is a lilypond option -dpreview which does this iirc. And apart
from that: Do you know lilypond-book?
- Re: smallest possible bounding box, (continued)
- Re: smallest possible bounding box, Pierre Perol-Schneider, 2016/01/17
- Re: smallest possible bounding box, Carl-Henrik Buschmann, 2016/01/17
- Re: smallest possible bounding box, Simon Albrecht, 2016/01/17
- Re: smallest possible bounding box, Kevin Barry, 2016/01/17
- Re: smallest possible bounding box, Carl-Henrik Buschmann, 2016/01/17
- Re: smallest possible bounding box, Kevin Barry, 2016/01/17
- Re: smallest possible bounding box, David Wright, 2016/01/17
- Message not available
- Re: smallest possible bounding box, Simon Albrecht, 2016/01/17
- Re: smallest possible bounding box, karl, 2016/01/17
- Re: smallest possible bounding box, karl, 2016/01/17
Re: Instrument names and smallest possible bounding box,
Malte Meyn <=
Re: Instrument names and smallest possible bounding box, mskala, 2016/01/17
Re: Instrument names and smallest possible bounding box, Kieren MacMillan, 2016/01/17