X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fja%2Fnotation%2Ftext.itely;h=605484fc7b613585bf754169d501cd94216d2101;hb=18d03fa6a724b0102ccc47d194209802cea02f2e;hp=aa1d7e54c2d3c36b56cc663d6c1d32b2819ea814;hpb=f875ef39c544bd3499dae5360e9e24f69933575f;p=lilypond.git diff --git a/Documentation/ja/notation/text.itely b/Documentation/ja/notation/text.itely index aa1d7e54c2..605484fc7b 100644 --- a/Documentation/ja/notation/text.itely +++ b/Documentation/ja/notation/text.itely @@ -1,15 +1,17 @@ -@c -*- coding: utf-8; mode: texinfo; -*- +@c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*- + @ignore - Translation of GIT committish: a35594af4584e56f6dffe15371eeca10449d1a44 + Translation of GIT committish: 76ee88f5adfc7bcd8eff487543e3605e43a93d80 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: Masamichi Hosoda, Yoshiki Sawada @c Translation status: post-GDP @@ -68,8 +70,8 @@ そのような指示は、@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 @@ -77,9 +79,10 @@ a8^"pizz." g f e a4-"scherz." f @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 @@ -87,10 +90,12 @@ a4_\markup { \tiny scherz. \bold molto } f 以下の例では、最初のテキスト文字列は音符の間隔に影響を与えていませんが、@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 @@ -101,9 +106,7 @@ a4_"scherzando" f @rlearning{オブジェクトの配置} を参照してください。 @funindex \textLengthOn -@funindex textLengthOn @funindex \textLengthOff -@funindex textLengthOff @predefined @code{\textLengthOn}, @@ -114,7 +117,6 @@ a4_"scherzando" f 学習マニュアル: @rlearning{オブジェクトの配置} - 記譜法リファレンス: @ref{テキストをフォーマットする}, @ref{Direction and placement}, @@ -126,20 +128,18 @@ a4_"scherzando" f 内部リファレンス: @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 @@ -157,23 +157,30 @@ a4_"scherzando" f 以下の構文を用いることで、@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 @@ -181,17 +188,14 @@ e,\stopTextSpan 線スタイルの構文は @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 @@ -205,7 +209,6 @@ LilyPond が処理できるテキスト スパナは 1 ボイスにつき、1 @lilypondfile[verbatim,quote,texidoc,doctitle] {dynamics-custom-text-spanner-postfix.ly} - @seealso 記譜法リファレンス: @ref{Line styles}, @@ -226,7 +229,7 @@ LilyPond が処理できるテキスト スパナは 1 ボイスにつき、1 @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 (小節線上のセーニョ) @@ -234,9 +237,7 @@ LilyPond が処理できるテキスト スパナは 1 ボイスにつき、1 @cindex bar lines, symbols on (小節線上のシンボル) @funindex \mark -@funindex mark @funindex \markup -@funindex markup @ref{リハーサル記号} で記述されている構文を用いて、@c さまざまなテキスト要素を楽譜に付け加えることができます: @@ -244,10 +245,12 @@ LilyPond が処理できるテキスト スパナは 1 ボイスにつき、1 @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 { + c''4 + \mark "Allegro" + c c c +} @end lilypond この構文を用いることで、@c @@ -256,11 +259,13 @@ c c c @code{\markup} ブロックを用いてより複雑なテキスト フォーマットを@c 付け加えることもできます: -@lilypond[quote,verbatim,relative=1] -1 -\mark \markup { \italic { colla parte } } -2 -1 +@lilypond[quote,verbatim] +\relative { + 1 + \mark \markup { \italic { colla parte } } + 2 + 1 +} @end lilypond @noindent @@ -268,10 +273,12 @@ c c c この構文で適切なシンボル名を指定することによって、@c 特殊な記号 -- コーダ、セーニョ、フェルマータなど -- を譜刻することが可能です: -@lilypond[quote,verbatim,relative=2] -2 -\mark \markup { \musicglyph #"scripts.ufermata" } -1 +@lilypond[quote,verbatim] +\relative { + 2 + \mark \markup { \musicglyph #"scripts.ufermata" } + 1 +} @end lilypond @noindent @@ -281,32 +288,37 @@ c c c 小節線の上に配置されたり、音符の間に配置されたりします。@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,quote,ragged-right,texidoc,doctitle] {printing-marks-at-the-end-of-a-line.ly} -@lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] -{aligning-marks-with-various-notation-objects.ly} - @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} @@ -329,7 +341,6 @@ c c @cindex text, top-level (最上位レベルのテキスト) @funindex \markup -@funindex markup @code{\markup} ブロックはそれ自体で、@c すべての @code{\score} ブロックの外側に、@c @@ -368,16 +379,13 @@ c c @funindex \markup -@funindex markup -@funindex \markuplines -@funindex markuplines +@funindex \markuplist @predefined @code{\markup}, -@code{\markuplines} +@code{\markuplist} @endpredefined - @snippets @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle] @@ -423,7 +431,6 @@ c c @cindex typeset text (テキストの譜刻) @funindex \markup -@funindex markup @code{\markup} ブロックは @qq{マークアップ モード} と呼ばれる@c 拡張可能な構文でテキストを譜刻するために用いられます。 @@ -443,14 +450,16 @@ c 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 (マークアップ モードでの特殊文字) @@ -471,10 +480,12 @@ c ダブル クォーテーション自体は、@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 @@ -487,11 +498,13 @@ a a 以下の例では、@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 @@ -506,22 +519,19 @@ allegro = \markup { \bold \large Allegro } } @end lilypond - @noindent @ref{Text markup commands} に @code{\markup} 特有のコマンドの徹底したリストがあります。 - @seealso 記譜法リファレンス: @ref{Text markup commands} -コード断片集: -@rlsr{Text} - インストールされているファイル: @file{scm/markup.scm} +コード断片集: +@rlsr{Text} @knownissues マークアップ モードの構文エラーは混乱しやすいです。 @@ -536,77 +546,91 @@ allegro = \markup { \bold \large Allegro } @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 @@ -647,7 +671,7 @@ d c2 r8 c bes a g1 すべての文字を提供しないものもあります。 @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 @@ -676,22 +700,13 @@ d c2 r8 c bes a g1 カスタム フォント セットを定義することも可能です。 @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}, @@ -704,7 +719,6 @@ d c2 r8 c bes a g1 @code{\larger} @endpredefined - @seealso 記譜法リファレンス: @ref{フォント}, @@ -712,15 +726,15 @@ d c2 r8 c bes a g1 @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 @@ -750,40 +764,40 @@ d c2 r8 c bes a g1 @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 @@ -796,11 +810,8 @@ a,-\markup { \halign #2 poco } @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 @@ -814,51 +825,52 @@ a,-\markup { \halign #2 poco } 以下の例では 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 (複数行にわたるマークアップ) @@ -869,9 +881,7 @@ a'4 a g2 a @cindex columns, text (縦に積み重ねたテキスト) @funindex \column -@funindex column @funindex \center-column -@funindex center-column マークアップ オブジェクトに何行かのテキストが含まれる場合もあります。@c 以下の例では、それぞれの要素あるいは表記はそれ自体の行に配置され、@c @@ -895,11 +905,9 @@ a'4 a g2 a @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 @@ -931,9 +939,7 @@ a'4 a g2 a @cindex markup text, justified (両端揃えのマークアップ テキスト) @funindex \wordwrap -@funindex wordwrap @funindex \justify -@funindex justify さらに、長いテキスト指示を自動的に行幅に合わせて折り返すことができます。@c そのようなテキスト指示は、以下の例で示すように、左揃えされるか両端揃えされます。 @@ -945,7 +951,7 @@ a'4 a g2 a \line \bold { Acto I } \wordwrap \italic { (La escena representa el corral de una casa de - gitanos en el Albaicí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.) @@ -957,7 +963,7 @@ a'4 a g2 a \justify \italic { (Calle de Granada. Fachada de la casa de Carmela y su hermano Manuel con grandes ventanas abiertas - a través de las que se ve el patio + a través de las que se ve el patio donde se celebra una alegre fiesta) } } @@ -970,7 +976,6 @@ a'4 a g2 a @ref{Align} にテキスト揃えコマンドの徹底したリストがあります。 - @seealso 学習マニュアル: @rlearning{オブジェクトを移動させる} @@ -979,15 +984,15 @@ a'4 a g2 a @ref{Align}, @ref{テキスト マーク} +インストールされているファイル: +@file{scm/define-markup-commands.scm}. + コード断片集: @rlsr{Text} 内部リファレンス: @rinternals{TextScript} -インストールされているファイル: -@file{scm/define-markup-commands.scm}. - @node マークアップ内部でのグラフィック記譜法 @unnumberedsubsubsec マークアップ内部でのグラフィック記譜法 @@ -1010,15 +1015,10 @@ a'4 a g2 a @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 @@ -1046,13 +1046,9 @@ a'4 a g2 a @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 @@ -1087,17 +1083,11 @@ Flute quartet keeps very uneven time." @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 @@ -1125,9 +1115,7 @@ Flute quartet keeps very uneven time." @cindex postscript @funindex \epsfile -@funindex epsfile @funindex \postscript -@funindex postscript 高度なグラフィック機能として、@c 外部画像ファイルを Encapsulated PostScript フォーマット (@emph{eps}) @@ -1137,8 +1125,8 @@ Flute quartet keeps very uneven time." このような機能を使う場合、以下で示すように、@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) @@ -1154,17 +1142,21 @@ c1^\markup { closepath stroke" } -c +c' @end lilypond @ref{Graphic} にグラフィック特有のコマンドの徹底したリストがあります。 - @seealso 記譜法リファレンス: -@ref{Graphic}, +@ref{Align}, +Dimensions, @ref{編集者の注釈}, -@ref{Align} +@ref{Graphic} + +インストールされているファイル: +@file{scm/define-markup-commands.scm}, +@file{scm/stencil.scm} コード断片集: @rlsr{Text} @@ -1172,10 +1164,6 @@ c 内部リファレンス: @rinternals{TextScript} -インストールされているファイル: -@file{scm/define-markup-commands.scm}, -@file{scm/stencil.scm} - @node マークアップ内部での音楽記譜法 @unnumberedsubsubsec マークアップ内部での音楽記譜法 @@ -1190,80 +1178,81 @@ c 音符と臨時記号はマークアップ コマンドを用いて入力することができます: -@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 @@ -1281,37 +1270,38 @@ c^\markup { ネストされる @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 複数ページにわたるマークアップ @@ -1322,12 +1312,9 @@ c d e f @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 しかしながら、 @@ -1335,7 +1322,7 @@ c d e f @c KEEP LY @lilypond[quote,verbatim] -\markuplines { +\markuplist { \justified-lines { 両端揃えされた非常に長いテキスト。 ... @@ -1362,31 +1349,28 @@ c d e f @ref{Text markup list commands} に、@c マークアップ リスト コマンドの徹底したリストがあります。 - @seealso 記譜法リファレンス: -@ref{Text markup list commands}, - -コード断片集: -@rlsr{Text} +@ref{Text markup list commands} 拡張: @rextend{New markup list command definition} +インストールされているファイル: +@file{scm/define-markup-commands.scm} + +コード断片集: +@rlsr{Text} + 内部リファレンス: @rinternals{TextScript} -インストールされているファイル: -@file{scm/define-markup-commands.scm}. - -@funindex \markuplines -@funindex markuplines +@funindex \markuplist @predefined -@code{\markuplines} +@code{\markuplist} @endpredefined - @node フォント @subsection フォント @translationof Fonts @@ -1422,8 +1406,8 @@ FontConfig はシステムで利用可能なフォントを検出するために さまざまな 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" @@ -1451,25 +1435,31 @@ a1^\markup { -- @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 @@ -1505,10 +1495,9 @@ c4^smaller 他のフォントを使用する方法は以下のセクションで説明されています: @ref{個々に登録するフォント} と @ref{ドキュメント全体のフォント}。 - @seealso 記譜法リファレンス: -@ref{The Feta font}, +@ref{The Emmentaler font}, @ref{マークアップ内部での音楽記譜法}, @ref{Rotating objects}, @ref{フォントとフォント サイズを選択する}, @@ -1524,14 +1513,14 @@ c4^smaller 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 @@ -1540,16 +1529,22 @@ a1_\markup { @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{フォントの説明}, @@ -1570,6 +1565,11 @@ lilypond -dshow-available-fonts x 以下の例で示す方法に従ってフォント ファミリを指定することにより、@c @emph{roman}, @emph{sans} それに @emph{typewriter} フォント ファミリ@c として使用されるデフォルト フォントを変更することができます。@c +この例ではグローバル譜サイズにセットされた値で自動的にフォントのサイズを@c +伸縮しています。@c +@ref{個々に登録するフォント} のように、@c +カンマ区切りの @q{フォント} のリストを記述できます。@c +しかし、フォント @q{スタイル} は記述できません。@c フォントについての説明は、@ref{フォントの説明} を参照してください。 @cindex font families, setting (フォント ファミリを設定する) @@ -1579,12 +1579,11 @@ lilypond -dshow-available-fonts x @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'{ @@ -1598,7 +1597,6 @@ lilypond -dshow-available-fonts x @c we don't do Helvetica / Courier, since GS incorrectly loads @c Apple TTF fonts - @seealso 記譜法リファレンス: @ref{フォントの説明},