Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(11)

Delta Between Two Patch Sets: Documentation/ja/notation/spacing.itely

Issue 6635050: Make arguments like Context.GrobName accessible as symbol lists (Closed) Base URL: http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Left Patch Set: unquote \accidentalStyle parameters, make and use symbol-list-or-symbol?, some amendments Created 12 years, 5 months ago
Right Patch Set: Allow \override Accidental.color = #red (dot between grob and property) Created 12 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Documentation/ja/notation/simultaneous.itely ('k') | Documentation/ja/notation/staff.itely » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*- 1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
2 2
3 @ignore 3 @ignore
4 Translation of GIT committish: cc3b9e1430f4cc9c54da7252e504f3d274a7ea17 4 Translation of GIT committish: cc3b9e1430f4cc9c54da7252e504f3d274a7ea17
5 5
6 When revising a translation, copy the HEAD committish of the 6 When revising a translation, copy the HEAD committish of the
7 version that you are working on. For details, see the Contributors' 7 version that you are working on. For details, see the Contributors'
8 Guide, node Updating translation committishes.. 8 Guide, node Updating translation committishes..
9 @end ignore 9 @end ignore
10 10
11 @c \version "2.17.5" 11 @c \version "2.17.6"
12 12
13 13
14 @c Translators: Yoshiki Sawada 14 @c Translators: Yoshiki Sawada
15 @c Translation status: post-GDP 15 @c Translation status: post-GDP
16 16
17 17
18 @ignore 18 @ignore
19 GDP TODO list 19 GDP TODO list
20 20
21 Negative numbers are allowed: 21 Negative numbers are allowed:
22 > Are you sure? The following works well 22 > Are you sure? The following works well
23 > \paper{ 23 > \paper{
24 > first-page-number = -2 24 > first-page-number = -2
25 > } 25 > }
26 > and prints page number -1 on the second page, for example. 26 > and prints page number -1 on the second page, for example.
27 27
28 28
29 In 5.2.1 the @refbugs (line 495 in spacing.itely on master) it 29 In 5.2.1 the @refbugs (line 495 in spacing.itely on master) it
30 states: 30 states:
31 31
32 "@code{layout-set-staff-size} does not change the distance between 32 "@code{layout-set-staff-size} does not change the distance between
33 the 33 the
34 staff lines." 34 staff lines."
35 35
36 Could we add a sentence: 36 Could we add a sentence:
37 "Use instead the pair fontSize = #@var{N} 37 "Use instead the pair fontSize = #@var{N}
38 \override StaffSymbol #'staff-space = #(magstep 38 \override StaffSymbol.staff-space = #(magstep
39 @var{N}) 39 @var{N})
40 inside the Staff context to change the size of the font and the 40 inside the Staff context to change the size of the font and the
41 distance between 41 distance between
42 staff lines accordingly." 42 staff lines accordingly."
43 43
44 Actually I found, that the @internalsref{StaffSymbol} at line 481 44 Actually I found, that the @internalsref{StaffSymbol} at line 481
45 sends to an incomplete 45 sends to an incomplete
46 documentation. The property staff-space is not explained here. I 46 documentation. The property staff-space is not explained here. I
47 thought Y-extent might be of 47 thought Y-extent might be of
48 help, but it is in turn explained by x-space which again is 48 help, but it is in turn explained by x-space which again is
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 1105
1106 @end itemize 1106 @end itemize
1107 1107
1108 ここで、@code{\layout} ブロックの例を挙げます: 1108 ここで、@code{\layout} ブロックの例を挙げます:
1109 1109
1110 @example 1110 @example
1111 \layout @{ 1111 \layout @{
1112 indent = 2\cm 1112 indent = 2\cm
1113 \context @{ 1113 \context @{
1114 \StaffGroup 1114 \StaffGroup
1115 \override StaffGrouper #'staff-staff-spacing #'basic-distance = #8 1115 \override StaffGrouper.staff-staff-spacing.basic-distance = #8
1116 @} 1116 @}
1117 \context @{ 1117 \context @{
1118 \Voice 1118 \Voice
1119 \override TextScript #'padding = #1 1119 \override TextScript.padding = #1
1120 \override Glissando #'thickness = #3 1120 \override Glissando.thickness = #3
1121 @} 1121 @}
1122 @} 1122 @}
1123 @end example 1123 @end example
1124 1124
1125 最上位の表記として複数の @code{\layout} ブロックを配置することができます。@c 1125 最上位の表記として複数の @code{\layout} ブロックを配置することができます。@c
1126 これは、例えば、異なる設定が別個のファイルに保存されていて、任意の方法で@c 1126 これは、例えば、異なる設定が別個のファイルに保存されていて、任意の方法で@c
1127 インクルードする場合に有用です。@c 1127 インクルードする場合に有用です。@c
1128 内部的には、@code{\layout} ブロックが評価される時、カレントの 1128 内部的には、@code{\layout} ブロックが評価される時、カレントの
1129 @code{\layout} 構成のコピーが作成され、評価する @code{\layout} ブロックの@c 1129 @code{\layout} 構成のコピーが作成され、評価する @code{\layout} ブロックの@c
1130 内部で定義されている変更が適用され、その結果が新しいカレントの構成として@c 1130 内部で定義されている変更が適用され、その結果が新しいカレントの構成として@c
1131 保存されます。@c 1131 保存されます。@c
1132 ユーザからは @code{\layout} ブロックが組み合わされたように見えますが、@c 1132 ユーザからは @code{\layout} ブロックが組み合わされたように見えますが、@c
1133 衝突が発生した場合 (複数のブロックで同じプロパティが変更された場合)、@c 1133 衝突が発生した場合 (複数のブロックで同じプロパティが変更された場合)、@c
1134 最後の定義が有効になります。 1134 最後の定義が有効になります。
1135 1135
1136 例えば、下記のブロック: 1136 例えば、下記のブロック:
1137 1137
1138 @example 1138 @example
1139 \layout @{ 1139 \layout @{
1140 \context @{ 1140 \context @{
1141 \Voice 1141 \Voice
1142 \override TextScript #'color = #magenta 1142 \override TextScript.color = #magenta
1143 \override Glissando #'thickness = #1.5 1143 \override Glissando.thickness = #1.5
1144 @} 1144 @}
1145 @} 1145 @}
1146 @end example 1146 @end example
1147 1147
1148 これが一つ前の例の後に配置された場合、@code{TextScript} の @code{'padding} 1148 これが一つ前の例の後に配置された場合、@code{TextScript} の @code{'padding}
1149 設定と @code{'color} 設定は組み合わせれますが、@code{Glissando} の 1149 設定と @code{'color} 設定は組み合わせれますが、@code{Glissando} の
1150 @code{'thickness} 設定は前の設定と置き換わります (前の設定を上書きします)。 1150 @code{'thickness} 設定は前の設定と置き換わります (前の設定を上書きします)。
1151 1151
1152 @code{\layout} ブロックを後で再利用するために変数に代入することができます。@c 1152 @code{\layout} ブロックを後で再利用するために変数に代入することができます。@c
1153 しかしながら、この方法は @code{\layout} ブロックを直接記述した場合とは@c 1153 しかしながら、この方法は @code{\layout} ブロックを直接記述した場合とは@c
1154 少しですが重大な違いがあります。 1154 少しですが重大な違いがあります。
1155 1155
1156 変数を以下のように定義した場合: 1156 変数を以下のように定義した場合:
1157 1157
1158 @example 1158 @example
1159 layoutVariable = \layout @{ 1159 layoutVariable = \layout @{
1160 \context @{ 1160 \context @{
1161 \Voice 1161 \Voice
1162 \override NoteHead #'font-size = #4 1162 \override NoteHead.font-size = #4
1163 @} 1163 @}
1164 @} 1164 @}
1165 @end example 1165 @end example
1166 1166
1167 カレントの @code{\layout} 構成に @code{NoteHead #'font-size} 設定を追加@c 1167 カレントの @code{\layout} 構成に @code{NoteHead #'font-size} 設定を追加@c
1168 しますが、この組み合わせは新しいカレントの構成として保存され @emph{ません}。@c 1168 しますが、この組み合わせは新しいカレントの構成として保存され @emph{ません}。@c
1169 @q{カレントの構成} は変数が定義された時に評価されるのであり、変数が使われる@c 1169 @q{カレントの構成} は変数が定義された時に評価されるのであり、変数が使われる@c
1170 時に評価されるのではありません。@c 1170 時に評価されるのではありません。@c
1171 そのため、変数の効果は変数がソースに配置された位置によって異なります。 1171 そのため、変数の効果は変数がソースに配置された位置によって異なります。
1172 1172
1173 変数を他の @code{\layout} ブロックの中で使うことができます。@c 1173 変数を他の @code{\layout} ブロックの中で使うことができます。@c
1174 例えば、以下のように: 1174 例えば、以下のように:
1175 1175
1176 @example 1176 @example
1177 \layout @{ 1177 \layout @{
1178 \layoutVariable 1178 \layoutVariable
1179 \context @{ 1179 \context @{
1180 \Voice 1180 \Voice
1181 \override NoteHead #'color = #red 1181 \override NoteHead.color = #red
1182 @} 1182 @}
1183 @} 1183 @}
1184 @end example 1184 @end example
1185 1185
1186 上記のような変数を含む @code{\layout} ブロックは、カレントの構成をコピー@c 1186 上記のような変数を含む @code{\layout} ブロックは、カレントの構成をコピー@c
1187 せず、設定を追加するためのベースとなる構成として @code{\layoutVariable} の@c 1187 せず、設定を追加するためのベースとなる構成として @code{\layoutVariable} の@c
1188 内容を用います。@c 1188 内容を用います。@c
1189 このことは、変数が定義されてから使われるまでの間に定義された変更は失われる@c 1189 このことは、変数が定義されてから使われるまでの間に定義された変更は失われる@c
1190 ということを意味します。 1190 ということを意味します。
1191 1191
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1398 \remove "Forbid_line_break_engraver" 1398 \remove "Forbid_line_break_engraver"
1399 } \relative c'' { 1399 } \relative c'' {
1400 << 1400 <<
1401 { c2. \times 2/3 { c4 c c } c2. | } 1401 { c2. \times 2/3 { c4 c c } c2. | }
1402 { s1 | \break s1 | } 1402 { s1 | \break s1 | }
1403 >> 1403 >>
1404 } 1404 }
1405 @end lilypond 1405 @end lilypond
1406 1406
1407 同様に、通常は連桁が小節線を跨いでいる場合も、改行は禁止されます。@c 1407 同様に、通常は連桁が小節線を跨いでいる場合も、改行は禁止されます。@c
1408 この振る舞いは、@code{\override Beam #'breakable = ##t} により、@c 1408 この振る舞いは、@code{\override Beam.breakable = ##t} により、@c
1409 変更することができます: 1409 変更することができます:
1410 1410
1411 @lilypond[quote,ragged-right,relative=2,verbatim] 1411 @lilypond[quote,ragged-right,relative=2,verbatim]
1412 \override Beam #'breakable = ##t 1412 \override Beam.breakable = ##t
1413 c2. c8[ c | \break 1413 c2. c8[ c | \break
1414 c8 c] c2. | 1414 c8 c] c2. |
1415 @end lilypond 1415 @end lilypond
1416 1416
1417 @code{\noBreak} コマンドは、コマンドが配置された小節線での改行を禁止します。 1417 @code{\noBreak} コマンドは、コマンドが配置された小節線での改行を禁止します。
1418 1418
1419 行スペースに影響を与える最も基本的な設定は @code{indent} と 1419 行スペースに影響を与える最も基本的な設定は @code{indent} と
1420 @code{line-width} です。@c 1420 @code{line-width} です。@c
1421 これらは @code{\layout} ブロック内で設定されます。@c 1421 これらは @code{\layout} ブロック内で設定されます。@c
1422 これらは音楽の最初の行のインデントと行の長さを制御します。 1422 これらは音楽の最初の行のインデントと行の長さを制御します。
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
1736 1736
1737 @node 明示的な改行/改ページ 1737 @node 明示的な改行/改ページ
1738 @subsection 明示的な改行/改ページ 1738 @subsection 明示的な改行/改ページ
1739 @translationof Explicit breaks 1739 @translationof Explicit breaks
1740 1740
1741 LilyPond はしばしば明示的な @code{\break} や @code{\pageBreak} を@c 1741 LilyPond はしばしば明示的な @code{\break} や @code{\pageBreak} を@c
1742 却下します。@c 1742 却下します。@c
1743 この振る舞いを上書きするための 2 つのコマンドがあります: 1743 この振る舞いを上書きするための 2 つのコマンドがあります:
1744 1744
1745 @example 1745 @example
1746 \override NonMusicalPaperColumn #'line-break-permission = ##f 1746 \override NonMusicalPaperColumn.line-break-permission = ##f
1747 \override NonMusicalPaperColumn #'page-break-permission = ##f 1747 \override NonMusicalPaperColumn.page-break-permission = ##f
1748 @end example 1748 @end example
1749 1749
1750 @code{line-break-permission} が偽に上書きされた場合、@c 1750 @code{line-break-permission} が偽に上書きされた場合、@c
1751 LilyPond は明示的な改行である @code{\break} コマンドのところで改行を行い、@c 1751 LilyPond は明示的な改行である @code{\break} コマンドのところで改行を行い、@c
1752 他の場所では改行を行いません。@c 1752 他の場所では改行を行いません。@c
1753 @code{page-break-permission} が偽に上書きされた場合、@c 1753 @code{page-break-permission} が偽に上書きされた場合、@c
1754 LilyPond は明示的な改ページである 1754 LilyPond は明示的な改ページである
1755 @code{\pageBreak} コマンドのところで改ページを行い、@c 1755 @code{\pageBreak} コマンドのところで改ページを行い、@c
1756 他の場所では改ページを行いません。 1756 他の場所では改ページを行いません。
1757 1757
(...skipping 13 matching lines...) Expand all
1771 \repeat unfold 6 { \music } \break 1771 \repeat unfold 6 { \music } \break
1772 \repeat unfold 8 { \music } \pageBreak 1772 \repeat unfold 8 { \music } \pageBreak
1773 \repeat unfold 8 { \music } \break 1773 \repeat unfold 8 { \music } \break
1774 \repeat unfold 6 { \music } \break 1774 \repeat unfold 6 { \music } \break
1775 \repeat unfold 4 { \music } \break 1775 \repeat unfold 4 { \music } \break
1776 \repeat unfold 2 { \music } 1776 \repeat unfold 2 { \music }
1777 } 1777 }
1778 \layout { 1778 \layout {
1779 \context { 1779 \context {
1780 \Score 1780 \Score
1781 \override NonMusicalPaperColumn #'line-break-permission = ##f 1781 \override NonMusicalPaperColumn.line-break-permission = ##f
1782 \override NonMusicalPaperColumn #'page-break-permission = ##f 1782 \override NonMusicalPaperColumn.page-break-permission = ##f
1783 } 1783 }
1784 } 1784 }
1785 } 1785 }
1786 @end lilypond 1786 @end lilypond
1787 1787
1788 @seealso 1788 @seealso
1789 コード断片集: 1789 コード断片集:
1790 @rlsr{Spacing} 1790 @rlsr{Spacing}
1791 1791
1792 1792
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 @code{NonMusicalPaperColumnGrob} の @code{line-break-system-details} と@c 1846 @code{NonMusicalPaperColumnGrob} の @code{line-break-system-details} と@c
1847 他の有用だが長いプロパティを上書きするときに、非常に役に立ちます。 1847 他の有用だが長いプロパティを上書きするときに、非常に役に立ちます。
1848 1848
1849 @lilypond[quote,verbatim] 1849 @lilypond[quote,verbatim]
1850 music = \relative c'' { c4 c c c } 1850 music = \relative c'' { c4 c c c }
1851 1851
1852 \score { 1852 \score {
1853 \new Staff << 1853 \new Staff <<
1854 \new Voice { 1854 \new Voice {
1855 \overrideProperty Score.NonMusicalPaperColumn 1855 \overrideProperty Score.NonMusicalPaperColumn
1856 #'line-break-system-details #'((Y-offset . 0)) 1856 line-break-system-details #'((Y-offset . 0))
1857 s1 * 2 \break 1857 s1 * 2 \break
1858 1858
1859 \overrideProperty Score.NonMusicalPaperColumn 1859 \overrideProperty Score.NonMusicalPaperColumn
1860 #'line-break-system-details #'((Y-offset . 35)) 1860 line-break-system-details #'((Y-offset . 35))
1861 s1 * 3 \break 1861 s1 * 3 \break
1862 1862
1863 \overrideProperty Score.NonMusicalPaperColumn 1863 \overrideProperty Score.NonMusicalPaperColumn
1864 #'line-break-system-details #'((Y-offset . 70)) 1864 line-break-system-details #'((Y-offset . 70))
1865 s1 * 6 \break 1865 s1 * 6 \break
1866 1866
1867 \overrideProperty Score.NonMusicalPaperColumn 1867 \overrideProperty Score.NonMusicalPaperColumn
1868 #'line-break-system-details #'((Y-offset . 105)) 1868 line-break-system-details #'((Y-offset . 105))
1869 s1 * 5 \break 1869 s1 * 5 \break
1870 } 1870 }
1871 \new Voice { 1871 \new Voice {
1872 \repeat unfold 2 { \music } 1872 \repeat unfold 2 { \music }
1873 \repeat unfold 3 { \music } 1873 \repeat unfold 3 { \music }
1874 \repeat unfold 6 { \music } 1874 \repeat unfold 6 { \music }
1875 \repeat unfold 5 { \music } 1875 \repeat unfold 5 { \music }
1876 } 1876 }
1877 >> 1877 >>
1878 } 1878 }
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
2006 @item @code{FiguredBass} @tab 最も上のポイント 2006 @item @code{FiguredBass} @tab 最も上のポイント
2007 @item @code{FretBoards} @tab トップ ライン 2007 @item @code{FretBoards} @tab トップ ライン
2008 @end multitable 2008 @end multitable
2009 2009
2010 以下の画像では、水平方向の線が参照ポイントの位置を示しています: 2010 以下の画像では、水平方向の線が参照ポイントの位置を示しています:
2011 2011
2012 @lilypond[quote,noragged-right,line-width=110\mm] 2012 @lilypond[quote,noragged-right,line-width=110\mm]
2013 #(define zero-space '((padding . -inf.0) (basic-distance . 0))) 2013 #(define zero-space '((padding . -inf.0) (basic-distance . 0)))
2014 2014
2015 alignToZero = \with { 2015 alignToZero = \with {
2016 \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing = #zero-space 2016 \override VerticalAxisGroup.nonstaff-relatedstaff-spacing = #zero-space
2017 \override VerticalAxisGroup #'nonstaff-nonstaff-spacing = #zero-space 2017 \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #zero-space
2018 } 2018 }
2019 lowerCaseChords = \with { 2019 lowerCaseChords = \with {
2020 chordNameLowercaseMinor = ##t 2020 chordNameLowercaseMinor = ##t
2021 } 2021 }
2022 staffAffinityDown = \with { 2022 staffAffinityDown = \with {
2023 \override VerticalAxisGroup #'staff-affinity = #DOWN 2023 \override VerticalAxisGroup.staff-affinity = #DOWN
2024 } 2024 }
2025 labelContext = 2025 labelContext =
2026 #(define-music-function 2026 #(define-music-function
2027 (parser location context) 2027 (parser location context)
2028 (string?) 2028 (string?)
2029 #{ s1*0^\markup { \typewriter #context } #}) 2029 #{ s1*0^\markup { \typewriter #context } #})
2030 2030
2031 \layout { 2031 \layout {
2032 \context { \Dynamics \alignToZero } 2032 \context { \Dynamics \alignToZero }
2033 \context { \FiguredBass \alignToZero } 2033 \context { \FiguredBass \alignToZero }
2034 \context { \Lyrics \alignToZero } 2034 \context { \Lyrics \alignToZero }
2035 \context { \NoteNames \alignToZero \staffAffinityDown } 2035 \context { \NoteNames \alignToZero \staffAffinityDown }
2036 \context { \ChordNames \alignToZero 2036 \context { \ChordNames \alignToZero
2037 \staffAffinityDown 2037 \staffAffinityDown
2038 \lowerCaseChords } 2038 \lowerCaseChords }
2039 \context { \FretBoards \alignToZero \staffAffinityDown } 2039 \context { \FretBoards \alignToZero \staffAffinityDown }
2040 \context { \Score 2040 \context { \Score
2041 \override BarLine #'stencil = ##f 2041 \override BarLine.stencil = ##f
2042 \override DynamicText #'self-alignment-X = #-1 2042 \override DynamicText.self-alignment-X = #-1
2043 \override FretBoard #'X-offset = #1.75 2043 \override FretBoard.X-offset = #1.75
2044 \override InstrumentName #'minimum-Y-extent = #'(-2 . 2) 2044 \override InstrumentName.minimum-Y-extent = #'(-2 . 2)
2045 \override InstrumentName #'extra-offset = #'(0 . -0.5) 2045 \override InstrumentName.extra-offset = #'(0 . -0.5)
2046 \override TextScript #'minimum-Y-extent = #'(-2 . 3) 2046 \override TextScript.minimum-Y-extent = #'(-2 . 3)
2047 \override TimeSignature #'stencil = ##f 2047 \override TimeSignature.stencil = ##f
2048 } 2048 }
2049 } 2049 }
2050 2050
2051 %% These contexts have reference points at the baseline: 2051 %% These contexts have reference points at the baseline:
2052 %% ChordNames, NoteNames, and Lyrics 2052 %% ChordNames, NoteNames, and Lyrics
2053 << 2053 <<
2054 \new ChordNames { \chords { g1:m } } 2054 \new ChordNames { \chords { g1:m } }
2055 \new NoteNames { s1 | g1 | } 2055 \new NoteNames { s1 | g1 | }
2056 \new RhythmicStaff { 2056 \new RhythmicStaff {
2057 \set RhythmicStaff.instrumentName = #"baseline " 2057 \set RhythmicStaff.instrumentName = #"baseline "
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
2100 グラフィカル オブジェクト プロパティの調節は、@c 2100 グラフィカル オブジェクト プロパティの調節は、@c
2101 @code{\score} ブロックか @code{\layout} ブロックの内部で、@c 2101 @code{\score} ブロックか @code{\layout} ブロックの内部で、@c
2102 @code{\override} を用いて行う必要があります。 2102 @code{\override} を用いて行う必要があります。
2103 2103
2104 以下の例は、連想配列を変更する 2 つの方法を示しています。@c 2104 以下の例は、連想配列を変更する 2 つの方法を示しています。@c
2105 最初の宣言は 1 つのキー値を個別に更新して、@c 2105 最初の宣言は 1 つのキー値を個別に更新して、@c
2106 2 番目の宣言はプロパティ全体を再定義しています: 2106 2 番目の宣言はプロパティ全体を再定義しています:
2107 2107
2108 @example 2108 @example
2109 \new Staff \with @{ 2109 \new Staff \with @{
2110 \override VerticalAxisGroup #'default-staff-staff-spacing 2110 \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
2111 #'basic-distance = #10
2112 @} @{ @dots{} @} 2111 @} @{ @dots{} @}
2113 2112
2114 \new Staff \with @{ 2113 \new Staff \with @{
2115 \override VerticalAxisGroup #'default-staff-staff-spacing = 2114 \override VerticalAxisGroup.default-staff-staff-spacing =
2116 #'((basic-distance . 10) 2115 #'((basic-distance . 10)
2117 (minimum-distance . 9) 2116 (minimum-distance . 9)
2118 (padding . 1) 2117 (padding . 1)
2119 (stretchability . 10)) 2118 (stretchability . 10))
2120 @} @{ @dots{} @} 2119 @} @{ @dots{} @}
2121 @end example 2120 @end example
2122 2121
2123 スペース設定をグローバルに変更するには、@c 2122 スペース設定をグローバルに変更するには、@c
2124 そのスペース設定を @code{\layout} ブロックの中に配置します: 2123 そのスペース設定を @code{\layout} ブロックの中に配置します:
2125 2124
2126 @example 2125 @example
2127 \layout @{ 2126 \layout @{
2128 \context @{ 2127 \context @{
2129 \Staff 2128 \Staff
2130 \override VerticalAxisGroup #'default-staff-staff-spacing 2129 \override VerticalAxisGroup.default-staff-staff-spacing.basic-distance = #10
2131 #'basic-distance = #10
2132 @} 2130 @}
2133 @} 2131 @}
2134 @end example 2132 @end example
2135 2133
2136 垂直方向スペースのグラフィカル オブジェクト プロパティの標準設定は 2134 垂直方向スペースのグラフィカル オブジェクト プロパティの標準設定は
2137 @rinternals{VerticalAxisGroup} と @rinternals{StaffGrouper} でリスト アップ@c 2135 @rinternals{VerticalAxisGroup} と @rinternals{StaffGrouper} でリスト アップ@c
2138 しています。@c 2136 しています。@c
2139 特定のタイプの譜ではない行のデフォルト設定は、@c 2137 特定のタイプの譜ではない行のデフォルト設定は、@c
2140 @rinternals{Contexts} の中にある関連するコンテキストの説明でリスト アップ@c 2138 @rinternals{Contexts} の中にある関連するコンテキストの説明でリスト アップ@c
2141 しています。 2139 しています。
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
2287 以下の例は、@code{default-staff-staff-spacing} プロパティがどのように@c 2285 以下の例は、@code{default-staff-staff-spacing} プロパティがどのように@c
2288 グループ化されていない譜のスペースに影響を与えるかを示しています。@c 2286 グループ化されていない譜のスペースに影響を与えるかを示しています。@c
2289 @code{staff-staff-spacing} に同じ上書きを適用すると同じ効果を持ちますが、@c 2287 @code{staff-staff-spacing} に同じ上書きを適用すると同じ効果を持ちますが、@c
2290 譜がグループ化されている場合にも適用されます。 2288 譜がグループ化されている場合にも適用されます。
2291 2289
2292 @c KEEP LY 2290 @c KEEP LY
2293 @lilypond[verbatim,quote,staffsize=16] 2291 @lilypond[verbatim,quote,staffsize=16]
2294 \layout { 2292 \layout {
2295 \context { 2293 \context {
2296 \Staff 2294 \Staff
2297 \override VerticalAxisGroup #'default-staff-staff-spacing = 2295 \override VerticalAxisGroup.default-staff-staff-spacing =
2298 #'((basic-distance . 8) 2296 #'((basic-distance . 8)
2299 (minimum-distance . 7) 2297 (minimum-distance . 7)
2300 (padding . 1)) 2298 (padding . 1))
2301 } 2299 }
2302 } 2300 }
2303 2301
2304 << 2302 <<
2305 % 非常に低い位置にある音符は 'basic-distance が提供するよりも 2303 % 非常に低い位置にある音符は 'basic-distance が提供するよりも
2306 % 大きなスペースを必要とするため、この譜と次の譜の間隔は 'padding 2304 % 大きなスペースを必要とするため、この譜と次の譜の間隔は 'padding
2307 % によって決定されます。 2305 % によって決定されます。
2308 \new Staff { b,2 r | } 2306 \new Staff { b,2 r | }
2309 2307
2310 % ここでは、'basic-distance が十分なスペースを提供していて、 2308 % ここでは、'basic-distance が十分なスペースを提供していて、
2311 % ページ上にある他の要素のスペースを確保するためにスペースを 2309 % ページ上にある他の要素のスペースを確保するためにスペースを
2312 % ('minimum-distance の値に向かって) 縮める必要はありません。 2310 % ('minimum-distance の値に向かって) 縮める必要はありません。
2313 % そのため、この譜と次の譜の間隔は 'basic-distance によって 2311 % そのため、この譜と次の譜の間隔は 'basic-distance によって
2314 % 決定されます。 2312 % 決定されます。
2315 \new Staff { \clef bass g2 r | } 2313 \new Staff { \clef bass g2 r | }
2316 2314
2317 % 'padding に負の値を設定することにより、譜を重ねることができます。 2315 % 'padding に負の値を設定することにより、譜を重ねることができます。
2318 % 'basic-distance が取り得る最小の値は 0 です。 2316 % 'basic-distance が取り得る最小の値は 0 です。
2319 \new Staff \with { 2317 \new Staff \with {
2320 \override VerticalAxisGroup #'default-staff-staff-spacing = 2318 \override VerticalAxisGroup.default-staff-staff-spacing =
2321 #'((basic-distance . 3.5) 2319 #'((basic-distance . 3.5)
2322 (padding . -10)) 2320 (padding . -10))
2323 } { \clef bass g2 r | } 2321 } { \clef bass g2 r | }
2324 \new Staff { \clef bass g2 r | } 2322 \new Staff { \clef bass g2 r | }
2325 >> 2323 >>
2326 @end lilypond 2324 @end lilypond
2327 2325
2328 @seealso 2326 @seealso
2329 インストールされているファイル: 2327 インストールされているファイル:
2330 @file{scm/define-grobs.scm} 2328 @file{scm/define-grobs.scm}
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
2365 これらのグラフィカル オブジェクト プロパティは、上で個々に説明しています。@c 2363 これらのグラフィカル オブジェクト プロパティは、上で個々に説明しています。@c
2366 @ref{システム内部のスペース プロパティ} を参照してください。 2364 @ref{システム内部のスペース プロパティ} を参照してください。
2367 2365
2368 以下の例は、@code{StaffGrouper} グラフィカル オブジェクトのプロパティが@c 2366 以下の例は、@code{StaffGrouper} グラフィカル オブジェクトのプロパティが@c
2369 どのようにグループ化された譜のスペースに影響を与えるかを示しています: 2367 どのようにグループ化された譜のスペースに影響を与えるかを示しています:
2370 2368
2371 @lilypond[verbatim,quote,staffsize=16] 2369 @lilypond[verbatim,quote,staffsize=16]
2372 \layout { 2370 \layout {
2373 \context { 2371 \context {
2374 \Score 2372 \Score
2375 \override StaffGrouper #'staff-staff-spacing #'padding = #0 2373 \override StaffGrouper.staff-staff-spacing.padding = #0
2376 \override StaffGrouper #'staff-staff-spacing #'basic-distance = #1 2374 \override StaffGrouper.staff-staff-spacing.basic-distance = #1
2377 } 2375 }
2378 } 2376 }
2379 2377
2380 << 2378 <<
2381 \new PianoStaff \with { 2379 \new PianoStaff \with {
2382 \override StaffGrouper #'staffgroup-staff-spacing #'basic-distance = #20 2380 \override StaffGrouper.staffgroup-staff-spacing.basic-distance = #20
2383 } << 2381 } <<
2384 \new Staff { c'1 } 2382 \new Staff { c'1 }
2385 \new Staff { c'1 } 2383 \new Staff { c'1 }
2386 >> 2384 >>
2387 2385
2388 \new StaffGroup << 2386 \new StaffGroup <<
2389 \new Staff { c'1 } 2387 \new Staff { c'1 }
2390 \new Staff { c'1 } 2388 \new Staff { c'1 }
2391 >> 2389 >>
2392 >> 2390 >>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
2432 2430
2433 以下の例は、@code{nonstaff-nonstaff-spacing} プロパティが@c 2431 以下の例は、@code{nonstaff-nonstaff-spacing} プロパティが@c
2434 どのように隣接する譜ではない行のスペースに影響を与えるかを示しています。@c 2432 どのように隣接する譜ではない行のスペースに影響を与えるかを示しています。@c
2435 ここでは、@code{stretchability} キーに非常に大きな値を設定することにより、@c 2433 ここでは、@code{stretchability} キーに非常に大きな値を設定することにより、@c
2436 通常よりも歌詞が広がりやすくしています: 2434 通常よりも歌詞が広がりやすくしています:
2437 2435
2438 @lilypond[verbatim,quote,staffsize=16] 2436 @lilypond[verbatim,quote,staffsize=16]
2439 \layout { 2437 \layout {
2440 \context { 2438 \context {
2441 \Lyrics 2439 \Lyrics
2442 \override VerticalAxisGroup 2440 \override VerticalAxisGroup.nonstaff-nonstaff-spacing.stretchability = #1000
2443 #'nonstaff-nonstaff-spacing #'stretchability = #1000
2444 } 2441 }
2445 } 2442 }
2446 2443
2447 \new StaffGroup 2444 \new StaffGroup
2448 << 2445 <<
2449 \new Staff \with { 2446 \new Staff \with {
2450 \override VerticalAxisGroup #'staff-staff-spacing = #'((basic-distance . 30) ) 2447 \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance . 30))
2451 } { c'1 } 2448 } { c'1 }
2452 \new Lyrics \with { 2449 \new Lyrics \with {
2453 \override VerticalAxisGroup #'staff-affinity = #UP 2450 \override VerticalAxisGroup.staff-affinity = #UP
2454 } \lyricmode { up } 2451 } \lyricmode { up }
2455 \new Lyrics \with { 2452 \new Lyrics \with {
2456 \override VerticalAxisGroup #'staff-affinity = #CENTER 2453 \override VerticalAxisGroup.staff-affinity = #CENTER
2457 } \lyricmode { center } 2454 } \lyricmode { center }
2458 \new Lyrics \with { 2455 \new Lyrics \with {
2459 \override VerticalAxisGroup #'staff-affinity = #DOWN 2456 \override VerticalAxisGroup.staff-affinity = #DOWN
2460 } \lyricmode { down } 2457 } \lyricmode { down }
2461 \new Staff { c'1 } 2458 \new Staff { c'1 }
2462 >> 2459 >>
2463 @end lilypond 2460 @end lilypond
2464 2461
2465 2462
2466 @seealso 2463 @seealso
2467 インストールされているファイル: 2464 インストールされているファイル:
2468 @file{ly/engraver-init.ly}, 2465 @file{ly/engraver-init.ly},
2469 @file{scm/define-grobs.scm} 2466 @file{scm/define-grobs.scm}
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
2516 通常は @code{\context} ブロックや @code{\with} ブロックの中で@c 2513 通常は @code{\context} ブロックや @code{\with} ブロックの中で@c
2517 @code{\override} コマンドを使用します。@c 2514 @code{\override} コマンドを使用します。@c
2518 一方、音符入力の途中で @code{NonMusicalPaperColumn} を上書きする場合、@c 2515 一方、音符入力の途中で @code{NonMusicalPaperColumn} を上書きする場合、@c
2519 特殊なコマンド @code{\overrideProperty} を使用します。@c 2516 特殊なコマンド @code{\overrideProperty} を使用します。@c
2520 ここで、@c 2517 ここで、@c
2521 特殊なコマンド @code{\overrideProperty} で 2518 特殊なコマンド @code{\overrideProperty} で
2522 @code{NonMusicalPaperColumn} を上書きする例をいくつか挙げます: 2519 @code{NonMusicalPaperColumn} を上書きする例をいくつか挙げます:
2523 2520
2524 @example 2521 @example
2525 \overrideProperty NonMusicalPaperColumn 2522 \overrideProperty NonMusicalPaperColumn
2526 #'line-break-system-details #'((X-offset . 20)) 2523 line-break-system-details #'((X-offset . 20))
2527 2524
2528 \overrideProperty NonMusicalPaperColumn 2525 \overrideProperty NonMusicalPaperColumn
2529 #'line-break-system-details #'((Y-offset . 40)) 2526 line-break-system-details #'((Y-offset . 40))
2530 2527
2531 \overrideProperty NonMusicalPaperColumn 2528 \overrideProperty NonMusicalPaperColumn
2532 #'line-break-system-details #'((X-offset . 20) 2529 line-break-system-details #'((X-offset . 20)
2533 (Y-offset . 40)) 2530 (Y-offset . 40))
2534 2531
2535 \overrideProperty NonMusicalPaperColumn 2532 \overrideProperty NonMusicalPaperColumn
2536 #'line-break-system-details #'((alignment-distances . (15))) 2533 line-break-system-details #'((alignment-distances . (15)))
2537 2534
2538 \overrideProperty NonMusicalPaperColumn 2535 \overrideProperty NonMusicalPaperColumn
2539 #'line-break-system-details #'((X-offset . 20) 2536 line-break-system-details #'((X-offset . 20)
2540 (Y-offset . 40) 2537 (Y-offset . 40)
2541 (alignment-distances . (15))) 2538 (alignment-distances . (15)))
2542 @end example 2539 @end example
2543 2540
2544 これらの異なる設定がそれぞれどのように機能するのかを理解するために、@c 2541 これらの異なる設定がそれぞれどのように機能するのかを理解するために、@c
2545 まったく上書きを含まない例を見ることから始めます。 2542 まったく上書きを含まない例を見ることから始めます。
2546 2543
2547 @c \book { } is required in these examples to ensure the spacing 2544 @c \book { } is required in these examples to ensure the spacing
2548 @c overrides can be seen between systems. -np 2545 @c overrides can be seen between systems. -np
2549 2546
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
2584 2581
2585 @lilypond[verbatim,quote,staffsize=16] 2582 @lilypond[verbatim,quote,staffsize=16]
2586 \header { tagline = ##f } 2583 \header { tagline = ##f }
2587 \paper { left-margin = 0\mm } 2584 \paper { left-margin = 0\mm }
2588 \book { 2585 \book {
2589 \score { 2586 \score {
2590 << 2587 <<
2591 \new Staff << 2588 \new Staff <<
2592 \new Voice { 2589 \new Voice {
2593 \overrideProperty Score.NonMusicalPaperColumn 2590 \overrideProperty Score.NonMusicalPaperColumn
2594 #'line-break-system-details #'((Y-offset . 0)) 2591 line-break-system-details #'((Y-offset . 0))
2595 s1*5 \break 2592 s1*5 \break
2596 \overrideProperty Score.NonMusicalPaperColumn 2593 \overrideProperty Score.NonMusicalPaperColumn
2597 #'line-break-system-details #'((Y-offset . 40)) 2594 line-break-system-details #'((Y-offset . 40))
2598 s1*5 \break 2595 s1*5 \break
2599 \overrideProperty Score.NonMusicalPaperColumn 2596 \overrideProperty Score.NonMusicalPaperColumn
2600 #'line-break-system-details #'((Y-offset . 80)) 2597 line-break-system-details #'((Y-offset . 80))
2601 s1*5 \break 2598 s1*5 \break
2602 } 2599 }
2603 \new Voice { \repeat unfold 15 { c'4 c' c' c' } } 2600 \new Voice { \repeat unfold 15 { c'4 c' c' c' } }
2604 >> 2601 >>
2605 \new Staff { 2602 \new Staff {
2606 \repeat unfold 15 { d'4 d' d' d' } 2603 \repeat unfold 15 { d'4 d' d' d' }
2607 } 2604 }
2608 >> 2605 >>
2609 } 2606 }
2610 } 2607 }
(...skipping 13 matching lines...) Expand all
2624 2621
2625 @lilypond[verbatim,quote,staffsize=16] 2622 @lilypond[verbatim,quote,staffsize=16]
2626 \header { tagline = ##f } 2623 \header { tagline = ##f }
2627 \paper { left-margin = 0\mm } 2624 \paper { left-margin = 0\mm }
2628 \book { 2625 \book {
2629 \score { 2626 \score {
2630 << 2627 <<
2631 \new Staff << 2628 \new Staff <<
2632 \new Voice { 2629 \new Voice {
2633 \overrideProperty Score.NonMusicalPaperColumn 2630 \overrideProperty Score.NonMusicalPaperColumn
2634 #'line-break-system-details #'((Y-offset . 20) 2631 line-break-system-details #'((Y-offset . 20)
2635 (alignment-distances . (15))) 2632 (alignment-distances . (15)))
2636 s1*5 \break 2633 s1*5 \break
2637 \overrideProperty Score.NonMusicalPaperColumn 2634 \overrideProperty Score.NonMusicalPaperColumn
2638 #'line-break-system-details #'((Y-offset . 60) 2635 line-break-system-details #'((Y-offset . 60)
2639 (alignment-distances . (15))) 2636 (alignment-distances . (15)))
2640 s1*5 \break 2637 s1*5 \break
2641 \overrideProperty Score.NonMusicalPaperColumn 2638 \overrideProperty Score.NonMusicalPaperColumn
2642 #'line-break-system-details #'((Y-offset . 100) 2639 line-break-system-details #'((Y-offset . 100)
2643 (alignment-distances . (15))) 2640 (alignment-distances . (15)))
2644 s1*5 \break 2641 s1*5 \break
2645 } 2642 }
2646 \new Voice { \repeat unfold 15 { c'4 c' c' c' } } 2643 \new Voice { \repeat unfold 15 { c'4 c' c' c' } }
2647 >> 2644 >>
2648 \new Staff { 2645 \new Staff {
2649 \repeat unfold 15 { d'4 d' d' d' } 2646 \repeat unfold 15 { d'4 d' d' d' }
2650 } 2647 }
2651 >> 2648 >>
2652 } 2649 }
(...skipping 14 matching lines...) Expand all
2667 2664
2668 @lilypond[verbatim,quote,staffsize=16] 2665 @lilypond[verbatim,quote,staffsize=16]
2669 \header { tagline = ##f } 2666 \header { tagline = ##f }
2670 \paper { left-margin = 0\mm } 2667 \paper { left-margin = 0\mm }
2671 \book { 2668 \book {
2672 \score { 2669 \score {
2673 << 2670 <<
2674 \new Staff << 2671 \new Staff <<
2675 \new Voice { 2672 \new Voice {
2676 \overrideProperty Score.NonMusicalPaperColumn 2673 \overrideProperty Score.NonMusicalPaperColumn
2677 #'line-break-system-details #'((Y-offset . 0) 2674 line-break-system-details #'((Y-offset . 0)
2678 (alignment-distances . (30 10))) 2675 (alignment-distances . (30 10)))
2679 s1*5 \break 2676 s1*5 \break
2680 \overrideProperty Score.NonMusicalPaperColumn 2677 \overrideProperty Score.NonMusicalPaperColumn
2681 #'line-break-system-details #'((Y-offset . 60) 2678 line-break-system-details #'((Y-offset . 60)
2682 (alignment-distances . (10 10))) 2679 (alignment-distances . (10 10)))
2683 s1*5 \break 2680 s1*5 \break
2684 \overrideProperty Score.NonMusicalPaperColumn 2681 \overrideProperty Score.NonMusicalPaperColumn
2685 #'line-break-system-details #'((Y-offset . 100) 2682 line-break-system-details #'((Y-offset . 100)
2686 (alignment-distances . (10 30))) 2683 (alignment-distances . (10 30)))
2687 s1*5 \break 2684 s1*5 \break
2688 } 2685 }
2689 \new Voice { \repeat unfold 15 { c'4 c' c' c' } } 2686 \new Voice { \repeat unfold 15 { c'4 c' c' c' } }
2690 >> 2687 >>
2691 \new StaffGroup << 2688 \new StaffGroup <<
2692 \new Staff { \repeat unfold 15 { d'4 d' d' d' } } 2689 \new Staff { \repeat unfold 15 { d'4 d' d' d' } }
2693 \new Staff { \repeat unfold 15 { e'4 e' e' e' } } 2690 \new Staff { \repeat unfold 15 { e'4 e' e' e' } }
2694 >> 2691 >>
2695 >> 2692 >>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
2752 LilyPond は譜外部オブジェクトを、既に配置済みのオブジェクトと衝突しないよう、@c 2749 LilyPond は譜外部オブジェクトを、既に配置済みのオブジェクトと衝突しないよう、@c
2753 一つずつ配置していきます。@c 2750 一つずつ配置していきます。@c
2754 つまり、2 つの譜外部オブジェクトが同じスペースをめぐって競合する場合、@c 2751 つまり、2 つの譜外部オブジェクトが同じスペースをめぐって競合する場合、@c
2755 より小さな @code{outside-staff-priority} を持つオブジェクトが@c 2752 より小さな @code{outside-staff-priority} を持つオブジェクトが@c
2756 譜の近くに配置されます。 2753 譜の近くに配置されます。
2757 2754
2758 @c KEEP LY 2755 @c KEEP LY
2759 @lilypond[quote,ragged-right,relative=2,verbatim] 2756 @lilypond[quote,ragged-right,relative=2,verbatim]
2760 c4_"Text"\pp 2757 c4_"Text"\pp
2761 r2. 2758 r2.
2762 \once \override TextScript #'outside-staff-priority = #1 2759 \once \override TextScript.outside-staff-priority = #1
2763 c4_"Text"\pp % ここでは、テキストが譜の近くに配置されます 2760 c4_"Text"\pp % ここでは、テキストが譜の近くに配置されます
2764 r2. 2761 r2.
2765 % outside-staff-priority に数ではない値を設定することにより、 2762 % outside-staff-priority に数ではない値を設定することにより、
2766 % 自動衝突回避を無効にします 2763 % 自動衝突回避を無効にします
2767 \once \override TextScript #'outside-staff-priority = ##f 2764 \once \override TextScript.outside-staff-priority = ##f
2768 \once \override DynamicLineSpanner #'outside-staff-priority = ##f 2765 \once \override DynamicLineSpanner.outside-staff-priority = ##f
2769 c4_"Text"\pp % ここでは、2 つのオブジェクトが衝突します 2766 c4_"Text"\pp % ここでは、2 つのオブジェクトが衝突します
2770 @end lilypond 2767 @end lilypond
2771 2768
2772 ある譜外部オブジェクトとその前に配置されたグラフィカル オブジェクトとの間に@c 2769 ある譜外部オブジェクトとその前に配置されたグラフィカル オブジェクトとの間に@c
2773 ある垂直方向のパディングは、@c 2770 ある垂直方向のパディングは、@c
2774 @code{outside-staff-padding} で制御することができます。 2771 @code{outside-staff-padding} で制御することができます。
2775 2772
2776 @c KEEP LY 2773 @c KEEP LY
2777 @lilypond[quote,ragged-right,relative=2,verbatim,staffsize=18] 2774 @lilypond[quote,ragged-right,relative=2,verbatim,staffsize=18]
2778 \once \override TextScript #'outside-staff-padding = #0 2775 \once \override TextScript.outside-staff-padding = #0
2779 a'^"このテキストは音符のすぐ近くに配置されます。" 2776 a'^"このテキストは音符のすぐ近くに配置されます。"
2780 \once \override TextScript #'outside-staff-padding = #3 2777 \once \override TextScript.outside-staff-padding = #3
2781 c^"このテキストは前のテキストから離れた位置に配置されます" 2778 c^"このテキストは前のテキストから離れた位置に配置されます"
2782 c^"この手キスとは前にテキストの近くに配置されます" 2779 c^"この手キスとは前にテキストの近くに配置されます"
2783 @end lilypond 2780 @end lilypond
2784 2781
2785 2782
2786 デフォルトでは、譜外部オブジェクトの配置は、@c 2783 デフォルトでは、譜外部オブジェクトの配置は、@c
2787 配置済みのグラフィカル オブジェクトとの水平方向の衝突回避だけを考慮します。@c 2784 配置済みのグラフィカル オブジェクトとの水平方向の衝突回避だけを考慮します。@c
2788 このことは、@c 2785 このことは、@c
2789 オブジェクト同士が水平方向に非常に近く配置される状況を招く可能性があります。@c 2786 オブジェクト同士が水平方向に非常に近く配置される状況を招く可能性があります。@c
2790 譜の垂直方向の間隔を設定した場合も、@c 2787 譜の垂直方向の間隔を設定した場合も、@c
2791 譜外部オブジェクトが挟み込まれる可能性があります。@c 2788 譜外部オブジェクトが挟み込まれる可能性があります。@c
2792 @code{outside-staff-horizontal-padding} を設定すると、@c 2789 @code{outside-staff-horizontal-padding} を設定すると、@c
2793 オブジェクトは垂直方向にずれるため、@c 2790 オブジェクトは垂直方向にずれるため、@c
2794 そのような状況は起こらなくなります。 2791 そのような状況は起こらなくなります。
2795 2792
2796 @c KEEP LY 2793 @c KEEP LY
2797 @lilypond[quote,ragged-right,relative=2,verbatim] 2794 @lilypond[quote,ragged-right,relative=2,verbatim]
2798 % マークアップは後に続く音符に近寄りすぎています 2795 % マークアップは後に続く音符に近寄りすぎています
2799 c4^"Text" 2796 c4^"Text"
2800 c4 2797 c4
2801 c''2 2798 c''2
2802 % outside-staff-horizontal-padding を設定することで修正します 2799 % outside-staff-horizontal-padding を設定することで修正します
2803 R1 2800 R1
2804 \once \override TextScript #'outside-staff-horizontal-padding = #1 2801 \once \override TextScript.outside-staff-horizontal-padding = #1
2805 c,,4^"Text" 2802 c,,4^"Text"
2806 c4 2803 c4
2807 c''2 2804 c''2
2808 @end lilypond 2805 @end lilypond
2809 2806
2810 @seealso 2807 @seealso
2811 コード断片集: 2808 コード断片集:
2812 @rlsr{Spacing} 2809 @rlsr{Spacing}
2813 2810
2814 2811
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
2913 (@rinternals{Staff} コンテキストの中で生成されます) 2910 (@rinternals{Staff} コンテキストの中で生成されます)
2914 は、符幹/小節線のスペースを制御するために、同様のプロパティを保持します。@c 2911 は、符幹/小節線のスペースを制御するために、同様のプロパティを保持します。@c
2915 以下の例は、それらプロパティによる修正の様子を示しています。 2912 以下の例は、それらプロパティによる修正の様子を示しています。
2916 前半はデフォルト設定による修正であり、@c 2913 前半はデフォルト設定による修正であり、@c
2917 後半は修正を誇張しています: 2914 後半は修正を誇張しています:
2918 2915
2919 @lilypond[quote,ragged-right] 2916 @lilypond[quote,ragged-right]
2920 { 2917 {
2921 c'4 e''4 e'4 b'4 | 2918 c'4 e''4 e'4 b'4 |
2922 b'4 e''4 b'4 e''4 | 2919 b'4 e''4 b'4 e''4 |
2923 \override Staff.NoteSpacing #'stem-spacing-correction = #1.5 2920 \override Staff.NoteSpacing.stem-spacing-correction = #1.5
2924 \override Staff.StaffSpacing #'stem-spacing-correction = #1.5 2921 \override Staff.StaffSpacing.stem-spacing-correction = #1.5
2925 c'4 e''4 e'4 b'4 | 2922 c'4 e''4 e'4 b'4 |
2926 b'4 e''4 b'4 e''4 | 2923 b'4 e''4 b'4 e''4 |
2927 } 2924 }
2928 @end lilypond 2925 @end lilypond
2929 2926
2930 プロポーショナル ノーテーション (proportional notation) がサポートされます。@c 2927 プロポーショナル ノーテーション (proportional notation) がサポートされます。@c
2931 @ref{プロポーショナル ノーテーション} を参照してください。 2928 @ref{プロポーショナル ノーテーション} を参照してください。
2932 2929
2933 @seealso 2930 @seealso
2934 Essay on automated music engraving: 2931 Essay on automated music engraving:
2935 @ressay{Optical spacing} 2932 @ressay{Optical spacing}
2936 2933
2937 コード断片集: 2934 コード断片集:
2938 @rlsr{Spacing} 2935 @rlsr{Spacing}
2939 2936
2940 内部リファレンス: 2937 内部リファレンス:
2941 @rinternals{SpacingSpanner}, 2938 @rinternals{SpacingSpanner},
2942 @rinternals{NoteSpacing}, 2939 @rinternals{NoteSpacing},
2943 @rinternals{StaffSpacing}, 2940 @rinternals{StaffSpacing},
2944 @rinternals{NonMusicalPaperColumn} 2941 @rinternals{NonMusicalPaperColumn}
2945 2942
2946 @knownissues 2943 @knownissues
2947 スペースを手動で上書きするための、手軽な仕組みはありません。@c 2944 スペースを手動で上書きするための、手軽な仕組みはありません。@c
2948 余分なスペースを楽譜に挿入するために、以下の手段があります 2945 余分なスペースを楽譜に挿入するために、以下の手段があります
2949 -- 必要に応じて、パディングの値を調整しています。 2946 -- 必要に応じて、パディングの値を調整しています。
2950 2947
2951 @example 2948 @example
2952 \override Score.NonMusicalPaperColumn #'padding = #10 2949 \override Score.NonMusicalPaperColumn.padding = #10
2953 @end example 2950 @end example
2954 2951
2955 スペースを減らすための手段はありません。 2952 スペースを減らすための手段はありません。
2956 2953
2957 2954
2958 @node 新しいスペース領域 2955 @node 新しいスペース領域
2959 @subsection 新しいスペース領域 2956 @subsection 新しいスペース領域
2960 @translationof New spacing area 2957 @translationof New spacing area
2961 2958
2962 @code{newSpacingSection} を用いることで、@c 2959 @code{newSpacingSection} を用いることで、@c
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
3017 \score { 3014 \score {
3018 \relative c'' { 3015 \relative c'' {
3019 g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 | 3016 g4 e e2 | f4 d d2 | c4 d e f | g4 g g2 |
3020 g4 e e2 | f4 d d2 | c4 e g g | c,1 | 3017 g4 e e2 | f4 d d2 | c4 e g g | c,1 |
3021 d4 d d d | d4 e f2 | e4 e e e | e4 f g2 | 3018 d4 d d d | d4 e f2 | e4 e e e | e4 f g2 |
3022 g4 e e2 | f4 d d2 | c4 e g g | c,1 | 3019 g4 e e2 | f4 d d2 | c4 e g g | c,1 |
3023 } 3020 }
3024 \layout { 3021 \layout {
3025 \context { 3022 \context {
3026 \Score 3023 \Score
3027 \override SpacingSpanner 3024 \override SpacingSpanner.base-shortest-duration = #(ly:make-moment 1 16)
3028 #'base-shortest-duration = #(ly:make-moment 1 16)
3029 } 3025 }
3030 } 3026 }
3031 } 3027 }
3032 @end lilypond 3028 @end lilypond
3033 3029
3034 3030
3035 @snippets 3031 @snippets
3036 3032
3037 デフォルトでは、連符のスペースは演奏時間とは関係の無い要素 3033 デフォルトでは、連符のスペースは演奏時間とは関係の無い要素
3038 (臨時記号、音部記号の変化など) 3034 (臨時記号、音部記号の変化など)
(...skipping 14 matching lines...) Expand all
3053 \new Staff { 3049 \new Staff {
3054 c8 c8 c8 c8 3050 c8 c8 c8 c8
3055 \times 4/5 { 3051 \times 4/5 {
3056 c8 c8 c8 c8 c8 3052 c8 c8 c8 c8 c8
3057 } 3053 }
3058 } 3054 }
3059 >> 3055 >>
3060 \layout { 3056 \layout {
3061 \context { 3057 \context {
3062 \Score 3058 \Score
3063 \override SpacingSpanner #'uniform-stretching = ##t 3059 \override SpacingSpanner.uniform-stretching = ##t
3064 } 3060 }
3065 } 3061 }
3066 } 3062 }
3067 @end lilypond 3063 @end lilypond
3068 3064
3069 @code{strict-note-spacing} がセットされている場合、@c 3065 @code{strict-note-spacing} がセットされている場合、@c
3070 音部記号、小節線、それに装飾小音符を考慮せずに、@c 3066 音部記号、小節線、それに装飾小音符を考慮せずに、@c
3071 音符にスペースが割り当てられます。 3067 音符にスペースが割り当てられます。
3072 3068
3073 @lilypond[quote,ragged-right,relative=2,verbatim] 3069 @lilypond[quote,ragged-right,relative=2,verbatim]
3074 \override Score.SpacingSpanner #'strict-note-spacing = ##t 3070 \override Score.SpacingSpanner.strict-note-spacing = ##t
3075 \new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c] c32[ c32] } 3071 \new Staff { c8[ c \clef alto c \grace { c16[ c] } c8 c c] c32[ c32] }
3076 @end lilypond 3072 @end lilypond
3077 3073
3078 @seealso 3074 @seealso
3079 コード断片集: 3075 コード断片集:
3080 @rlsr{Spacing} 3076 @rlsr{Spacing}
3081 3077
3082 3078
3083 @node 行の長さ 3079 @node 行の長さ
3084 @subsection 行の長さ 3080 @subsection 行の長さ
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
3151 プロポーショナル ノーテーションを使っているものがあります。 3147 プロポーショナル ノーテーションを使っているものがあります。
3152 3148
3153 LilyPond はプロポーショナル ノーテーション用に 5 つの設定をサポートします。@c 3149 LilyPond はプロポーショナル ノーテーション用に 5 つの設定をサポートします。@c
3154 それらの設定は一緒に使われることもありますし、単独で使われることもあります: 3150 それらの設定は一緒に使われることもありますし、単独で使われることもあります:
3155 3151
3156 @itemize 3152 @itemize
3157 @item @code{proportionalNotationDuration} 3153 @item @code{proportionalNotationDuration}
3158 @item @code{uniform-stretching} 3154 @item @code{uniform-stretching}
3159 @item @code{strict-note-spacing} 3155 @item @code{strict-note-spacing}
3160 @item @code{\remove "Separating_line_group_engraver"} 3156 @item @code{\remove "Separating_line_group_engraver"}
3161 @item @code{\override PaperColumn #'used = ##t} 3157 @item @code{\override PaperColumn.used = ##t}
3162 @end itemize 3158 @end itemize
3163 3159
3164 以下の例では、@c 3160 以下の例では、@c
3165 これら 5 つのプロポーショナル ノーテーション用の設定を見ていき、@c 3161 これら 5 つのプロポーショナル ノーテーション用の設定を見ていき、@c
3166 それらがどのように相互に作用するかを調べます。 3162 それらがどのように相互に作用するかを調べます。
3167 3163
3168 以下のような 1 小節の例から始めます。@c 3164 以下のような 1 小節の例から始めます。@c
3169 これは、@code{ragged-right} が ON であり、@c 3165 これは、@code{ragged-right} が ON であり、@c
3170 クラシック音楽でのスペースを使用します。 3166 クラシック音楽でのスペースを使用します。
3171 3167
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
3390 \new RhythmicStaff { 3386 \new RhythmicStaff {
3391 \times 8/9 { 3387 \times 8/9 {
3392 c'8 c'8 c'8 c'8 c'8 c'8 c'8 c'8 c'8 3388 c'8 c'8 c'8 c'8 c'8 c'8 c'8 c'8 c'8
3393 } 3389 }
3394 } 3390 }
3395 >> 3391 >>
3396 \layout { 3392 \layout {
3397 \context { 3393 \context {
3398 \Score 3394 \Score
3399 proportionalNotationDuration = #(ly:make-moment 1 20) 3395 proportionalNotationDuration = #(ly:make-moment 1 20)
3400 \override SpacingSpanner #'uniform-stretching = ##t 3396 \override SpacingSpanner.uniform-stretching = ##t
3401 } 3397 }
3402 } 3398 }
3403 } 3399 }
3404 @end lilypond 3400 @end lilypond
3405 3401
3406 今度は、適切にスペースが割り当てられました。@c 3402 今度は、適切にスペースが割り当てられました。@c
3407 リズムは視覚的に明快になり、必要があれば時間軸や図を挿入することができます。 3403 リズムは視覚的に明快になり、必要があれば時間軸や図を挿入することができます。
3408 3404
3409 LilyPond のプロポーショナル ノーテーション パッケージは、@c 3405 LilyPond のプロポーショナル ノーテーション パッケージは、@c
3410 すべてのプロポーショナルな楽譜は @code{SpacingSpanner} の 3406 すべてのプロポーショナルな楽譜は @code{SpacingSpanner} の
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
3497 c''8 3493 c''8
3498 c''8 3494 c''8
3499 c''8 3495 c''8
3500 \clef alto 3496 \clef alto
3501 d'8 3497 d'8
3502 d'2 3498 d'2
3503 } 3499 }
3504 3500
3505 \new Staff { 3501 \new Staff {
3506 \set Score.proportionalNotationDuration = #(ly:make-moment 1 16) 3502 \set Score.proportionalNotationDuration = #(ly:make-moment 1 16)
3507 \override Score.SpacingSpanner #'strict-note-spacing = ##t 3503 \override Score.SpacingSpanner.strict-note-spacing = ##t
3508 c''8 3504 c''8
3509 c''8 3505 c''8
3510 c''8 3506 c''8
3511 \clef alto 3507 \clef alto
3512 d'8 3508 d'8
3513 d'2 3509 d'2
3514 } 3510 }
3515 @end lilypond 3511 @end lilypond
3516 3512
3517 どちらの楽譜もプロポーショナルです。@c 3513 どちらの楽譜もプロポーショナルです。@c
3518 しかしながら、最初の楽譜は音部変更があるため広がりすぎています。@c 3514 しかしながら、最初の楽譜は音部変更があるため広がりすぎています。@c
3519 2 番目の楽譜は、@code{strict-note-spacing} を ON にしているため、@c 3515 2 番目の楽譜は、@code{strict-note-spacing} を ON にしているため、@c
3520 プロポーショナルな間隔を維持しています。@c 3516 プロポーショナルな間隔を維持しています。@c
3521 @code{strict-note-spacing} を ON にすると、@c 3517 @code{strict-note-spacing} を ON にすると、@c
3522 拍子記号、調号、音部記号、それに臨時記号の幅は、@c 3518 拍子記号、調号、音部記号、それに臨時記号の幅は、@c
3523 スペース アルゴリズムの中で何の役割も果たさなくなります。 3519 スペース アルゴリズムの中で何の役割も果たさなくなります。
3524 3520
3525 この設定に加えて、他にもプロポーショナルな楽譜で頻出する設定があります。@c 3521 この設定に加えて、他にもプロポーショナルな楽譜で頻出する設定があります。@c
3526 以下のような設定です: 3522 以下のような設定です:
3527 3523
3528 @itemize 3524 @itemize
3529 @item @code{\override SpacingSpanner #'strict-grace-spacing = ##t} 3525 @item @code{\override SpacingSpanner.strict-grace-spacing = ##t}
3530 @item @code{tupletFullLength = ##t} 3526 @item @code{tupletFullLength = ##t}
3531 @item @code{\override Beam #'breakable = ##t} 3527 @item @code{\override Beam.breakable = ##t}
3532 @item @code{\override Glissando #'breakable = ##t} 3528 @item @code{\override Glissando.breakable = ##t}
3533 @item @code{\override TextSpanner #'breakable = ##t} 3529 @item @code{\override TextSpanner.breakable = ##t}
3534 @item @code{\remove "Forbid_line_break_engraver" in the Voice context} 3530 @item @code{\remove "Forbid_line_break_engraver" in the Voice context}
3535 @end itemize 3531 @end itemize
3536 3532
3537 これらの設定は、装飾小音符のスペースを厳密にし、@c 3533 これらの設定は、装飾小音符のスペースを厳密にし、@c
3538 連譜の囲みをリズム的な開始点、終了点まで拡張し、@c 3534 連譜の囲みをリズム的な開始点、終了点まで拡張し、@c
3539 (連桁のような) 広がりを持つ要素が、@c 3535 (連桁のような) 広がりを持つ要素が、@c
3540 システムやページが改まるときに中断されることを許可します。@c 3536 システムやページが改まるときに中断されることを許可します。@c
3541 これらの設定について、本書の関連パートを参照してください。 3537 これらの設定について、本書の関連パートを参照してください。
3542 3538
3543 @seealso 3539 @seealso
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
3683 余分なスペースを必要とします。@c 3679 余分なスペースを必要とします。@c
3684 これらの繰り返しが 2 つのシステムに広がっている場合、@c 3680 これらの繰り返しが 2 つのシステムに広がっている場合、@c
3685 1 システムが volta リピートを持ち、もう 1 システムが volta リピートを持たない@c 3681 1 システムが volta リピートを持ち、もう 1 システムが volta リピートを持たない@c
3686 場合よりも多くのスペースをとります。@c 3682 場合よりも多くのスペースをとります。@c
3687 別の例では、@c 3683 別の例では、@c
3688 システムから突き出ている強弱記号を譜に近づけることで、@c 3684 システムから突き出ている強弱記号を譜に近づけることで、@c
3689 スペースを節約することができます: 3685 スペースを節約することができます:
3690 3686
3691 @lilypond[verbatim,quote,relative=1] 3687 @lilypond[verbatim,quote,relative=1]
3692 e4 c g\f c 3688 e4 c g\f c
3693 e4 c g-\tweak #'X-offset #-2.7 -\tweak #'Y-offset #2.5 \f c 3689 e4 c g-\tweak X-offset #-2.7 -\tweak Y-offset #2.5 \f c
3694 @end lilypond 3690 @end lilypond
3695 3691
3696 @item 3692 @item
3697 @code{SpacingSpanner} 経由で水平方向のスペースを変更する。@c 3693 @code{SpacingSpanner} 経由で水平方向のスペースを変更する。@c
3698 詳細は、@ref{水平方向のスペースを変更する} を参照してください。@c 3694 詳細は、@ref{水平方向のスペースを変更する} を参照してください。@c
3699 以下の例は、デフォルトをスペースを示しています: 3695 以下の例は、デフォルトをスペースを示しています:
3700 3696
3701 @lilypond[verbatim,quote] 3697 @lilypond[verbatim,quote]
3702 \score { 3698 \score {
3703 \relative c'' { 3699 \relative c'' {
(...skipping 18 matching lines...) Expand all
3722 \relative c'' { 3718 \relative c'' {
3723 g4 e e2 | 3719 g4 e e2 |
3724 f4 d d2 | 3720 f4 d d2 |
3725 c4 d e f | 3721 c4 d e f |
3726 g4 g g2 | 3722 g4 g g2 |
3727 g4 e e2 | 3723 g4 e e2 |
3728 } 3724 }
3729 \layout { 3725 \layout {
3730 \context { 3726 \context {
3731 \Score 3727 \Score
3732 \override SpacingSpanner 3728 \override SpacingSpanner.common-shortest-duration = #(ly:make-moment 1 2)
3733 #'common-shortest-duration = #(ly:make-moment 1 2)
3734 } 3729 }
3735 } 3730 }
3736 } 3731 }
3737 @end lilypond 3732 @end lilypond
3738 3733
3739 @noindent 3734 @noindent
3740 @code{common-shortest-duration} プロパティを動的に変更することはできません。@c 3735 @code{common-shortest-duration} プロパティを動的に変更することはできません。@c
3741 そのため、このプロパティは常に @code{\context} ブロックの中に配置して、@c 3736 そのため、このプロパティは常に @code{\context} ブロックの中に配置して、@c
3742 楽譜全体に適用されるようにする必要があります。 3737 楽譜全体に適用されるようにする必要があります。
3743 3738
3744 @end itemize 3739 @end itemize
3745 3740
3746 @seealso 3741 @seealso
3747 記譜法リファレンス: 3742 記譜法リファレンス:
3748 @ref{ページ レイアウト}, 3743 @ref{ページ レイアウト},
3749 @ref{水平方向のスペースを変更する} 3744 @ref{水平方向のスペースを変更する}
3750 3745
3751 コード断片集: 3746 コード断片集:
3752 @rlsr{Spacing} 3747 @rlsr{Spacing}
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b