Hi there

I'm playing with the Score Layout.
AFAICS editing it in "graphical mode" is not that easy. For example, I don't know how to add a Staff. So I'm using the Lilypond text mode, which works great. But I have a few questions.

0) Where can I save my own templates?
Currently I have this:

ls ~/.denemo-1.0.0~rc8/
actions  autosave.denemo  denemohistory  denemorc  state.ini


1) When creating a template, the settings should be in custom layout or in default score layout? Actually, it seems that I cannot edit the default layout. When I do, a custom layout is automatically created. I've looked some template file included in denemo and I've seen that they have just the default layout.

I wonder if this is going to be a problem (see next point)


2) (maybe related to the previous point) Try the attached template. When you start entering notes, in the print window you'll see just the Staff. You have to click on Typeset in the print window and only then the TabStaff will appear.


3) Finally, there's any recommendation for contributing templates?
I'll work on a Staff+TabStaff template in the coming weeks (I need some time to test it and see how things work in Denemo).

Thanks in advance
--
Federico
<?xml version="1.0"?>
<score xmlns="http://denemo.org/xmlns/Denemo"; version="6">
  <paper-directives>
    <directive>
      <tag>PrintAllHeaders</tag>
      <postfix>
print-all-headers = ##t
</postfix>
    </directive>
    <directive>
      <tag>LimitInterSystemSpace</tag>
      <postfix>
page-limit-inter-system-space = ##t
page-limit-inter-system-space-factor = 1.2</postfix>
    </directive>
  </paper-directives>
  <lilycontrol>
    <papersize>a4</papersize>
    <fontsize>16</fontsize>
    <orientation>1</orientation>
    <score-directives>
      <directive>
        <tag>ScoreIndent</tag>
        <prefix>\layout {indent = 11.2}
</prefix>
        <display>indent=11.2</display>
        <override>4</override>
      </directive>
    </score-directives>
  </lilycontrol>
  <custom_scoreblock>%Custom Layout

\header {
tagline = \markup {"" on \simple #(strftime "%x" (localtime (current-time)))}

}
\layout {indent = 11.2}
\paper {

print-all-headers = ##t

page-limit-inter-system-space = ##t
page-limit-inter-system-space-factor = 1.2
}
#(set-default-paper-size "a4")
#(set-global-staff-size 16)

\score { %Start of Movement
\new StaffGroup &lt;&lt;

%Start of Staff
\new Staff = "Guitar"  &lt;&lt; \set Staff.instrumentName = \markup {  \with-url #'"scheme:(d-GoToPosition 1 1 1 1)(let ((choice (d-PopupMenu (list (cons (_ \"Change Name\") d-InstrumentName)   (cons (_ \"Change Indent\") d-ScoreIndent)))))
				(if choice (choice)))    " \transparent {"Unnamed" }}
 \new Voice = "VoiceIMvmntI"  { 
  \clef treble 
{ \key c \major}
{ \time 4/4 }
 \MvmntIVoiceI                } %End of voice

&gt;&gt;
%End of Staff

\new TabStaff = "Guitar tab" &lt;&lt;
  \new TabVoice {
    \clef moderntab
    \MvmntIVoiceI
  }
&gt;&gt;%End of TabStaff

&gt;&gt; %End of StaffGroup

\header {
title = \markup { \with-url #'"scheme:(d-GoToPosition 1 1 1 1)(d-ScoreTitle)" "Click Title"}

}

} %End of Movement


</custom_scoreblock>
  <movement-number>1</movement-number>
  <movement>
    <edit-info>
      <staffno>1</staffno>
      <measureno>1</measureno>
      <cursorposition>-1</cursorposition>
      <tonalcenter>0</tonalcenter>
      <zoom>100</zoom>
      <system-height>100</system-height>
      <page-zoom>0</page-zoom>
      <page-system-height>0</page-system-height>
    </edit-info>
    <header-directives>
      <directive>
        <tag>ScoreTitle</tag>
        <postfix>title = \markup { \with-url #'"scheme:(d-GoToPosition 1 1 1 1)(d-ScoreTitle)" "Click Title"}
</postfix>
        <display>Click Title</display>
        <override>36</override>
      </directive>
    </header-directives>
    <score-info>
      <tempo>
        <duration>
          <numerator>1</numerator>
          <denominator>4</denominator>
        </duration>
        <bpm>120</bpm>
      </tempo>
    </score-info>
    <staves>
      <staff id="id0"/>
    </staves>
    <voices>
      <voice id="id1">
        <voice-info>
          <voice-name>Unnamed</voice-name>
          <first-measure-number>1</first-measure-number>
        </voice-info>
        <initial-voice-params>
          <staff-ref staff="id0"/>
          <clef name="treble"/>
          <key-signature>
            <modal-key-signature note-name="C" mode="major"/>
          </key-signature>
          <time-signature>
            <simple-time-signature>
              <numerator>4</numerator>
              <denominator>4</denominator>
            </simple-time-signature>
          </time-signature>
        </initial-voice-params>
        <voice-props>
          <number-of-lines>5</number-of-lines>
          <voice-control>1</voice-control>
          <transpose>0</transpose>
          <instrument/>
          <device-port>NONE</device-port>
          <volume>65</volume>
          <midi_prognum>0</midi_prognum>
          <midi_channel>0</midi_channel>
          <hasfigures>0</hasfigures>
          <hasfakechords>0</hasfakechords>
          <staff-directives>
            <directive>
              <tag>InstrumentName</tag>
              <postfix>\set Staff.instrumentName = \markup {  \with-url #'"scheme:(d-GoToPosition 1 1 1 1)(let ((choice (d-PopupMenu (list (cons (_ \"Change Name\") d-InstrumentName)   (cons (_ \"Change Indent\") d-ScoreIndent)))))
				(if choice (choice)))    " \transparent {"Unnamed" }}</postfix>
              <display>Unnamed</display>
              <override>4</override>
            </directive>
          </staff-directives>
        </voice-props>
        <measures>
          <measure/>
        </measures>
      </voice>
    </voices>
  </movement>
</score>
_______________________________________________
Denemo-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/denemo-devel

Reply via email to