]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/ja/learning/fundamental.itely
Issue 4894: Remove unescaped @funindex entries
[lilypond.git] / Documentation / ja / learning / fundamental.itely
index 9f643df1b064286e83e5e3c33e8b5e14739a0922..3ae1f860462bd96080fe64421669c25f61d56161 100644 (file)
@@ -8,7 +8,7 @@
     Guide, node Updating translation committishes..
 @end ignore
 
-@c \version "2.19.21"
+@c \version "2.19.22"
 
 @c Translators: Yoshiki Sawada
 @c Translation status: post-GDP
@@ -77,9 +77,7 @@ LilyPond 入力ファイルの基本例は以下のようなものです:
 しかしながら、この例はスタート地点として役に立ちます。
 
 @funindex \book
-@funindex book
 @funindex \score
-@funindex score
 @cindex book
 @cindex score
 
@@ -168,11 +166,8 @@ LilyPond はまるでその音楽表記が上で示されたコマンドで包
 @end example
 
 @funindex \header
-@funindex header
 @funindex \layout
-@funindex layout
 @funindex \midi
-@funindex midi
 @cindex header (ヘッダ)
 @cindex layout (レイアウト)
 @cindex midi
@@ -199,7 +194,6 @@ MIDI 出力を作り出します。@c
 @cindex book block, implicit (暗黙の book ブロック)
 @cindex implicit book block (暗黙の book ブロック)
 @funindex \book
-@funindex book
 
 あなたは複数の @code{\score} ブロックを記述するかもしれません。@c
 それらはそれぞれ別々の楽譜として扱われますが、それらは結合されて@c
@@ -271,7 +265,6 @@ LilyPond がこのファイルを見ると、@code{melody} の値
 @translationof Score is a (single) compound musical expression
 
 @funindex \score
-@funindex score
 @cindex score
 @cindex contents of a score block (score ブロックの内容)
 @cindex score block, contents of (score ブロックの内容)
@@ -586,11 +579,13 @@ LilyPond 以外では、種類の異なる括弧が適切にネストされる
 タイが 2 つの連符にまたがっていて、@c
 さらにフレージング スラーが連符の外にまで伸びています (行 3 と 4)。
 
