| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Editorial annotations
このセクションでは、音符の見た目を変える方法と、分析や教育的な強調を付け加える方法について議論します。
| 1.7.1 譜の内部 | ||
| 1.7.2 譜の外部 |
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Inside the staff
このセクションでは、譜の内部にある要素に強調を付け加える方法について説明します。
| 記譜フォント サイズを選択する | ||
| 運指の指示 | ||
| 隠された音符 | ||
| オブジェクトに色を付ける | ||
| 括弧 | ||
| 符幹 |
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Selecting notation font size
Note:
テキストのフォント サイズに関しては、フォントとフォント サイズを選択するを参照してください。
譜のサイズに関しては、譜サイズを設定するを参照してください。
合図音符に関しては、合図音符をフォーマットするを参照してください。
オッシア譜に関しては、オッシア譜を参照してください。
譜のサイズを変えずに記譜のサイズを変更するには、\magnifyMusic
コマンドに拡大縮小の割合を指定します:
\new Staff << \new Voice \relative { \voiceOne <e' e'>4 <f f'>8. <g g'>16 <f f'>8 <e e'>4 r8 } \new Voice \relative { \voiceTwo \magnifyMusic 0.63 { \override Score.SpacingSpanner.spacing-increment = #(* 1.2 0.63) r32 c'' a c a c a c r c a c a c a c r c a c a c a c a c a c a c a c } } >>
上の例にある \override は、不具合の一時的な回避措置です。このセクションの最後にある“既知の問題と警告”を参照してください。
通常のサイズの音符が小さい音符とマージされる際には、符幹や臨時記号が正しく揃うように、小さい音符のサイズを(‘\once \normalsize’ によって) リセットする必要があります:
\new Staff << \key fis \minor \mergeDifferentlyDottedOn \new Voice \relative { \voiceOne \magnifyMusic 0.63 { \override Score.SpacingSpanner.spacing-increment = #(* 1.2 0.63) \once \normalsize cis'32( cis' gis b a fis \once \normalsize d d' \once \normalsize cis, cis' gis b a gis \once \normalsize fis fis' \once \normalsize fis, fis' ais, cis b gis \once \normalsize eis eis' \once \normalsize a, a' bis, d cis b \once \normalsize gis gis') } } \new Voice \relative { \voiceTwo cis'8. d16 cis8. fis16 fis8. eis16 a8. gis16 } >>
\magnifyMusic コマンドは合図音符、装飾音符、オッシア譜を作るためのものとしては想定されていません – これらには、より適切な作成方法があります。代わりに、このコマンドは以下のような場合に適しています:
単一の譜にある、単一の楽器について、記譜サイズが変化し、しかし装飾音符を用いるのは適切ではない場合 – 例えばカデンツァのようなパッセージや上の例にあるような場合です。
\magnifyMusic の値を 0.63 にセットすることで、CueVoice と同じ大きさになります。
Note: \magnifyMusic コマンドは譜のサイズを変更する時にも使うべきではありません。譜サイズを設定するを参照してください。
個々のレイアウト オブジェクトは \tweak や \override コマンドを使って、font-size プロパティを調整することでサイズを変更できます:
\relative { % 符頭のサイズを変更します <f' \tweak font-size -4 b e>-5 % 運指記号のサイズを変更します bes-\tweak font-size 0 -3 % 臨時記号のサイズを変更します \once \override Accidental.font-size = -4 bes!-^ % アーティキュレーションのサイズを変更します \once \override Script.font-size = 4 bes!-^ }
それぞれのレイアウト オブジェクトの font-size のデフォルト値は、内部リファレンスにリストアップされています。font-size プロパティはfont-interface をサポートしているレイアウト オブジェクトにのみ設定できます。font-size がオブジェクトの ‘Standard settings’ に存在していない場合は、デフォルト値は 0 です。
(internals)All layout objects section ‘All layout objects’ in Internals Reference を参照してください。
fontSize プロパティを理解するfontSize コンテキスト プロパティは、コンテキストに属するグリフ ベースの (訳注: フォントの文字として定義されている、詳しくは後述)
記譜要素全ての相対サイズを調整します:
\relative { \time 3/4 d''4---5 c8( b a g) | \set fontSize = -6 e'4-- c!8-4( b a g) | \set fontSize = 0 fis4---3 e8( d) fis4 | g2. }
fontSize の値は、現在の譜の高さに応じた通常のサイズからの相対値を示しています。デフォルトの fontSize は 0 です。fontSize に 6 を加えることで大きさが 2 倍になり、6 を減じることで半分になります。1 が約 12% の増減になります。
font-size プロパティの対数的な単位は常に直観的とは限りません。Scheme 関数 magnification->font-size はこれに対応する便利な関数です。例えば、記譜の大きさをデフォルトの 75% にしたい場合は、以下のようにします:
\set fontSize = #(magnification->font-size 0.75) |
Scheme 関数 magstep は逆のことをします: font-size の値を拡大縮小率に変換します。
fontSize プロパティはグリフとして描かれている記譜要素のみに作用します
– 例えば、符頭、臨時記号、文字などです。譜のサイズそのものや、符幹、連桁のサイズ、水平方向のスペースなどは変化しません。(譜のサイズを変更せずに) 符幹、連桁のサイズや、水平方向のスペースを変更するには、上記の \magnifyMusic を使用してください。譜のサイズを含めて、全てのサイズを変更する場合は、譜サイズを設定するを参照してください。
fontSize コンテキスト プロパティ が設定されると、個々のレイアウト オブジェクトのグリフが出力される前に、fontSize の値と、font-size グラフィカル オブジェクト プロパティの値が足し合わされます。これは、fontSize が既に設定されていて、個々の font-size プロパティを更に設定する場合に混乱するかもしれません:
% NoteHead のデフォルトの font-size は 0 です % Fingering のデフォルトの font-size は -5 です c''4-3 \set fontSize = -3 % NoteHead のフォント サイズの最終的な値は -3 になります % Fingering のフォント サイズの最終的な値は -8 になります c''4-3 \override Fingering.font-size = 0 % Fingering のフォント サイズの最終的な値は -3 になります c''4-3
以下のような短縮記法コマンドも存在します:
| コマンド | 同等なコマンド | 相対サイズ |
\teeny | \set fontSize = -3 | 71% |
\tiny | \set fontSize = -2 | 79% |
\small | \set fontSize = -1 | 89% |
\normalsize | \set fontSize = 0 | 100% |
\large | \set fontSize = 1 | 112% |
\huge | \set fontSize = 2 | 126% |
\relative c'' { \teeny c4.-> d8---3 \tiny c4.-> d8---3 \small c4.-> d8---3 \normalsize c4.-> d8---3 \large c4.-> d8---3 \huge c4.-> d8---3 }
フォント サイズの変更は、ひな形のサイズが望みのサイズに最も近くなるよう
(一定の割合で) 増減することによって、達成されます。標準フォント サイズ (font-size = 0 のフォント サイズ) は標準の譜の高さに基づきます。20pt の譜では、11pt のフォントが選択されます。
\magnifyMusic,
\teeny,
\tiny,
\small,
\normalsize,
\large,
\huge
記譜法リファレンス: @ref{Selecting font and font size}, @ref{Setting the staff size}, @ref{Formatting cue notes}, @ref{Ossia staves}
インストールされているファイル: ‘ly/music-functions-init.ly’, ‘ly/property-init.ly’
コード断片集: (snippets)Editorial annotations section ‘Editorial annotations’ in Snippets
内部リファレンス: (internals)font-interface section ‘font-interface’ in Internals Reference
\magnifyMusic を使用する際に、水平方向のスペースが不適切になる
2 つの不具合があります。これを解決する方法が 1 つだけありますが、全ての場合にうまくいくとは限りません。次の例で、mag 変数を好きな値に置き換えてください。\newSpacingSection コマンドの片方や両方、あるいは
\override や \revert コマンドを取り除いてみることができます:
\magnifyMusic mag {
\newSpacingSection
\override Score.SpacingSpanner.spacing-increment = #(* 1.2 mag)
[music]
\newSpacingSection
\revert Score.SpacingSpanner.spacing-increment
}
|
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Fingering instructions
運指の指示は 音符-数字 を用いることで挿入することができます:
\relative { c''4-1 d-2 f-4 e-3 }
指の入れ替えのためにマークアップ テキストや文字列を使うこともできます。
\relative { c''4-1 d-2 f\finger \markup \tied-lyric "4~3" c\finger "2 - 3" }
ある音符を親指で演奏するよう指示するために、サム スクリプト (thumb script) を付け加えることができます (例えば、チェロ音楽で)。
\relative { <a'_\thumb a'-3>2 <b_\thumb b'-3> }
和音の個々の音符の後に運指を付け加えることによって、和音に対する運指法を付け加えることができます。
\relative { <c''-1 e-2 g-3 b-5>2 <d-1 f-2 a-3 c-5> }
運指指示の配置を手動で譜の上または下にすることができます。@ref{Direction and placement} を参照してください。
和音内の運指記号の位置をコントロールする
運指番号の位置を精密にコントロールすることができます。位置の設定が適用されるためには、単一の音符であっても和音構造 <> を用いる必要があります。
\relative c' { \set fingeringOrientations = #'(left) <c-1 e-3 a-5>4 \set fingeringOrientations = #'(down) <c-1 e-3 a-5>4 \set fingeringOrientations = #'(down right up) <c-1 e-3 a-5>4 \set fingeringOrientations = #'(up) <c-1 e-3 a-5>4 \set fingeringOrientations = #'(left) <c-1>2 \set fingeringOrientations = #'(down) <e-3>2 \set stringNumberOrientations = #'(up left down) <f\3 a\2 c\1>1 \set strokeFingerOrientations = #'(down right up) <c\rightHandFinger #1 e\rightHandFinger #2 c'\rightHandFinger #4 > }
運指記号を譜の内側に表示する
デフォルトでは、縦方向の運指記号は譜の外側に配置されます。この挙動を取り消すことができます。注意: この場合、和音でない場合にも <> を用いる必要があります。
\relative c' { <c-1 e-2 g-3 b-5>2 \override Fingering.staff-padding = #'() <c-1 e-2 g-3 b-5>4 g'-0 a8[-1 b]-2 g-0 r \override Fingering.add-stem-support = ##f a[-1 b]-2 g-0 r \override Fingering.add-stem-support = ##t a[-1 b]-2 g-0 r \override Fingering.add-stem-support = #only-if-beamed a[-1 b]-2 g-0 r }
記譜法リファレンス: @ref{Direction and placement}
コード断片集: (snippets)Editorial annotations section ‘Editorial annotations’ in Snippets
内部リファレンス: (internals)FingeringEvent section ‘FingeringEvent’ in Internals Reference, (internals)fingering-event section ‘fingering-event’ in Internals Reference, (internals)Fingering_engraver section ‘Fingering_engraver’ in Internals Reference, (internals)New_fingering_engraver section ‘New_fingering_engraver’ in Internals Reference, (internals)Fingering section ‘Fingering’ in Internals Reference
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Hidden notes
隠された (または不可視、透明の) 音符は、音楽理論や作曲の演習の際に有用です。
\relative { c''4 d \hideNotes e4 f \unHideNotes g a \hideNotes b \unHideNotes c }
符頭、符幹、旗、それに休符は不可視です。連桁は、隠された音符から始まる場合は、不可視です。 不可視の音符に取り付けられたオブジェクトは可視のままです。
\relative c'' { e8(\p f g a)-- \hideNotes e8(\p f g a)-- }
\hideNotes,
\unHideNotes
学習マニュアル: (learning)オブジェクトの可視性と色 section ‘オブジェクトの可視性と色’ in Learning Manual
Notation Reference: 不可視の休符, @ref{Visibility of objects}, @ref{Hiding staves}
コード断片集: (snippets)Editorial annotations section ‘Editorial annotations’ in Snippets
内部リファレンス: (internals)Note_spacing_engraver section ‘Note_spacing_engraver’ in Internals Reference, (internals)NoteSpacing section ‘NoteSpacing’ in Internals Reference
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Coloring objects
個々のオブジェクトに色を割り振ることができます。有効なカラー名は @ref{List of colors} でリストアップされています。
\override NoteHead.color = #red c''4 c'' \override NoteHead.color = #(x11-color 'LimeGreen) d'' \override Stem.color = #blue e''
Scheme 関数 x11-color を用いることによって、X11 のために定義された色の全範囲にアクセスすることができます。この関数は引数を 1 つとります。この引数は 'FooBar という形式のシンボルであったり、"FooBar" という形式の文字列であったりします。最初の形式はより素早く記述できて、より効率的です。しかしながら、2 番目の形式を使うと複数単語形式の X11 カラーにアクセスすることができます。
x11-color がパラメータとして意味をなさない場合、その色はデフォルトの黒になります。
\new Staff \with { instrumentName = \markup { \with-color #(x11-color 'red) "Clarinet" } } \relative c'' { \override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2) gis8 a \override Beam.color = #(x11-color "medium turquoise") gis a \override Accidental.color = #(x11-color 'DarkRed) gis a \override NoteHead.color = #(x11-color "LimeGreen") gis a % 以下は意図的に意味をなさない色を指定しています。符幹が黒のままであることに注意してください \override Stem.color = #(x11-color 'Boggle) b2 cis }
Scheme 関数 rgb-color を用いることによって、厳密な RGB カラーを指定することができます。
\new Staff \with { instrumentName = \markup { \with-color #(x11-color 'red) "Clarinet" } } \relative c'' { \override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2) \override Stem.color = #(rgb-color 0 0 0) gis8 a \override Stem.color = #(rgb-color 1 1 1) gis8 a \override Stem.color = #(rgb-color 0 0 0.5) gis4 a }
記譜法リファレンス: @ref{List of colors}, @ref{The tweak command}
コード断片集: (snippets)Editorial annotations section ‘Editorial annotations’ in Snippets
X11 カラーは必ずしも同様の名前を持つノーマル カラーとまったく同じとなるわけではありません。
すべての X11 カラーが Web ブラウザで見分けられるわけではありません。つまり、ある Web ブラウザは LineGreen と ForestGreen を同じ色で表示するかもしれません。Web 向けでは、ノーマル カラーを使用することを推奨します
(つまり、blue, green, red)。
和音の中にある音符に別々に色を付けるのに \override を使うことはできません。代わりにそれぞれの音符の前に \tweak や、それと同等な\single\override を使用してください
– @ref{The tweak command} を参照してください。
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Parentheses
音楽イベントの前に \parenthesize を置くことによって、そのオブジェクトに括弧を付けることができます。和音の前に \parenthesize を置くと、和音の音符それぞれに括弧が付けられます。和音内部の音符に個別に括弧を付けることもできます。
\relative { c''2 \parenthesize d c2 \parenthesize <c e g> c2 <c \parenthesize e g> }
音符ではないオブジェクトにも括弧を付けることができます。アーティキュレーションに対して括弧をつける場合、\parenthesize コマンドの前にハイフンが必要です。
\relative { c''2-\parenthesize -. d c2 \parenthesize r }
コード断片集: (snippets)Editorial annotations section ‘Editorial annotations’ in Snippets
内部リファレンス: (internals)Parenthesis_engraver section ‘Parenthesis_engraver’ in Internals Reference, (internals)ParenthesesItem section ‘ParenthesesItem’ in Internals Reference, (internals)parentheses-interface section ‘parentheses-interface’ in Internals Reference
和音に括弧を付けると、和音全体に単一の大きな括弧が付くのではなく、それぞれの音符に個別に括弧が付きます。
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Stems
音符が見つかった場合はいつでも Stem オブジェクトが自動的に作成されます。全音符や休符の場合でも Stem オブジェクトが作成されますが、不可視になります。
符幹の向きを手動で上または下にすることができます – @ref{Direction and placement} を参照してください。
\stemUp,
\stemDown,
\stemNeutral
譜の中央にある音符の符幹のデフォルトの向き
譜の中央にある音符の符幹の向きは、Stem の neutral-direction
プロパティにセットされています。
\relative c'' { a4 b c b \override Stem.neutral-direction = #up a4 b c b \override Stem.neutral-direction = #down a4 b c b }
メロディに合わせて譜の中央にある音符の符幹の向きを自動で変更する
LilyPond では、Voice コンテキストに Melody_engraver を追加し、Stem の neutral-direction をオーバライドすることで、譜の中央にある音符の符幹の向きを、メロディに合わせて変更することができます。
\relative c'' { \time 3/4 a8 b g f b g | c b d c b c | } \layout { \context { \Voice \consists "Melody_engraver" \autoBeamOff \override Stem.neutral-direction = #'() } }
記譜法リファレンス: @ref{Direction and placement}
コード断片集: (snippets)Editorial annotations section ‘Editorial annotations’ in Snippets
内部リファレンス: (internals)Stem_engraver section ‘Stem_engraver’ in Internals Reference, (internals)Stem section ‘Stem’ in Internals Reference, (internals)stem-interface section ‘stem-interface’ in Internals Reference
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Outside the staff
このセクションでは、譜の外側から譜の中にある要素を強調するための方法について説明します。
| 音符名 | ||
| バルーン ヘルプ | ||
| グリッド ライン | ||
| 分析の囲み |
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Note names
音符名は NoteNames コンテキストを用いて、テキストとして譜刻できます。通常の譜と同時に用いると、各音符と同期してその名前を譜の上部または下部に譜刻することができます。
\language "italiano" melody = \relative do'' { fad2 si,8 dod re mi fad4. re8 fad2 } << \new NoteNames { \melody } \new Staff { \key si \minor \melody } \new NoteNames { \set printNotesLanguage = "deutsch" \set printAccidentalNames = ##f \melody } >>
デフォルトでは、音符名は音楽の入力で使われるものと同じ言語で譜刻されます。しかしながら、printNotesLanguage プロパティで他の言語を選択することが可能です
(@ref{Note names in other languages} を参照してください) 。臨時記号を譜刻するかどうかは、printAccidentalNames プロパティで決定されます。
プロパティをシンボルにセットし、printOctaveNames を ##t
にセットすることで、音符名を LilyPond の入力構文と密接に似せることができます。より一般的な結果が欲しい場合は、‘科学的な’
オクターブ名にすることもできます。
melody = \relative c'' { fis2 b,8 cis d e fis4. d8 fis2 } << \new NoteNames { \set printOctaveNames = ##t \set printAccidentalNames = #'lily \melody } \new Staff { \key b \minor \melody } \new NoteNames { \set printOctaveNames = #'scientific \melody } >>
noteNameSeparator プロパティは和音がどのように譜刻されるかを定義します。その他のフォーマット関数は noteNameFunction で定義され、このような関数は、いずれかを無視する場合であっても、
pitch と context 引数を受けなければなりません。
somechords = \relative c' { <b d fis>2 <b cis e g> <b d fis> q } << \new NoteNames { \set noteNameSeparator = "+" \somechords } \new Staff { \key b \minor \somechords } \new NoteNames { \set noteNameFunction = #(lambda (pitch ctx) (alteration->text-accidental-markup (ly:pitch-alteration pitch))) \somechords } >>
記譜法リファレンス: @ref{Note names in other languages}
内部リファレンス: (internals)NoteName section ‘NoteName’ in Internals Reference, (internals)NoteNames section ‘NoteNames’ in Internals Reference, (internals)Note_name_engraver section ‘Note_name_engraver’ in Internals Reference
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Balloon help
記譜要素に四角いバルーンで印を付けて、テキストを付け加えることができます。この機能の主目的は記譜法を説明することです。
\new Voice \with { \consists "Balloon_engraver" } \relative c'' { \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" } a8 \balloonGrobText #'Rest #'(-4 . -4) \markup { "I'm a rest" } r <c, g'-\balloonText #'(-2 . -2) \markup { "I'm a note head" } c>2. }
上の例には 2 つの音楽関数が使われています
– balloonGrobText と balloonText です。前者は \once \override のように使用され、任意のグラフィカル オブジェクトにテキストを付加します。後者はたいてい和音の中で \tweak のように使用され、個々の音符にテキストを付加します。
バルーン ヘルプのテキストは音符の間隔に影響を与えませんが、影響を与えるように変更することもできます:
\new Voice \with { \consists "Balloon_engraver" } \relative c'' { \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" } a8 \balloonGrobText #'Rest #'(-4 . -4) \markup { "I'm a rest" } r \balloonLengthOn <c, g'-\balloonText #'(-2 . -2) \markup { "I'm a note head" } c>2. }
\balloonLengthOn,
\balloonLengthOff
コード断片集: (snippets)Editorial annotations section ‘Editorial annotations’ in Snippets
内部リファレンス: (internals)Balloon_engraver section ‘Balloon_engraver’ in Internals Reference, (internals)BalloonTextItem section ‘BalloonTextItem’ in Internals Reference, (internals)balloon-interface section ‘balloon-interface’ in Internals Reference
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Grid lines
音符に同期して、譜の間に垂直な線を描くことができます。
線の終点を作成するために Grid_point_engraver を用いる必要があります。一方、実際に線を描くために Grid_line_span_engraver を用いる必要があります。デフォルトでは、グリッド ラインは各符頭の左端に揃えられます。グリッド ラインは上の譜の中央線から下の譜の中央線まで引かれます。gridInterval でグリッド ライン間の演奏時間を指定する必要があります。
\layout { \context { \Staff \consists "Grid_point_engraver" gridInterval = #(ly:make-moment 1/4) } \context { \Score \consists "Grid_line_span_engraver" } } \score { \new ChoirStaff << \new Staff \relative { \stemUp c''4. d8 e8 f g4 } \new Staff \relative { \clef bass \stemDown c4 g' f e } >> }
グリッド線: 見た目を変更する
グリッド線の見た目は、プロパティをオーバライドすることで変更することができます。
\score { \new ChoirStaff << \new Staff { \relative c'' { \stemUp c'4. d8 e8 f g4 } } \new Staff { \relative c { % this moves them up one staff space from the default position \override Score.GridLine.extra-offset = #'(0.0 . 1.0) \stemDown \clef bass \once \override Score.GridLine.thickness = #5.0 c4 \once \override Score.GridLine.thickness = #1.0 g'4 \once \override Score.GridLine.thickness = #3.0 f4 \once \override Score.GridLine.thickness = #5.0 e4 } } >> \layout { \context { \Staff % set up grids \consists "Grid_point_engraver" % set the grid interval to one quarter note gridInterval = #(ly:make-moment 1/4) } \context { \Score \consists "Grid_line_span_engraver" % this moves them to the right half a staff space \override NoteColumn.X-offset = #-0.5 } } }
コード断片集: (snippets)Editorial annotations section ‘Editorial annotations’ in Snippets
内部リファレンス: (internals)Grid_line_span_engraver section ‘Grid_line_span_engraver’ in Internals Reference, (internals)Grid_point_engraver section ‘Grid_point_engraver’ in Internals Reference, (internals)GridLine section ‘GridLine’ in Internals Reference, (internals)GridPoint section ‘GridPoint’ in Internals Reference, (internals)grid-line-interface section ‘grid-line-interface’ in Internals Reference, (internals)grid-point-interface section ‘grid-point-interface’ in Internals Reference.
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] | [トップ] | [目次] | [インデックス] | [ ? ] |
@translationof Analysis brackets
音楽分析では、囲みを使って楽曲の構造を示します。シンプルな水平な囲みがサポートされています。
\layout { \context { \Voice \consists "Horizontal_bracket_engraver" } } \relative { c''2\startGroup d\stopGroup }
分析の囲みはネストすることができます。
\layout { \context { \Voice \consists "Horizontal_bracket_engraver" } } \relative { c''4\startGroup\startGroup d4\stopGroup e4\startGroup d4\stopGroup\stopGroup }
分析用のブラケットを譜の上に表示する
分析用のブラケットは、デフォルトでは譜の下に表示されます。次の例は譜の上に表示する方法を示しています。
\layout { \context { \Voice \consists "Horizontal_bracket_engraver" } } \relative c'' { \once \override HorizontalBracket.direction = #UP c2\startGroup d2\stopGroup }
ラベル付きの分析用ブラケット
Grob HorizontalBracketText の text プロパティを設定することで、分析用のブラケットにテキストを追加することができます。同時に開始するブラケットに異なるテキストを追加する場合には、\tweak
コマンドを使用してください。改行後のテキストは括弧付きで表示されます。
\layout { \context { \Voice \consists "Horizontal_bracket_engraver" \override HorizontalBracket.direction = #UP } } { \once\override HorizontalBracketText.text = "a" c''\startGroup d''\stopGroup \once\override HorizontalBracketText.text = "a'" e''\startGroup d''\stopGroup c'' -\tweak HorizontalBracketText.text \markup \bold \huge "b" \startGroup -\tweak HorizontalBracketText.text "a" \startGroup d''\stopGroup e''-\tweak HorizontalBracketText.text "a'" \startGroup d''\stopGroup\stopGroup c''-\tweak HorizontalBracketText.text foo \startGroup d'' e'' f'' \break g'' a'' b'' c'''\stopGroup }
内部リファレンス: (internals)Horizontal_bracket_engraver section ‘Horizontal_bracket_engraver’ in Internals Reference, (internals)HorizontalBracket section ‘HorizontalBracket’ in Internals Reference, (internals)horizontal-bracket-interface section ‘horizontal-bracket-interface’ in Internals Reference, (internals)HorizontalBracketText section ‘HorizontalBracketText’ in Internals Reference, (internals)horizontal-bracket-text-interface section ‘horizontal-bracket-text-interface’ in Internals Reference, (internals)Staff section ‘Staff’ in Internals Reference
| [ < ] | [ > ] | [ << ] | [ 上へ ] | [ >> ] |
This document was generated by gub on 7 月 13, 2020 using texi2html 1.82.
他の言語: English, català, deutsch, español, français, italiano
About automatic language selection.