-@c -*- coding: utf-8; mode: texinfo; -*-
+@c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
+
@ignore
- Translation of GIT committish: a35594af4584e56f6dffe15371eeca10449d1a44
+ Translation of GIT committish: eb38c33a95cbe6adf9f176dfbb794373ec062605
When revising a translation, copy the HEAD committish of the
- version that you are working on. See TRANSLATION for details.
+ version that you are working on. For details, see the Contributors'
+ Guide, node Updating translation committishes..
@end ignore
-@c \version "2.14.0"
+@c \version "2.19.21"
-@c Translators: Yoshiki Sawada
+@c Translators: Tomohiro Tatejima, Masamichi Hosoda, Yoshiki Sawada
@c Translation status: post-GDP
そのような指示は、@ref{Direction and placement} で説明する構文を用いて、@c
手動で譜の上または下に配置することができます。
-@lilypond[quote,verbatim,relative=2]
-a8^"pizz." g f e a4-"scherz." f
+@lilypond[quote,verbatim]
+\relative { a'8^"pizz." g f e a4-"scherz." f }
@end lilypond
この構文は実際には短縮記法です。@c
@code{\markup} ブロックを用いて明示的に、@c
より複雑なテキスト フォーマットを音符に付け加えることができます。
-@lilypond[quote,verbatim,relative=2]
-a8^\markup { \italic pizz. } g f e
-a4_\markup { \tiny scherz. \bold molto } f
+@lilypond[quote,verbatim]
+\relative {
+ a'8^\markup { \italic pizz. } g f e
+ a4_\markup { \tiny scherz. \bold molto } f }
@end lilypond
デフォルトでは、テキスト指示は音符の間隔に影響を与えません。@c
以下の例では、最初のテキスト文字列は音符の間隔に影響を与えていませんが、@c
2 番目のテキスト文字列は影響を与えています。
-@lilypond[quote,verbatim,relative=2]
-a8^"pizz." g f e
-\textLengthOn
-a4_"scherzando" f
+@lilypond[quote,verbatim]
+\relative {
+ a'8^"pizz." g f e
+ \textLengthOn
+ a4_"scherzando" f
+}
@end lilypond
テキスト スクリプトだけでなく、@c
@rlearning{オブジェクトの配置} を参照してください。
@funindex \textLengthOn
-@funindex textLengthOn
@funindex \textLengthOff
-@funindex textLengthOff
@predefined
@code{\textLengthOn},
学習マニュアル:
@rlearning{オブジェクトの配置}
-
記譜法リファレンス:
@ref{テキストをフォーマットする},
@ref{Direction and placement},
内部リファレンス:
@rinternals{TextScript}
-
@cindex text outside margin (マージンからはみ出すテキスト)
@cindex margin, text running over (マージンからはみ出すテキスト)
@cindex text, keeping inside margin (テキストをマージン内に収める)
@cindex lyrics, keeping inside margin (歌詞をマージン内に収める)
-
@knownissues
テキスト スクリプトと歌詞がマージンに収まることを保証するためのチェックは@c
計算量を増やします。@c
処理速度を上げる必要がある場合は、以下を用います:
@example
-\override Score.PaperColumn #'keep-inside-line = ##f
+\override Score.PaperColumn.keep-inside-line = ##f
@end example
以下の構文を用いることで、@c
ある音符から他の音符までの範囲に作成することができます:
-@lilypond[verbatim,quote,relative=2]
-\override TextSpanner #'(bound-details left text) = "rit."
-b1\startTextSpan
-e,\stopTextSpan
+@lilypond[verbatim,quote]
+\relative {
+ \override TextSpanner.bound-details.left.text = "rit."
+ b'1\startTextSpan
+ e,\stopTextSpan
+}
@end lilypond
+@cindex text spanners, formatting (テキスト スパナ フォーマット)
+@cindex formatting text spanners (テキスト スパナ フォーマット)
+
@noindent
譜刻される文字列はオブジェクト プロパティを通じてセットされます。@c
デフォルトでは文字列はイタリック体で譜刻されます。@c
しかしながら、@ref{テキストをフォーマットする} で記述されているように、@c
@code{\markup} ブロックを用いることで他の書体にすることができます。
-@lilypond[quote,relative=2,verbatim]
-\override TextSpanner #'(bound-details left text) =
- \markup { \upright "rit." }
-b1\startTextSpan c
-e,\stopTextSpan
+@lilypond[quote,verbatim]
+\relative {
+ \override TextSpanner.bound-details.left.text =
+ \markup { \upright "rit." }
+ b'1\startTextSpan c
+ e,\stopTextSpan
+}
@end lilypond
テキスト文字列と同様に、@c
線スタイルの構文は @ref{Line styles} で記述されています。
@funindex \textSpannerUp
-@funindex textSpannerUp
@funindex \textSpannerDown
-@funindex textSpannerDown
@funindex \textSpannerNeutral
-@funindex textSpannerNeutral
@predefined
@code{\textSpannerUp},
@code{\textSpannerDown},
-@code{\textSpannerNeutral}.
+@code{\textSpannerNeutral}
@endpredefined
@knownissues
@snippets
-@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+@lilypondfile[verbatim,quote,texidoc,doctitle]
{dynamics-text-spanner-postfix.ly}
-@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+@lilypondfile[verbatim,quote,texidoc,doctitle]
{dynamics-custom-text-spanner-postfix.ly}
-
@seealso
記譜法リファレンス:
@ref{Line styles},
@cindex text marks (テキスト マーク)
-@cindex marks, tex (テキスト マーク)t
+@cindex marks, tex (テキスト マーク)
@cindex text on bar line (小節線上のテキスト)
@cindex coda on bar line (小節線上のコーダ)
@cindex segno on bar line (小節線上のセーニョ)
@cindex bar lines, symbols on (小節線上のシンボル)
@funindex \mark
-@funindex mark
@funindex \markup
-@funindex markup
@ref{リハーサル記号} で記述されている構文を用いて、@c
さまざまなテキスト要素を楽譜に付け加えることができます:
@c \mark needs to be placed on a separate line (it's not
@c attached to an object like \markup is). -vv
-@lilypond[verbatim,quote,relative=2]
-c4
-\mark "Allegro"
-c c c
+@lilypond[verbatim,quote]
+\relative {
+ \mark "Verse"
+ c'2 g'
+ \bar "||"
+ \mark "Chorus"
+ g2 c,
+ \bar "|."
+}
@end lilypond
この構文を用いることで、@c
@code{\markup} ブロックを用いてより複雑なテキスト フォーマットを@c
付け加えることもできます:
-@lilypond[quote,verbatim,relative=1]
-<c e>1
-\mark \markup { \italic { colla parte } }
-<d f>2 <e g>
-<c f aes>1
+@lilypond[quote,verbatim]
+\relative {
+ <c' e>1
+ \mark \markup { \italic { colla parte } }
+ <d f>2 <e g>
+ <c f aes>1
+}
@end lilypond
@noindent
この構文で適切なシンボル名を指定することによって、@c
特殊な記号 -- コーダ、セーニョ、フェルマータなど -- を譜刻することが可能です:
-@lilypond[quote,verbatim,relative=2]
-<bes f>2 <aes d>
-\mark \markup { \musicglyph #"scripts.ufermata" }
-<e g>1
+@lilypond[quote,verbatim]
+\relative {
+ <bes' f>2 <aes d>
+ \mark \markup { \musicglyph #"scripts.ufermata" }
+ <e g>1
+}
@end lilypond
@noindent
小節線の上に配置されたり、音符の間に配置されたりします。@c
改行位置で指定した場合、そのマークは次の行の先頭に譜刻されます。
-@lilypond[quote,verbatim,relative=2]
-\mark "Allegro"
-c1 c
-\mark "assai" \break
-c c
+@lilypond[quote,verbatim,ragged-right]
+\relative c'' {
+ \mark "Allegro"
+ c1 c
+ \mark "assai" \break
+ c c
+}
@end lilypond
+@funindex \markLengthOn
+@funindex \markLengthOff
+
+@predefined
+@code{\markLengthOn},
+@code{\markLengthOff}
+@endpredefined
@snippets
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
+@lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
{printing-marks-at-the-end-of-a-line.ly}
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
-{aligning-marks-with-various-notation-objects.ly}
-
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
+@lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
{printing-marks-on-every-staff.ly}
-
@seealso
記譜法リファレンス:
@ref{リハーサル記号},
@ref{テキストをフォーマットする},
@ref{マークアップ内部での音楽記譜法},
-@ref{The Feta font}
+@ref{The Emmentaler font}.
コード断片集:
@rlsr{Text}
@cindex text, top-level (最上位レベルのテキスト)
@funindex \markup
-@funindex markup
@code{\markup} ブロックはそれ自体で、@c
すべての @code{\score} ブロックの外側に、@c
@funindex \markup
-@funindex markup
-@funindex \markuplines
-@funindex markuplines
+@funindex \markuplist
@predefined
@code{\markup},
-@code{\markuplines}
+@code{\markuplist}
@endpredefined
-
@snippets
-@lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
+@lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
{stand-alone-two-column-markup.ly}
@seealso
@cindex typeset text (テキストの譜刻)
@funindex \markup
-@funindex markup
@code{\markup} ブロックは @qq{マークアップ モード} と呼ばれる@c
拡張可能な構文でテキストを譜刻するために用いられます。
マークアップ コマンドを保持することができます。@c
そのようなコマンドは直後の表記にのみ影響を与えます。
-@lilypond[quote,verbatim,relative=2]
-a1-\markup intenso
-a2^\markup { poco \italic più forte }
-c e1
-d2_\markup { \italic "string. assai" }
-e
-b1^\markup { \bold { molto \italic agitato } }
-c
+@lilypond[quote,verbatim]
+\relative {
+ a'1-\markup intenso
+ a2^\markup { poco \italic più forte }
+ c e1
+ d2_\markup { \italic "string. assai" }
+ e
+ b1^\markup { \bold { molto \italic agitato } }
+ c
+}
@end lilypond
@cindex special characters in markup mode (マークアップ モードでの特殊文字)
ダブル クォーテーション自体は、@c
それ自体の前にバックスラッシュを置くことによって譜刻されます。
-@lilypond[quote,verbatim,relative=2]
-a1^"\italic markup..."
-a_\markup { \italic "... prints \"italic\" letters!" }
-a a
+@lilypond[quote,verbatim]
+\relative {
+ a'1^"\italic markup..."
+ a_\markup { \italic "... prints \"italic\" letters!" }
+ a a
+}
@end lilypond
表記をばらばらなものとして扱うには、@c
以下の例では、@c
2 番目の @code{\markup} 表記は 1 番目の表記と同じように扱われています:
-@lilypond[quote,verbatim,relative=2]
-c1^\markup { \center-column { a bbb c } }
-c1^\markup { \center-column { a { bbb c } } }
-c1^\markup { \center-column { a \line { bbb c } } }
-c1^\markup { \center-column { a "bbb c" } }
+@lilypond[quote,verbatim]
+\relative c'' {
+ c1^\markup { \center-column { a bbb c } }
+ c1^\markup { \center-column { a { bbb c } } }
+ c1^\markup { \center-column { a \line { bbb c } } }
+ c1^\markup { \center-column { a "bbb c" } }
+}
@end lilypond
マークアップを変数に格納することができます。@c
}
@end lilypond
-
@noindent
@ref{Text markup commands} に
@code{\markup} 特有のコマンドの徹底したリストがあります。
-
@seealso
記譜法リファレンス:
@ref{Text markup commands}
-コード断片集:
-@rlsr{Text}
-
インストールされているファイル:
@file{scm/markup.scm}
+コード断片集:
+@rlsr{Text}
@knownissues
-マークアップ モードの構文エラーは混乱しやすいです。
+マークアップ モードの構文エラー メッセージは混乱しやすいです。
@node フォントとフォント サイズを選択する
@cindex switching fonts (フォントを切り換える)
@funindex \italic
-@funindex italic
@funindex \bold
-@funindex bold
@funindex \underline
-@funindex underline
マークアップ モードでは、基本的なフォント切り替えがサポートされています:
-@lilypond[quote,verbatim,relative=2]
-d1^\markup {
- \bold { Più mosso }
- \italic { non troppo \underline Vivo }
+@lilypond[quote,verbatim]
+\relative {
+ d''1^\markup {
+ \bold { Più mosso }
+ \italic { non troppo \underline Vivo }
+ }
+ r2 r4 r8
+ d,_\markup { \italic quasi \smallCaps Tromba }
+ f1 d2 r
}
-r2 r4 r8
-d,_\markup { \italic quasi \smallCaps Tromba }
-f1 d2 r
@end lilypond
@cindex font size (フォント サイズ)
@cindex text size (テキスト サイズ)
+@funindex \abs-fontsize
@funindex \fontsize
-@funindex fontsize
@funindex \smaller
-@funindex smaller
@funindex \larger
-@funindex larger
@funindex \magnify
-@funindex magnify
-文字のサイズもいくつかの方法で変更することができます:
-@itemize
-@item
-フォント サイズをあらかじめ定義されている標準サイズに設定することができます。
+フォント サイズをグローバル譜サイズとの相対値で変更する方法はいくつかあります。
-@item
-フォント サイズを絶対値で設定することができます。
+フォント サイズをあらかじめ定義されているサイズに設定することができます:
-@item
-さらに、フォント サイズを現在の値からの相対値で設定することができます。
-@end itemize
+@lilypond[quote,verbatim]
+\relative b' {
+ b1_\markup { \huge Sinfonia }
+ b1^\markup { \teeny da }
+ b1-\markup { \normalsize camera }
+}
+@end lilypond
-@noindent
-以下の例は、これら 3 つの方法の使用例です:
+フォント サイズを前の値との相対関係で設定することができます:
-@lilypond[quote,verbatim,relative=1]
-f1_\markup {
- \tiny espressivo
- \large e
- \normalsize intenso
+@lilypond[quote,verbatim]
+\relative b' {
+ b1_\markup { \larger Sinfonia }
+ b1^\markup { \smaller da }
+ b1-\markup { \magnify #0.6 camera }
}
-a^\markup {
- \fontsize #5 Sinfonia
- \fontsize #2 da
- \fontsize #3 camera
+@end lilypond
+
+フォント サイズをグローバル譜サイズによって設定されている値で拡大あるいは@c
+縮小させることができます:
+
+@lilypond[quote,verbatim]
+\relative b' {
+ b1_\markup { \fontsize #-2 Sinfonia }
+ b1^\markup { \fontsize #1 da }
+ b1-\markup { \fontsize #3 camera }
}
-bes^\markup { (con
- \larger grande
- \smaller emozione
- \magnify #0.6 { e sentimento } )
+@end lilypond
+
+さらに、フォント サイズをグローバル譜サイズとは無関係に、固定ポイント サイズに@c
+設定することができます:
+
+@lilypond[quote,verbatim]
+\relative b' {
+ b1_\markup { \abs-fontsize #20 Sinfonia }
+ b1^\markup { \abs-fontsize #8 da }
+ b1-\markup { \abs-fontsize #14 camera }
}
-d c2 r8 c bes a g1
+@end lilypond
+
+テキストにスペースが含まれる場合、@c
+各スペースのサイズが他の文字のサイズに適したものになるので、@c
+引用符の内側にすべて置くのがベストです。
+
+@lilypond[quote,verbatim]
+\markup \fontsize #6 \bold { Sinfonia da camera }
+\markup \fontsize #6 \bold { "Sinfonia da camera" }
@end lilypond
@cindex subscript (下付き文字)
@cindex superscript (上付き文字)
@funindex \super
-@funindex super
@funindex \sub
-@funindex sub
+@funindex \normal-size-super
テキストを下付き文字あるいは上付き文字として譜刻することができます。@c
デフォルトでは、それらは小さなサイズで譜刻されますが、@c
すべての文字を提供しないものもあります。
@c \concat is actually documented in Align (it is not
-@c a font-switching command). But we need it here. -vv
+@c a font-switching command). But we need it here. -vv
フォント切り替えやフォーマット コマンドの中には、@c
単語の中で使用されると@c
カスタム フォント セットを定義することも可能です。
@funindex \teeny
-@funindex teeny
@funindex \tiny
-@funindex tiny
@funindex \small
-@funindex small
@funindex \normalsize
-@funindex normalsize
@funindex \large
-@funindex large
@funindex \huge
-@funindex huge
@funindex \smaller
-@funindex smaller
@funindex \larger
-@funindex larger
-
@predefined
@code{\teeny},
@code{\larger}
@endpredefined
-
@seealso
記譜法リファレンス:
@ref{フォント},
@ref{手動の繰り返し記号},
@ref{フォント}
+インストールされているファイル:
+@file{scm/define-markup-commands.scm}
+
コード断片集:
@rlsr{Text}
内部リファレンス:
@rinternals{TextScript}
-インストールされているファイル:
-@file{scm/define-markup-commands.scm}
-
@knownissues
フォントのサイズ コマンド @code{\teeny}, @code{\tiny}, @code{\small},
@code{\normalsize}, @code{\large} それに @code{\huge} を用いると、@c
@cindex horizontal text alignment (テキストを水平方向に揃える)
@funindex \left-align
-@funindex left-align
@funindex \center-align
-@funindex center-align
@funindex \right-align
-@funindex right-align
マークアップ オブジェクトの揃え方はいくつかあります。@c
デフォルトでは、テキスト指示はそのテキストの左端で揃えられます:
以下の例では、@c
最初のマークアップと 2 番目のマークアップの揃えられ方はまったく同じです。
-@lilypond[quote,verbatim,relative=2]
-d1-\markup { poco }
-f
-d-\markup { \left-align poco }
-f
-d-\markup { \center-align { poco } }
-f
-d-\markup { \right-align poco }
+@lilypond[quote,verbatim]
+\relative {
+ d''1-\markup { poco }
+ f
+ d-\markup { \left-align poco }
+ f
+ d-\markup { \center-align { poco } }
+ f
+ d-\markup { \right-align poco }
+}
@end lilypond
@funindex \halign
-@funindex halign
水平方向の揃え方は、数値を使って、微調整することができます:
-@lilypond[quote,verbatim,relative=2]
-a1-\markup { \halign #-1 poco }
-e'
-a,-\markup { \halign #0 poco }
-e'
-a,-\markup { \halign #0.5 poco }
-e'
-a,-\markup { \halign #2 poco }
+@lilypond[quote,verbatim]
+\relative {
+ a'1-\markup { \halign #-1 poco }
+ e'
+ a,-\markup { \halign #0 poco }
+ e'
+ a,-\markup { \halign #0.5 poco }
+ e'
+ a,-\markup { \halign #2 poco }
+}
@end lilypond
@noindent
-オブジェクトの中には揃えるためのプロシージャをそれ自身で持っているものがあり、@c
+オブジェクトの中には揃えるための機能をそれ自身で持っているものがあり、@c
それらは上記のコマンドでは影響を受けません。@c
@ref{テキスト マーク} の中の例で示されているように、@c
そのようなマークアップ オブジェクト全体を移動させることが可能です。
@cindex vertical text alignment (テキストを垂直方向に揃える)
@funindex \raise
-@funindex raise
@funindex \lower
-@funindex lower
@funindex \null
-@funindex null
@c QUERY Should the function of ``\null'' be clarified? rp
以下の例では 2 つのケースを示しています。@c
最後のマークアップはアンカ ポイントを持たず、それゆえ移動されません。
-@lilypond[quote,verbatim,relative=1]
-d2^\markup {
- Acte I
- \raise #2 { Scène 1 }
-}
-a'
-g_\markup {
- \null
- \lower #4 \bold { Très modéré }
-}
-a
-d,^\markup {
- \raise #4 \italic { Une forêt. }
+@lilypond[quote,verbatim]
+\relative {
+ d'2^\markup {
+ Acte I
+ \raise #2 { Scène 1 }
+ }
+ a'
+ g_\markup {
+ \null
+ \lower #4 \bold { Très modéré }
+ }
+ a
+ d,^\markup {
+ \raise #4 \italic { Une forêt. }
+ }
+ a'4 a g2 a
}
-a'4 a g2 a
@end lilypond
@funindex \general-align
-@funindex general-align
@funindex \translate
-@funindex translate
@funindex \translate-scaled
-@funindex translate-scaled
コマンドの中にはマークアップ モードの中にあるテキスト オブジェクトの@c
水平方向と垂直方向の両方の揃え方に影響を与えることができるものもあります。@c
そのようなコマンドで移動させるオブジェクトの前には@c
アンカ ポイントを置く必要があります:
-@lilypond[quote,verbatim,relative=1]
-d2^\markup {
- Acte I
- \translate #'(-1 . 2) "Scène 1"
-}
-a'
-g_\markup {
- \null
- \general-align #Y #3.2 \bold "Très modéré"
-}
-a
-d,^\markup {
- \null
- \translate-scaled #'(-1 . 2) \teeny "Une forêt."
+@lilypond[quote,verbatim]
+\relative {
+ d'2^\markup {
+ Acte I
+ \translate #'(-1 . 2) "Scène 1"
+ }
+ a'
+ g_\markup {
+ \null
+ \general-align #Y #3.2 \bold "Très modéré"
+ }
+ a
+ d,^\markup {
+ \null
+ \translate-scaled #'(-1 . 2) \teeny "Une forêt."
+ }
+ a'4 a g2 a
}
-a'4 a g2 a
@end lilypond
@cindex multi-line markup (複数行にわたるマークアップ)
@cindex columns, text (縦に積み重ねたテキスト)
@funindex \column
-@funindex column
@funindex \center-column
-@funindex center-column
マークアップ オブジェクトに何行かのテキストが含まれる場合もあります。@c
以下の例では、それぞれの要素あるいは表記はそれ自体の行に配置され、@c
@cindex centering text on the page (テキストをページの中央に揃える)
@cindex text, centering on the page (テキストをページの中央に揃える)
-@cindex centering markup on the page (マークアップをページの中央に揃える)
@cindex markup, centering on the page (マークアップをページの中央に揃える)
@funindex \fill-line
-@funindex fill-line
同様に、要素あるいは表記のリストの広がりが水平の行幅いっぱいを占める@c
ことがあります (要素が 1 つだけの場合、その要素はページの中央に揃えられます)。@c
@cindex markup text, justified (両端揃えのマークアップ テキスト)
@funindex \wordwrap
-@funindex wordwrap
@funindex \justify
-@funindex justify
さらに、長いテキスト指示を自動的に行幅に合わせて折り返すことができます。@c
そのようなテキスト指示は、以下の例で示すように、左揃えされるか両端揃えされます。
\line \bold { Acto I }
\wordwrap \italic {
(La escena representa el corral de una casa de
- gitanos en el AlbaicÃ\83Ân de Granada. Al fondo una
+ gitanos en el Albaicín de Granada. Al fondo una
puerta por la que se ve el negro interior de
una Fragua, iluminado por los rojos resplandores
del fuego.)
\justify \italic {
(Calle de Granada. Fachada de la casa de Carmela
y su hermano Manuel con grandes ventanas abiertas
- a travÃ\83©s de las que se ve el patio
+ a través de las que se ve el patio
donde se celebra una alegre fiesta)
}
}
@ref{Align} にテキスト揃えコマンドの徹底したリストがあります。
-
@seealso
学習マニュアル:
@rlearning{オブジェクトを移動させる}
@ref{Align},
@ref{テキスト マーク}
+インストールされているファイル:
+@file{scm/define-markup-commands.scm}.
+
コード断片集:
@rlsr{Text}
内部リファレンス:
@rinternals{TextScript}
-インストールされているファイル:
-@file{scm/define-markup-commands.scm}.
-
@node マークアップ内部でのグラフィック記譜法
@unnumberedsubsubsec マークアップ内部でのグラフィック記譜法
@cindex markup text, framing (マークアップ テキストにフレームを付ける)
@funindex \box
-@funindex box
@funindex \circle
-@funindex circle
@funindex \rounded-box
-@funindex rounded-box
@funindex \bracket
-@funindex bracket
@funindex \hbracket
-@funindex hbracket
以下の例で示すように、@c
マークアップ コマンドの中にはテキスト要素を@c
@cindex markup text padding (マークアップ テキスト パディング)
@funindex \pad-markup
-@funindex pad-markup
@funindex \pad-x
-@funindex pad-x
@funindex \pad-to-box
-@funindex pad-to-box
@funindex \pad-around
-@funindex pad-around
コマンドの中にはテキストの周りのパディングを増やすことを必要とするものも@c
あります。@c
@cindex notation, graphic (グラフィック記譜法)
@funindex \combine
-@funindex combine
@funindex \draw-circle
-@funindex draw-circle
@funindex \filled-box
-@funindex filled-box
@funindex \triangle
-@funindex triangle
@funindex \draw-line
-@funindex draw-line
@funindex \arrow-head
-@funindex arrow-head
テキストを持たないグラフィック要素やシンボルを譜刻することもできます。@c
他のマークアップ表記と同様に、@c
@cindex postscript
@funindex \epsfile
-@funindex epsfile
@funindex \postscript
-@funindex postscript
高度なグラフィック機能として、@c
外部画像ファイルを Encapsulated PostScript フォーマット (@emph{eps})
このような機能を使う場合、以下で示すように、@c
描画サイズを明示的に指定することを推奨します:
-@lilypond[quote,verbatim,relative=1]
-c1^\markup {
+@lilypond[quote,verbatim,fragment]
+c'1^\markup {
\combine
\epsfile #X #10 #"./context-example.eps"
\with-dimensions #'(0 . 6) #'(0 . 10)
closepath
stroke"
}
-c
+c'
@end lilypond
@ref{Graphic} にグラフィック特有のコマンドの徹底したリストがあります。
-
@seealso
記譜法リファレンス:
-@ref{Graphic},
+@ref{Align},
+@ref{Dimensions},
@ref{編集者の注釈},
-@ref{Align}
+@ref{Graphic}
+
+インストールされているファイル:
+@file{scm/define-markup-commands.scm},
+@file{scm/stencil.scm}
コード断片集:
@rlsr{Text}
内部リファレンス:
@rinternals{TextScript}
-インストールされているファイル:
-@file{scm/define-markup-commands.scm},
-@file{scm/stencil.scm}
-
@node マークアップ内部での音楽記譜法
@unnumberedsubsubsec マークアップ内部での音楽記譜法
音符と臨時記号はマークアップ コマンドを用いて入力することができます:
-@lilypond[quote,verbatim,relative=2]
-a2 a^\markup {
+@lilypond[quote,verbatim,fragment]
+a'2 a'^\markup {
\note #"4" #1
=
\note-by-number #1 #1 #1.5
}
-b1_\markup {
+b'1_\markup {
\natural \semiflat \flat
\sesquiflat \doubleflat
}
\glissando
-a1_\markup {
+a'1_\markup {
\natural \semisharp \sharp
\sesquisharp \doublesharp
}
-\glissando b
+\glissando b'
@end lilypond
他の記譜オブジェクトもマークアップ モードの中で譜刻することができます:
-@lilypond[quote,verbatim,relative=1]
-g1 bes
-ees-\markup {
- \finger 4
- \tied-lyric #"~"
- \finger 1
-}
-fis_\markup { \dynamic rf }
-bes^\markup {
- \beam #8 #0.1 #0.5
-}
-cis
-d-\markup {
- \markalphabet #8
- \markletter #8
+@lilypond[quote,verbatim]
+\relative {
+ g1 bes
+ ees\finger \markup \tied-lyric #"4~1"
+ fis_\markup { \dynamic rf }
+ bes^\markup {
+ \beam #8 #0.1 #0.5
+ }
+ cis
+ d-\markup {
+ \markalphabet #8
+ \markletter #8
+ }
}
@end lilypond
より一般的には、以下で示すように、@c
使用可能な音楽シンボルはすべてマークアップ オブジェクトに@c
含めることができます。@c
-@ref{The Feta font} に、@c
+@ref{The Emmentaler font} に、@c
音楽シンボルと音楽シンボル名の徹底したリストがあります。
-@lilypond[quote,verbatim,relative=2]
-c2
-c'^\markup { \musicglyph #"eight" }
-c,4
-c,8._\markup { \musicglyph #"clefs.G_change" }
-c16
-c2^\markup { \musicglyph #"timesig.neomensural94" }
+@lilypond[quote,verbatim]
+\relative {
+ c''2
+ c'^\markup { \musicglyph #"eight" }
+ c,4
+ c,8._\markup { \musicglyph #"clefs.G_change" }
+ c16
+ c2^\markup { \musicglyph #"timesig.neomensural94" }
+}
@end lilypond
-@noindent
テキストではない図柄を譜刻するもう 1 つの方法が
@ref{フォントの説明} で記述されています。@c
この方法はさまざまなサイズの波括弧を譜刻する場合に有用です。
さらに、マークアップ モードは特定の楽器のためのダイアグラムをサポートします:
-@lilypond[quote,verbatim,relative=2]
-c1^\markup {
- \fret-diagram-terse #"x;x;o;2;3;2;"
-}
-c^\markup {
- \harp-pedal #"^-v|--ov^"
-}
-c
-c^\markup {
- \combine
- \musicglyph #"accordion.discant"
+@lilypond[quote,verbatim]
+\relative {
+ c''1^\markup {
+ \fret-diagram-terse #"x;x;o;2;3;2;"
+ }
+ c^\markup {
+ \harp-pedal #"^-v|--ov^"
+ }
+ c
+ c^\markup {
\combine
- \raise #0.5 \musicglyph #"accordion.dot"
- \raise #1.5 \musicglyph #"accordion.dot"
+ \musicglyph #"accordion.discant"
+ \combine
+ \raise #0.5 \musicglyph #"accordion.dot"
+ \raise #1.5 \musicglyph #"accordion.dot"
+ }
}
@end lilypond
ネストされる @code{\score} ブロックには
@code{\layout} ブロックを含める必要があります:
-@lilypond[quote,verbatim,relative=1]
-c4 d^\markup {
- \score {
- \relative c' { c4 d e f }
- \layout { }
+@lilypond[quote,verbatim]
+\relative {
+ c'4 d^\markup {
+ \score {
+ \relative { c'4 d e f }
+ \layout { }
+ }
}
+ e f |
+ c d e f
}
-e f |
-c d e f
@end lilypond
@ref{Music} に、音楽記譜法関連のコマンドの徹底したリストがあります。
-
@seealso
記譜法リファレンス:
@ref{Music},
-@ref{The Feta font},
+@ref{The Emmentaler font},
@ref{フォントの説明}
+インストールされているファイル:
+@file{scm/define-markup-commands.scm},
+@file{scm/fret-diagrams.scm},
+@file{scm/harp-pedals.scm}
+
コード断片集:
@rlsr{Text}
内部リファレンス:
@rinternals{TextScript}
-インストールされているファイル:
-@file{scm/define-markup-commands.scm},
-@file{scm/fret-diagrams.scm},
-@file{scm/harp-pedals.scm}.
-
@node 複数ページにわたるマークアップ
@unnumberedsubsubsec 複数ページにわたるマークアップ
@cindex markup text, multi-page (複数ページにわたるマークアップ テキスト)
@cindex text spread over multiple pages (複数ページに広がるテキスト)
-@funindex \markuplines
-@funindex markuplines
+@funindex \markuplist
@funindex \justified-lines
-@funindex justified-lines
@funindex \wordwrap-lines
-@funindex wordwrap-lines
標準のマークアップ オブジェクトは分割することができません。@c
しかしながら、
@c KEEP LY
@lilypond[quote,verbatim]
-\markuplines {
+\markuplist {
\justified-lines {
両端揃えされた非常に長いテキスト。
...
@ref{Text markup list commands} に、@c
マークアップ リスト コマンドの徹底したリストがあります。
-
@seealso
記譜法リファレンス:
-@ref{Text markup list commands},
+@ref{Text markup list commands}
+
+拡張:
+@rextend{New markup list command definition}
コード断片集:
@rlsr{Text}
-拡張:
-@rextend{New markup list command definition}
+インストールされているファイル:
+@file{scm/define-markup-commands.scm}
内部リファレンス:
@rinternals{TextScript}
-インストールされているファイル:
-@file{scm/define-markup-commands.scm}.
-
-@funindex \markuplines
-@funindex markuplines
+@funindex \markuplist
@predefined
-@code{\markuplines}
+@code{\markuplist}
@endpredefined
-
@node フォント
@subsection フォント
@translationof Fonts
音楽記譜フォントはいくつかのファミリに分類された特殊な図柄のセットと@c
言うことができます。@c
以下の構文により、@c
-さまざまな LilyPond @code{feta} 非テキスト フォントを@c
+LilyPond のさまざまな @code{Feta} グリフを@c
マークアップ モードの中で直接使用することが可能になります:
-@lilypond[quote,verbatim,relative=2]
-a1^\markup {
+@lilypond[quote,verbatim,fragment]
+a'1^\markup {
\vcenter {
\override #'(font-encoding . fetaBraces)
\lookup #"brace120"
-- @ref{Rotating objects} を参照してください。
3 ファミリのテキスト フォントが利用可能になっています:
-@emph{roman} (serif) フォント
--- これはデフォルトでは New Century Schoolbook です --
-と、@emph{sans} フォントと単一幅の @emph{typewriter} フォント
--- これら 2 つのファミリは Pango のインストール時に決定されます --
-です。
+@itemize
+@item
+@emph{roman} (serif) フォントの@c
+デフォルトは LilyPond Serif (TeX Gyre Schola のエイリアス)です。
+@item
+@emph{sans} フォントの@c
+デフォルトは LilyPond Sans Serif (TeX Gyre Heros のエイリアス)です。
+@item
+@emph{typewriter} (monospaced) フォントの@c
+デフォルトは LilyPond Monospace (TeX Gyre Cursor のエイリアス)です。
+@end itemize
それぞれのファミリには異なる形状とセットのフォントが保持されています。@c
以下の例は、ファミリ、形状、セットそれにサイズを変更する様子を示しています。@c
デフォルト サイズから変更する場合、@c
@code{font-size} に提供する値が必要となります。
-@lilypond[quote,verbatim,relative=2]
-\override Score.RehearsalMark #'font-family = #'typewriter
+@lilypond[quote,verbatim,fragment]
+\override Score.RehearsalMark.font-family = #'typewriter
\mark \markup "Ouverture"
-\override Voice.TextScript #'font-shape = #'italic
-\override Voice.TextScript #'font-series = #'bold
-d2.^\markup "Allegro"
-\override Voice.TextScript #'font-size = #-3
-c4^smaller
+\override Voice.TextScript.font-shape = #'italic
+\override Voice.TextScript.font-series = #'bold
+d''2.^\markup "Allegro"
+\override Voice.TextScript.font-size = #-3
+c''4^smaller
@end lilypond
@noindent
他のフォントを使用する方法は以下のセクションで説明されています:
@ref{個々に登録するフォント} と @ref{ドキュメント全体のフォント}。
-
@seealso
記譜法リファレンス:
-@ref{The Feta font},
+@ref{The Emmentaler font},
@ref{マークアップ内部での音楽記譜法},
@ref{Rotating objects},
@ref{フォントとフォント サイズを選択する},
FontConfig に認識されている任意のフォントを@c
楽譜の中で使用することができます:
-@lilypond[quote,verbatim,relative=2]
-\override Staff.TimeSignature #'font-name = #"Bitstream Charter"
-\override Staff.TimeSignature #'font-size = #2
+@lilypond[quote,verbatim,fragment]
+\override Staff.TimeSignature.font-name = #"Bitstream Charter"
+\override Staff.TimeSignature.font-size = #2
\time 3/4
-a1_\markup {
- \override #'(font-name . "Vera Bold")
- { Vera Bold }
+a'1_\markup {
+ \override #'(font-name . "Bitstream Vera Sans,sans-serif, Oblique Bold")
+ { Vera Oblique Bold }
}
@end lilypond
@cindex listing available fonts (利用可能なフォントをリストアップする)
@cindex available fonts, listing (利用可能なフォントをリストアップする)
+@var{font-name} はカンマ区切りの @q{フォント} のリストと、@c
+スペース区切りの @q{スタイル} のリストを記述できます。@c
+リスト中の @q{フォント} がインストールされていて、@c
+要求されたグリフを含んでいれば、それが使われます。@c
+そうでないなら代わりにリストの @emph{次} のフォントが使われます。
+
@funindex show-available-fonts
-以下のコマンドはオペレーティング システムで利用可能な@c
+lilypond を以下のオプションを付けて実行すると@c
+オペレーティング システムで利用可能な@c
すべてのフォントのリストを表示します:
@example
lilypond -dshow-available-fonts x
@end example
-
@seealso
記譜法リファレンス:
@ref{フォントの説明},
以下の例で示す方法に従ってフォント ファミリを指定することにより、@c
@emph{roman}, @emph{sans} それに @emph{typewriter} フォント ファミリ@c
として使用されるデフォルト フォントを変更することができます。@c
+この例ではグローバル譜サイズにセットされた値で自動的にフォントのサイズを@c
+伸縮しています。@c
+@ref{個々に登録するフォント} のように、@c
+カンマ区切りの @q{フォント} のリストを記述できます。@c
+しかし、フォント @q{スタイル} は記述できません。@c
フォントについての説明は、@ref{フォントの説明} を参照してください。
@cindex font families, setting (フォント ファミリを設定する)
@lilypond[verbatim,quote]
\paper {
- myStaffSize = #20
#(define fonts
(make-pango-font-tree "Times New Roman"
- "Nimbus Sans"
+ "Nimbus Sans,Nimbus Sans L"
"Luxi Mono"
- (/ myStaffSize 20)))
+ (/ staff-height pt 20)))
}
\relative c'{
@c we don't do Helvetica / Courier, since GS incorrectly loads
@c Apple TTF fonts
-
@seealso
記譜法リファレンス:
@ref{フォントの説明},