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

List:       lilypond-user
Subject:    Re: Changes to png file while using \omit Accidental
From:       Rajesh Baskar <rajeshbv () hotmail ! com>
Date:       2023-01-31 19:19:34
Message-ID: BYAPR05MB6566E7E557A9F3076A48C9A5DCD09 () BYAPR05MB6566 ! namprd05 ! prod ! outlook ! com
[Download RAW message or body]

Thanks Jean, that was a simple solution, and sorry for my ignorance.

On 1/30/2023 9:10 PM, Jean Abou Samra wrote:
> On 31/01/2023 05:52, Rajesh Baskar wrote:
> > Hello Experts,
> > 
> > I'm facing a unique issue or it would be because of my limited knowledge of \
> > Lilypond. I have 2 identical Lilypond files, the only difference being that one \
> > has \omit Accidental in it. You can see in the mage attached that Lilypond \
> > generates them a bit differently. The line dividing the two measures is thicker \
> > and it is moved a bit to the right. Any ideas as to how to fix it, so the the 2nd \
> > image is identical to the first, but just without the accidentals.
> 
> \omit is the wrong tool if you want the object to still affect
> spacing as before. You want \hide for that. See
> 
> 
> https://lilypond.org/doc/v2.24/Documentation/notation/visibility-of-objects#making-objects-transparent
>  


[Attachment #3 (text/html)]

<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><font size="2">Thanks Jean, that was a simple solution, and sorry
        for my ignorance. </font><br>
    </p>
    <div class="moz-cite-prefix">On 1/30/2023 9:10 PM, Jean Abou Samra
      wrote:<br>
    </div>
    <blockquote type="cite" \
                cite="mid:d47a6f65-97a0-245a-52a5-c93a21f27ee3@abou-samra.fr">
      <pre class="moz-quote-pre" wrap="">On 31/01/2023 05:52, Rajesh Baskar wrote:
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Hello Experts,

I'm facing a unique issue or it would be because of my limited knowledge of Lilypond. \
I have 2 identical Lilypond files, the only difference being that one has \omit \
Accidental in it. You can see in the mage attached that Lilypond generates them a bit \
differently. The line dividing the two measures is thicker and it is moved a bit to \
the right. Any ideas as to how to fix it, so the the 2nd image is identical to the \
first, but just without the accidentals. </pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">

\omit is the wrong tool if you want the object to still affect
spacing as before. You want \hide for that. See


<a class="moz-txt-link-freetext" \
href="https://lilypond.org/doc/v2.24/Documentation/notation/visibility-of-objects#maki \
ng-objects-transparent">https://lilypond.org/doc/v2.24/Documentation/notation/visibility-of-objects#making-objects-transparent</a>


</pre>
    </blockquote>
  </body>
</html>



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

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