.directory files may include copyright headers as well.
[opus_libre.git] / share / themes / default / layout.ily
blob50ddcc4177c807559b509fb820ba6c54e6c7e6e4
1 %------------------------------------------------------------------%
2 % opus_libre -- layout.ily                                         %
3 %                                                                  %
4 % (c) 2008-2010 Valentin Villenave <valentin@villenave.net>        %
5 %                                                                  %
6 %     opus_libre is a free framework for GNU LilyPond: you may     %
7 % redistribute it and/or modify it under the terms of the GNU      %
8 % General Public License as published by the Free Software         %
9 % Foundation, either version 3 of the License, or (at your option) %
10 % any later version.                                               %
11 %     This program is distributed WITHOUT ANY WARRANTY; without    %
12 % even the implied warranty of MERCHANTABILITY or FITNESS FOR A    %
13 % PARTICULAR PURPOSE.  You should have received a copy of the GNU  %
14 % General Public License along with this program (typically in the %
15 % share/doc/ directory).  If not, see http://www.gnu.org/licenses/ %
16 %                                                                  %
17 %------------------------------------------------------------------%
19 %% Only cosmetic stuff.
20 %% i.e. don't use this file to fiddle with things that
21 %% affect input syntax, like ignoreMelismata etc.
23 \layout {
24   \context {
25     \Score
26     subdivideBeams = ##t
27     \override TrillPitchAccidental #'avoid-slur = #'inside
28     \override TimeSignature #'style = #'()
29     \override SystemStartBracket #'collapse-height = #1
30     %\override SystemStartBrace #'collapse-height = #1
31     \override PaperColumn #'keep-inside-line = ##t
32     \override NonMusicalPaperColumn #'keep-inside-line = ##t
33     autoAccidentals = #modern-accidentals-style % see liblayout.scm
34     autoCautionaries = #modern-cautionaries-style
35     extraNatural = ##f
36   }
37   \context {
38     \Voice
39     \override LaissezVibrerTie #'details =
40       #'((height-limit . 2.0) ; default 1
41         (note-head-gap . -2.6) ; default 0.2
42         (horizontal-distance-penalty-factor . 51)) % default 10
43     \override LaissezVibrerTie #'extra-offset =
44     #'(2.5 . 0) % has to match note-head-gap. Sort of.
45   }