Re: smallest possible bounding box

2016-01-17 Thread David Wright
On Sun 17 Jan 2016 at 12:30:57 (+0100), Carl-Henrik Buschmann wrote: > > 17. jan. 2016 kl. 12.22 skrev Simon Albrecht : > > > > On 17.01.2016 12:10, Carl-Henrik Buschmann wrote: > >> > >> 2) I need to export pngs for my latex documents and i would like the > >> bounding box to be as small as pos

Re: smallest possible bounding box

2016-01-17 Thread karl
... > >> On 17.01.2016 12:10, Carl-Henrik Buschmann wrote: > >>> 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? ... If you \include "lilypond-book-preamble.ly" and run lilypond --ps -dbackend=eps you ge

Re: smallest possible bounding box

2016-01-17 Thread Kevin Barry
On 17 January 2016 at 16:56, Carl-Henrik Buschmann wrote: > Kevin, please humor a LP novice: Let us say my file was the one you would > use in a .tex. What would you do? It depends on the document and the musical example. For a small musical example that will fit on one page (with no instrument

Re: smallest possible bounding box

2016-01-17 Thread Carl-Henrik Buschmann
Kevin, please humor a LP novice: Let us say my file was the one you would use in a .tex. What would you do? > 17. jan. 2016 kl. 16.55 skrev Kevin Barry : > > My workflow consists almost exclusively of producing musical examples for > including in Latex. I have the following code in a style fil

Re: smallest possible bounding box

2016-01-17 Thread Kevin Barry
My workflow consists almost exclusively of producing musical examples for including in Latex. I have the following code in a style file that will crop things as small as possible. After that you will have to adjust the line width manually (depending on your latex document's \textwidth). #(ly:set-o

Re: Instrument names and smallest possible bounding box

2016-01-17 Thread David Nalesnik
Hi, On Sun, Jan 17, 2016 at 8:53 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hi all, > > On Jan 17, 2016, at 6:24 AM, Malte Meyn wrote: > > > LilyPond tries to center-align the instrument names. Long names which > > don’t fit into the margin defined by indent (default 1.5cm (?

Re: smallest possible bounding box

2016-01-17 Thread Simon Albrecht
On 17.01.2016 13:01, Carl-Henrik Buschmann wrote: Good suggestion. This of course works fine but it means manual labor and guessing. What is the point of a computer if it cannot do this for us? I tried -dpreview but could not get it to work. Help a poor noob, please. The command line would

Re: Instrument names and smallest possible bounding box

2016-01-17 Thread Kieren MacMillan
Hi all, On Jan 17, 2016, at 6:24 AM, Malte Meyn wrote: > 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

Re: Instrument names and smallest possible bounding box

2016-01-17 Thread Kieren MacMillan
Hi Carl-Henrik > 1) Instrument names. > The default placement of instrument names seems a bit messy compared to my > default Sibelius output: Actually, I much prefer the Lilypond output — it almost perfectly matches the convention of hand-engraved music. > They seem "off", not alligned proper

Re: smallest possible bounding box

2016-01-17 Thread karl
... > >> On 17.01.2016 12:10, Carl-Henrik Buschmann wrote: > >>> 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? ... If you \include "lilypond-book-preamble.ly" and run lilypond --ps -dbackend=eps you ge

Re: smallest possible bounding box

2016-01-17 Thread Simon Albrecht
Hello Carl-Henrik, please always keep communication on-list, except if it is really private. Thus others can step in when I can’t help, and the information will be available to others searching the archives. On 17.01.2016 12:27, Carl-Henrik Buschmann wrote: 17. jan. 2016 kl. 12.22 skrev Simon

Re: smallest possible bounding box

2016-01-17 Thread Carl-Henrik Buschmann
Good suggestion. This of course works fine but it means manual labor and guessing. What is the point of a computer if it cannot do this for us? I tried -dpreview but could not get it to work. Help a poor noob, please. > Den 17. jan. 2016 kl. 12.49 skrev Pierre Perol-Schneider > : > > Hi Ca

Re: smallest possible bounding box

2016-01-17 Thread Pierre Perol-Schneider
Hi Carl-Henrik, Simply defined the 'paper' dimension you'd like : \paper { paper-height = 150 paper-width = 50 } E.g. : \version "2.19.35" %--- % Global variables %--- global = { \time 4/4 \key c \major } %---

Re: Instrument names and smallest possible bounding box

2016-01-17 Thread mskala
On Sun, 17 Jan 2016, Carl-Henrik Buschmann wrote: > 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? I don't know how well this fits into your workflow, but I'd be inclined to trim the images after export using pnmcro

Re: Instrument names and smallest possible bounding box

2016-01-17 Thread Carl-Henrik Buschmann
> 17. jan. 2016 kl. 12.24 skrev Malte Meyn : >> >> 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 lilypon

Re: smallest possible bounding box

2016-01-17 Thread Carl-Henrik Buschmann
> 17. jan. 2016 kl. 12.22 skrev Simon Albrecht : > > On 17.01.2016 12:10, Carl-Henrik Buschmann wrote: >> >> 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? > > It’s not quite clear what you want. Perhaps: > \pap

Re: Instrument names and smallest possible bounding box

2016-01-17 Thread Malte Meyn
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. Mos

Re: smallest possible bounding box

2016-01-17 Thread Simon Albrecht
On 17.01.2016 12:10, Carl-Henrik Buschmann wrote: 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? It’s not quite clear what you want. Perhaps: \paper { top-margin = 0 bottom-margin = 0 left-margin = 0 righ

Re: Instrument names and smallest possible bounding box

2016-01-17 Thread Simon Albrecht
On 17.01.2016 12:10, Carl-Henrik Buschmann wrote: The default placement of instrument names seems a bit messy compared to my default Sibelius output. They seem "off", not alligned properly. This is of course the fault of the author. Most likely there is a easy fix. Suggestions? Well, it’s not

Instrument names and smallest possible bounding box

2016-01-17 Thread 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? 2) I need to export pngs for