-@lilypond[quote,verbatim,ragged-right,relative=1]
-r16[ g \tuplet 3/2 { r16 e'8] }
-g,16( a \tuplet 3/2 { b16 d) e }
-g,8[( a \tuplet 3/2 { b8 d) e~] } |
-\tuplet 5/4 { e32\( a, b d e } a4.\)
+@lilypond[quote,verbatim,ragged-right]
+\relative {
+  r16[ g' \tuplet 3/2 { r16 e'8] }
+  g,16( a \tuplet 3/2 { b16 d) e }
+  g,8[( a \tuplet 3/2 { b8 d) e~] } |
+  \tuplet 5/4 { e32\( a, b d e } a4.\)
+}
 @end lilypond
 
 
@@ -681,10 +676,12 @@ LilyPond の楽譜の中で最も低レベルで、最も基礎的であり、
 
 以下では、上記の例の和音を 2 つのボイスに分け、経過音とスラーを付け加えています:
 
-@lilypond[quote,verbatim,ragged-right,relative=2]
-\key g \major
-%    Voice "1"               Voice "2"
-<< { g4 fis8( g) a4 g } \\ { d4 d d d }  >>
+@lilypond[quote,verbatim,ragged-right]
+\relative {
+  \key g \major
+  %    Voice = "1"             Voice = "2"
+  << { g'4 fis8( g) a4 g } \\ { d4 d d d }  >>
+}
 @end lilypond
 
 この例では 2 番目のボイスの符幹が下向きになっていることに気付いてください。
@@ -693,7 +690,7 @@ LilyPond の楽譜の中で最も低レベルで、最も基礎的であり、
 
 @lilypond[quote,verbatim,fragment,ragged-right,relative=2]
 \key d \minor
-%    Voice "1"             Voice "2"
+%    Voice = "1"           Voice = "2"
 << { r4 g g4. a8 }    \\ { d,2 d4 g }       >> |
 << { bes4 bes c bes } \\ { g4 g g8( a) g4 } >> |
 << { a2. r4 }         \\ { fis2. s4 }       >> |
@@ -705,19 +702,20 @@ LilyPond の楽譜の中で最も低レベルで、最も基礎的であり、
 しかしながら、各小節に多くの音符がある場合、@c
 以下のようにボイス毎に分離した方が良いかもしれません:
 
-@lilypond[quote,verbatim,ragged-right,relative=2]
-\key d \minor
-<< {
-  % Voice "1"
-  r4 g g4. a8 |
-  bes4 bes c bes |
-  a2. r4 |
-} \\ {
-  % Voice "2"
-  d,2 d4 g |
-  g4 g g8( a) g4 |
-  fis2. s4 |
-} >>
+@lilypond[quote,verbatim,ragged-right]
+<<
+  \key d \minor
+  \relative { % Voice = "1"
+    r4 g' g4. a8 |
+    bes4 bes c bes |
+    a2. r4 |
+  } \\
+  \relative { % Voice = "2"
+    d'2 d4 g |
+    g4 g g8( a) g4 |
+    fis2. s4 |
+  }
+>>
 @end lilypond
 
 
@@ -742,7 +740,7 @@ LilyPond の楽譜の中で最も低レベルで、最も基礎的であり、
 \new Staff \relative {
   % Main voice
   c'16 d e f
-  %    Voice "1"     Voice "2"                 Voice "3"
+  %    Voice = "1"   Voice = "2"               Voice = "3"
   << { g4 f e } \\ { r8 e4 d c8 ~ } >> |
   << { d2 e2 }  \\ { c8 b16 a b8 g ~ 2 } \\ { s4 b4 c2 } >> |
 }
@@ -899,12 +897,12 @@ A フラットは付点 4 分音符であり、F は 4 分音符、D フラッ
 @c The following should appear as music without code
 @c The three voice styles should be defined in -init
 @lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
   \key aes \major
   <<
     { % Voice one
       \voiceOneStyle
-      c2 aes4. bes8
+      c''2 aes4. bes8
     }
   \\  % Voice two
     { \voiceTwoStyle
@@ -995,15 +993,10 @@ LilyPond は音符の水平方向の位置を調節するための手段をい
 @translationof Explicitly instantiating voices
 
 @funindex \voiceOne
-@funindex voiceOne
 @funindex \voiceTwo
-@funindex voiceTwo
 @funindex \voiceThree
-@funindex voiceThree
 @funindex \voiceFour
-@funindex voiceFour
 @funindex \oneVoice
-@funindex oneVoice
 @funindex \new Voice
 @cindex voice contexts, creating (ボイス コンテキストを作成する)
 
@@ -1066,18 +1059,18 @@ LilyPond は音符の水平方向の位置を調節するための手段をい
 @end lilypond
 
 @lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
   \voiceOne
-  c4 d8~ 8 e4( f | g4 a) b-> c |
+  c'4 d8~ 8 e4( f | g4 a) b-> c |
   \oneVoice
   c,4 d8~ 8 e4( f | g4 a) b-> c |
 }
 @end lilypond
 
 @lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
   \voiceTwo
-  c4 d8~ 8 e4( f | g4 a) b-> c |
+  c'4 d8~ 8 e4( f | g4 a) b-> c |
   \oneVoice
   c,4 d8~ 8 e4( f | g4 a) b-> c |
 }
@@ -1096,10 +1089,10 @@ LilyPond は音符の水平方向の位置を調節するための手段をい
 示しています。
 
 @lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
   \voiceOneStyle
   % This section is homophonic
-  c16^( d e f
+  c'16^( d e f
   % Start simultaneous section of three voices
   <<
     % Continue the main voice in parallel
@@ -1155,11 +1148,11 @@ LilyPond は音符の水平方向の位置を調節するための手段をい
 ボイスが無音の場所を飛ばすには以下のように空白音符を使用します:
 
 @lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
   % Initiate first voice
   \new Voice {
     \voiceOne
-    c16^( d e f g4 f e | d2 e) |
+    c'16^( d e f g4 f e | d2 e) |
   }
   % Initiate second voice
   \new Voice {
@@ -1185,13 +1178,9 @@ LilyPond は音符の水平方向の位置を調節するための手段をい
 @cindex collisions, notes (音符の衝突)
 @cindex shift commands (シフト コマンド)
 @funindex \shiftOff
-@funindex shiftOff
 @funindex \shiftOn
-@funindex shiftOn
 @funindex \shiftOnn
-@funindex shiftOnn
 @funindex \shiftOnnn
-@funindex shiftOnnn
 
 和音の中で小さな間隔で置かれる音符、@c
 あるいは異なるボイスで同時に発生する音符は、@c
@@ -1239,7 +1228,6 @@ LilyPond は音符の水平方向の位置を調節するための手段をい
 
 @funindex \new Lyrics
 @funindex \lyricsto
-@funindex lyricsto
 @funindex Lyrics
 @cindex Lyrics context, creating (歌詞コンテキストを作成する)
 @cindex lyrics, linking to voice (歌詞をボイスにリンクさせる)
@@ -1254,10 +1242,10 @@ LilyPond は音符の水平方向の位置を調節するための手段をい
 @lilypond[quote,verbatim]
 <<
   \new Voice = "one" {
-    \relative c'' {
+    \relative {
       \autoBeamOff
       \time 2/4
-      c4 b8. a16 | g4. f8 | e4 d | c2 |
+      c''4 b8. a16 | g4. f8 | e4 d | c2 |
     }
   }
   \new Lyrics \lyricsto "one" {
@@ -1274,7 +1262,6 @@ LilyPond は音符の水平方向の位置を調節するための手段をい
 @cindex lyrics and beaming (歌詞と連桁)
 @cindex beaming and lyrics (連桁と歌詞)
 @funindex \autoBeamOff
-@funindex autoBeamOff
 
 LilyPond がデフォルトで使用する自動連桁は楽器だけの音楽では@c
 うまく機能しますが、歌詞を持つ音楽ではそれほどうまく機能しません。@c
@@ -1286,7 +1273,6 @@ LilyPond がデフォルトで使用する自動連桁は楽器だけの音楽
 @funindex \new ChoirStaff
 @funindex ChoirStaff
 @funindex \lyricmode
-@funindex lyricmode
 @cindex vocal score structure (ボーカル譜構造)
 @cindex choir staff
 
@@ -1430,8 +1416,8 @@ VerseFour  =
 記譜要素を出力に追加しなければなりません。@c
 例えば、以下の例で入力と出力を比較してください:
 
-@lilypond[quote,verbatim,relative=2]
-cis4 cis2. | a4 a2. |
+@lilypond[quote,verbatim]
+\relative { cis''4 cis2. | a4 a2. | }
 @end lilypond
 
 この入力は内容がやや乏しいですが、出力では小節線、臨時記号、音部記号、@c
@@ -1501,7 +1487,6 @@ LilyPond 内部では、これらの規則と情報ビットは@emph{コンテ
 @translationof Creating contexts
 
 @funindex \new
-@funindex new
 @cindex new contexts (新しいコンテキスト)
 @cindex creating contexts (コンテキストを作成する)
 @cindex contexts, creating (コンテキストを作成する)
@@ -1715,9 +1700,7 @@ LilyPond によって作成された楽譜上にあるすべての記号は
 @cindex context properties, modifying (コンテキスト プロパティを変更する)
 @cindex modifying context properties (コンテキスト プロパティを変更する)
 @funindex \set
-@funindex set
 @funindex \unset
-@funindex unset
 
 コンテキストにはいくつかのコンテキスト プロパティを保持する責任があります。@c
 それらプロパティの多くは変更可能であり、変更することで入力の構文解釈に影響を@c
@@ -1799,13 +1782,13 @@ LilyPond によって作成された楽譜上にあるすべての記号は
 
 @lilypond[quote,verbatim,ragged-right]
 <<
-  \new Staff \relative c'' {
+  \new Staff \relative {
     \set Staff.instrumentName = #"Soprano"
-    c2 c
+    c''2 c
   }
-  \new Staff \relative c' {
+  \new Staff \relative {
     \set instrumentName = #"Alto"  % Wrong!
-    d2 d
+    d'2 d
   }
 >>
 @end lilypond
@@ -1850,9 +1833,9 @@ LilyPond 入力ファイルに対する特別なサポートを持つ@c
   \new Staff \relative {
     aeses'2 aes
   }
-  \new Staff \relative c'' {
+  \new Staff \relative {
     \set Staff.extraNatural = ##f
-    aeses2 aes
+    aeses'2 aes
   }
 >>
 @end lilypond
@@ -1865,9 +1848,9 @@ LilyPond 入力ファイルに対する特別なサポートを持つ@c
   \new Staff \relative {
     aeses'2 aes
   }
-  \new Staff \relative c'' {
+  \new Staff \relative {
     \set Score.extraNatural = ##f
-    aeses2 aes
+    aeses'2 aes
   }
 >>
 @end lilypond
@@ -1890,17 +1873,19 @@ LilyPond 入力ファイルに対する特別なサポートを持つ@c
 変更は直前にセットされた値から行われるのではなく、デフォルト値から行われます。
 
 @c KEEP LY
-@lilypond[quote,verbatim,ragged-right,relative=1]
-c4 d
-% 符頭を小さくします
-\set fontSize = #-4
-e4 f |
-% 符頭を大きくします
-\set fontSize = #2.5
-g4 a
-% デフォルトのサイズに戻します
-\unset fontSize
-b4 c |
+@lilypond[quote,verbatim,ragged-right]
+\relative {
+  c'4 d
+  % 符頭を小さくします
+  \set fontSize = #-4
+  e4 f |
+  % 符頭を大きくします
+  \set fontSize = #2.5
+  g4 a
+  % デフォルトのサイズに戻します
+  \unset fontSize
+  b4 c |
+}
 @end lilypond
 
 これまでにいくつかのタイプのプロパティ値をセットする方法を見てきました。@c
@@ -1917,7 +1902,6 @@ b4 c |
 @c Setting context properties with @code{\with}
 
 @funindex \with
-@funindex with
 @cindex context properties, setting with \with (\with でコンテキスト プロパティを設定する)
 
 コンテキスト プロパティはコンテキストが作成されるときに@c
@@ -1971,7 +1955,6 @@ like this:
 
 @cindex context properties, setting with \context (\context でコンテキスト プロパティを設定する)
 @funindex \context
-@funindex context
 
 コンテキスト プロパティの値は単一のコマンドによってある特定のタイプの@c
 コンテキスト@emph{すべて} -- すべての @code{Staff} コンテキストなどのように
@@ -2055,9 +2038,7 @@ like this:
 @cindex removing engravers (エングラーバを削除する)
 
 @funindex \consists
-@funindex consists
 @funindex \remove
-@funindex remove
 
 これまでに、コンテキストはそれぞれにいくつかのエングラーバを保持し、@c
 それぞれのエングラーバは出力のある特定部分
@@ -2114,15 +2095,15 @@ like this:
   \new Voice \with {
     \consists "Ambitus_engraver"
   } {
-    \relative c'' {
+    \relative {
       \voiceOne
-      c4 a b g
+      c''4 a b g
     }
   }
   \new Voice {
-    \relative c' {
+    \relative {
       \voiceTwo
-      c4 e d f
+      c'4 e d f
     }
   }
 >>
@@ -2138,15 +2119,15 @@ like this:
 }
 <<
   \new Voice {
-    \relative c'' {
+    \relative {
       \voiceOne
-      c4 a b g
+      c''4 a b g
     }
   }
   \new Voice {
-    \relative c' {
+    \relative {
       \voiceTwo
-      c4 e d f
+      c'4 e d f
     }
   }
 >>
@@ -2156,7 +2137,6 @@ like this:
 @c Changing all contexts of the same type
 
 @funindex \layout
-@funindex layout
 
 上の例では、個々のコンテキストにエングラーバを追加あるいは削除する方法を@c
 示しました。@c
@@ -2479,18 +2459,18 @@ bassMusic = \relative {
 }
 bassWords = \sopranoWords
 
-upper = \relative a' {
+upper = \relative {
   \clef "treble"
   \global
-  r4 <a d fis>2 <a e' a>4 |
+  r4 <a' d fis>2 <a e' a>4 |
   <d fis d'>4. <d fis d'>8 <a d a'>2 |
   <g cis g'>4 <a d fis> <a cis e>2 |
 }
 
-lower = \relative c, {
+lower = \relative {
   \clef "bass"
   \global
-  <d d'>4 <d d'>2 <cis cis'>4 |
+  <d, d'>4 <d d'>2 <cis cis'>4 |
   <b b'>4. <b' b'>8 <fis fis'>2 |
   <e e'>4 <d d'> <a' a'>2 |
 }
@@ -2704,17 +2684,17 @@ bassMusic = \relative {
   r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
 }
 bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
   \clef "treble"
   \global
-  r4 <a d fis>2 <a e' a>4 |
+  r4 <a' d fis>2 <a e' a>4 |
   <d fis d'>4. <d fis d'>8 <a d a'>2 |
   <g cis g'>4 <a d fis> <a cis e>2 |
 }
-lower = \relative c, {
+lower = \relative {
   \clef "bass"
   \global
-  <d d'>4 <d d'>2 <cis cis'>4 |
+  <d, d'>4 <d d'>2 <cis cis'>4 |
   <b b'>4. <b' b'>8 <fis fis'>2 |
   <e e'>4 <d d'> <a' a'>2 |
 }
@@ -3121,9 +3101,9 @@ fthenp =_\markup {
   \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
 }
 
-violin = \relative c'' {
+violin = \relative {
   \repeat volta 2 {
-    c4._\dolce b8 a8 g a b |
+    c''4._\dolce b8 a8 g a b |
     \padText
     c4.^"hi there!" d8 e' f g d |
     c,4.\fthenp b8 c4 c-. |
@@ -3145,9 +3125,9 @@ violin = \relative c'' {
 とても読み難く、特に最後の行が読み難いです。
 
 @example
-violin = \relative c'' @{
+violin = \relative @{
   \repeat volta 2 @{
-    c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
+    c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
     \once \override TextScript.padding = #5.0
     c4.^"hi there!" d8 e' f g d |
     c,4.\markup @{
@@ -3170,7 +3150,7 @@ LilyPond は非静的な置き換えも処理できます (それらを関数と
 @lilypond[quote,verbatim,ragged-right]
 padText =
 #(define-music-function
-     (parser location padding)
+     (padding)
      (number?)
    #{
      \once \override TextScript.padding = #padding
@@ -3281,7 +3261,7 @@ R2*3
 以下のような結果になります:
 
 @lilypond[quote,ragged-right]
-\transpose f c' \relative {
+\transpose f c' \relative {
   \time 2/4
   \set Score.skipBars = ##t
   R2*3 |