Hello

1-      crop

I am trying to produce 'min sized' svg images, but I fail. As an
example:

\version "2.22"

\paper{
  indent=0\mm
  oddFooterMarkup=##f
  oddHeaderMarkup=##f
  bookTitleMarkup = ##f
  scoreTitleMarkup = ##f
  page-breaking = #ly:one-line-breaking
}

\layout {
}

\relative {
  g'4 f e f
  g2 c,
  \bar "|."
}

which I compile using this command:

        lilypond -dcrop --svg test-2.ly

I obtain the attached image (screenshot of eog test-2.svg ...], where
one can see it has been horizontally cropped, but not vertically, how
can I achieve a crop in both direction?


2-      [crop/staff] margins?

If I succeed to crop in both direction, is there a way, using variables
further adjust top, left, bottom, right (staff) margins?

Thanks,
David
        

Attachment: pgpxgWEsk4EeH.pgp
Description: OpenPGP digital signature

Reply via email to