lilypond-user
[Top][All Lists]
Advanced

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

Re: Removing whitespace before lilypond-books examples?


From: Trevor Bača
Subject: Re: Removing whitespace before lilypond-books examples?
Date: Tue, 28 Aug 2007 07:18:51 -0500

Hi Mats,

Using \hspace{-3mm} right before the included lilypond example works
beautifully. Great idea.

Trevor.


On 8/28/07, Mats Bengtsson <address@hidden> wrote:
> If you can stand having the note without a ledger line, then it's easier
> to use
> ...
> sixteenth note
> \begin[staffsize=12]{lilypond}
>   \markup{\note #"16" #1 }
> \end{lilypond}
> written here under zero-prolation.
>
> This gives slightly less spacing to the left and the right edge of the
> flag isn't cut.
> I'm not sure why you still get the space to the left. A simple
> workaround is to
> add a \hspace{-3mm} in the LaTeX code right before the snippet.
>
>    /Mats
>
> Trevor Bača wrote:
> > On 8/27/07, Trevor Bača <address@hidden> wrote:
> >
> >> Hi,
> >>
> >> I've just started using lilypond-book and I have to say that I'm
> >> immensely impressed. The integration between LaTeX and LilyPond input
> >> is pretty amazing. I've been rendering some "inline" music examples in
> >> the middle of running text, and I have a question.
> >>
> >> First question: is it possible to reduce the amount of whitespace that
> >> lilypond-book renders immediately before such an inline music example?
> >> In the attached image, there's too much space after "sixteenth note"
> >> and before the notation snippet.
> >>
> >> Second question: is it possible to *increase* the amount of whitespace
> >> padding immediately *below* the image? You can't really see it in the
> >> attached image, but the very bottom of the notehead is cut off
> >> somewhat.
> >>
> >> (I guessed that the --padding commandline option might help with one
> >> or both of these, but --padding seems to no longer work.)
> >>
> >
> >
> > Forgot to send the input:
> >
> > %%% BEGIN %%%
> >
> > Note that for each $\frac{1}{2^n}$ with $n \in \mathbb{Z}$ there
> > exists some glyph $g$.
> > Where $n = 4$ we see that $g$ equals  the sixteenth note
> > \begin[staffsize=12]{lilypond}
> > {
> > \override Staff.StaffSymbol #'stencil = ##f
> > \override Staff.Clef #'stencil = ##f
> > \override Staff.TimeSignature #'stencil = ##f
> > c'16
> > }
> > \end{lilypond}
> > written here under zero-prolation.
> >
> > %%% END %%%
> >
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > lilypond-user mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>
> --
> =============================================
>         Mats Bengtsson
>         Signal Processing
>         Signals, Sensors and Systems
>         Royal Institute of Technology
>         SE-100 44  STOCKHOLM
>         Sweden
>         Phone: (+46) 8 790 8463
>         Fax:   (+46) 8 790 7260
>         Email: address@hidden
>         WWW: http://www.s3.kth.se/~mabe
> =============================================
>
>


-- 
Trevor Bača
address@hidden

reply via email to

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