[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: Barline glyphs in lilyglyphs
From:       Urs Liska <lists () openlilylib ! org>
Date:       2018-05-30 20:00:43
Message-ID: 9af0a0c0-07ee-377b-7b21-5ad94d23d5ae () openlilylib ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Am 30.05.2018 um 20:46 schrieb Sam Bivens:
> 
> Hi Urs,
> 
> > A barline is not a glyph but is *drawn* in LilyPond. Therefore it doesn't"t \
> > belong to the glyphs accessible by lilyglyphs.
> Thanks; this is what I feared! 

Don't think that's a serious issue.

> > Please describe more concretely what you want (with/without staff lines etc.). It \
> > is possible to add commands with precompiled LilyPond snippets, but maybe you'd \
> > be better off with the new(er) lyluatex package.
> I'm hoping to incorporate the following barlines into some TiKz diagrams:
> 
> * "||"
> * "|."
> * ".|:"
> * ":|.|:"
> * ":|."
> 
> I don't need anything else (no staff lines, no pitches, etc.); just 
> the barlines themselves.
> 

Then the easiest thing is to produce these as cropped PDF files from 
LilyPond and directly include them. There's no need to have the overhead 
of using a package like lilyglyphs for that.

You can start with something like

\version "2.19.80"

\paper {
    indent = 0\cm
}

\include "lilypond-book-preamble.ly"

{
    \omit Staff.StaffSymbol
    \omit Staff.TimeSignature
    \omit Staff.Clef
    s4 \bar "|."
}

Right now I'm not sure how to remove the space at the left of the 
barline. But if nobody here can tell you that you could still 
postprocess the file somewhere else.

HTH
Urs

> Thanks,
> 
> Sam
> 
> 
> 
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user


[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Am 30.05.2018 um 20:46 schrieb Sam
      Bivens:<br>
    </div>
    <blockquote type="cite"
      cite="mid:2ff31103-2782-2ea4-dc99-6f96b771a605@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>Hi Urs,</p>
      <blockquote type="cite"
        cite="mid:EA34571A-40DF-44A9-A6B3-1EAE7F74072A@openlilylib.org">
        <pre wrap="">A barline is not a glyph but is *drawn* in LilyPond. Therefore \
it doesn't"t belong to the glyphs accessible by lilyglyphs.</pre>  </blockquote>
      Thanks; this is what I feared! </blockquote>
    <br>
    Don't think that's a serious issue.<br>
    <br>
    <blockquote type="cite"
      cite="mid:2ff31103-2782-2ea4-dc99-6f96b771a605@gmail.com">
      <blockquote type="cite"
        cite="mid:EA34571A-40DF-44A9-A6B3-1EAE7F74072A@openlilylib.org">
        <pre wrap="">Please describe more concretely what you want (with/without \
staff lines etc.). It is possible to add commands with precompiled LilyPond snippets, \
but maybe you'd be better off with the new(er) lyluatex package.</pre>  </blockquote>
      I'm hoping to incorporate the following barlines into some TiKz
      diagrams:<br>
      <ul>
        <li>"||"</li>
        <li>"|."</li>
        <li>".|:"</li>
        <li>":|.|:"</li>
        <li>":|."</li>
      </ul>
      <p>I don't need anything else (no staff lines, no pitches, etc.);
        just the barlines themselves.</p>
    </blockquote>
    <br>
    Then the easiest thing is to produce these as cropped PDF files from
    LilyPond and directly include them. There's no need to have the
    overhead of using a package like lilyglyphs for that.<br>
    <br>
    You can start with something like<br>
    <br>
    \version "2.19.80"<br>
    <br>
    \paper {<br>
       indent = 0\cm<br>
    }<br>
    <br>
    \include "lilypond-book-preamble.ly"<br>
    <br>
    {<br>
       \omit Staff.StaffSymbol<br>
       \omit Staff.TimeSignature<br>
       \omit Staff.Clef<br>
       s4 \bar "|."<br>
    }<br>
    <br>
    Right now I'm not sure how to remove the space at the left of the
    barline. But if nobody here can tell you that you could still
    postprocess the file somewhere else.<br>
    <br>
    HTH<br>
    Urs<br>
    <br>
    <blockquote type="cite"
      cite="mid:2ff31103-2782-2ea4-dc99-6f96b771a605@gmail.com">
      <p>Thanks,</p>
      <p>Sam<br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
lilypond-user mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:lilypond-user@gnu.org">lilypond-user@gnu.org</a> <a \
class="moz-txt-link-freetext" \
href="https://lists.gnu.org/mailman/listinfo/lilypond-user">https://lists.gnu.org/mailman/listinfo/lilypond-user</a>
 </pre>
    </blockquote>
    <br>
  </body>
</html>



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic