KTUGFaq

KTUG FAQ

LilyPond (rev. 1.14)

·Î±×ÀÎ:
ºñ¹Ð¹øÈ£:
°¡ÀÔ
You have an unusual equpment for success. Be sure to use if properly.
FrontPage › LilyPond
http://lilypond.org/web/
GNU lilypond = OpenSource ¾Çº¸ Á¶ÆÇ ¾ð¾î/ÇÁ·Î±×·¥.

  • text input -> command line compilation -> ps/pdf output
  • Cross-Platform
  • TeX-friendly, but not a sort of TeX-macro. having nothing to do with MusiXTeX.
  • simple syntax, wonderful sheet.

  • Simple Example

     \version "2.10.10"
         upper = \relative c'' {
            \clef treble
            \key c \major
            \time 4/4
         
            c2 e4 g b,4.( c16 d c2)
    	  a'2 g4 c g( f8\trill e16 f e2)
         }
         
         lower = \relative c {
            \clef bass
            \key c \major
            \time 4/4
         
            c8( g' e g) c,8( g' e g) d( g f g) c,( g' e g)
            c,8 a' f a c, g' e g b, g' d g c, g' e g
         }
         
         \score {
            \new PianoStaff <<
               \set PianoStaff.instrumentName = "Piano  "
               \new Staff = "upper" \upper
               \new Staff = "lower" \lower
            >>
            \layout { }
            
      \midi {
        \context {
          \Score
          tempoWholesPerMinute = #(ly:make-moment 60 4)
          }
        }
    
        }
    
    lilyoutput.jpg

    Denemo, a frontend editor

    LilyPond¿¡¼­ ÇѱÛ

    Âü°í. KTUGContrib:3469

    ÇѱÛÀÌ Ç¥½ÃµÇ°Ô ¼³Á¤Çϱâ

    Windows, v2.10.33

    1. Àº±Û²ÃÀ» ¼³Ä¡ÇÑ´Ù.
      ´Ù¸¥ ÆùÆ®´Â ½ÃµµÇغ¸Áö ¾Ê¾ÒÀ¸³ª, Àû¾îµµ À©µµ ±âº» ±Û²ÃÀº Àß µÇÁö ¾Ê´Â´Ù.
    2. lilypondÀÇ fc-cache¸¦ ½ÇÇàÇÑ´Ù.[1]
    3. C:\Program Files\LilyPond\usr\etc\fonts Æú´õ¿¡ ÀÖ´Â fonts.conf¸¦ ¿¡µðÅÍ·Î ¿¬´Ù.
    4. ÀÌ ÆÄÀÏÀÇ Á¦ÀÏ ¸¶Áö¸· </fontconfig> Á÷Àü¿¡ ´ÙÀ½ ³»¿ëÀ» Ãß°¡ÇÑ´Ù.
      <alias>
         <family>sans-serif</family>
           <prefer>
              <family>UnDotum</family>
           </prefer>
      </alias>
      
    5. ÀúÀå.
    6. ÇѱÛÀº ¹Ýµå½Ã À¯´ÏÄÚµå UTF-8À¸·Î ÀÔ·ÂÇÏ¿©¾ß ÇÑ´Ù.
    ----
    • [1] KC2007ÀÇ °æ¿ì´Â ¾Æ·¡ Ç׸ñÀ» Âü°íÇÒ °Í

    ¸®´ª½º

    Linux¿¡¼­´Â ttf-unfonts°¡ ¼³Ä¡µÇ¾î ÀÖ´Ù¸é º°´Ù¸¥ Á¶Ä¡ ¾øÀÌ ÇѱÛÀÌ Àß µÉ °ÍÀ¸·Î ±â´ëÇÑ´Ù. (ubuntu 7.10¿¡¼­ Å×½ºÆ®Çغ¸¾ÒÀ½)

    ¸ÅŲÅä½Ã

    Mac OSÀÇ LilyPond¶ó¸é, /Applications/LilyPond.app/Contents/Resources/etc/fonts/fonts.conf¸¦ ¼öÁ¤ÇÑ´Ù. LilyPond´Â dfont ÆùÆ®¸¦ ÀÌÇØÇÏÁö ¸øÇϸ鼭 ±âº» ÆùÆ®¸¦ apple gothicÀ¸·Î ÀâÀ¸¹Ç·Î ÀÚ²Ù¸¸ ¿¡·¯°¡ ¹ß»ýÇÑ´Ù. Àº±Û²ÃÀ» ../Library/Fonts¿¡ ¼³Ä¡ÇÑ ÈÄ, À§¿Í °°ÀÌ ÇÏ¸é µÈ´Ù.

    ÇÑ±Û »ç¿ë·Ê

    lilypondhangultest.jpg


    DeleteMe. ¸¶Ä§ »ùÇÃÀÌ À̰Źۿ¡ ¾ø¾î¼­... ´õ ÁÁÀº ¿¹¸¦ ºÎŹÇÕ´Ï´Ù. -_-

    KC2007ÀÇ fontconfig¿ÍÀÇ ¹®Á¦

    KC2007Àº µ¶ÀÚÀûÀÎ fontconfig À¯Æ¿¸®Æ¼¸¦ °¡Áö°í ÀÖ°í ÀÌ°ÍÀ» XeTeXÀÌ ÀÌ¿ëÇϵµ·Ï µÇ¾î ÀÖ´Ù. LilyPond¸¦ ¼³Ä¡Çϸé LilyPondÀÇ Path°¡ KC2007ÀÇ ½ÇÇà ÆÄÀÏ Pathº¸´Ù ¾Õ¼­±â ¶§¹®¿¡ fc-cache¸¦ ½ÇÇàÇÏ¿´À» ¶§ XeTeXÀ» À§ÇÑ ¼³Á¤ÀÌ µÇ´Â °ÍÀÌ ¾Æ´Ï¶ó LilyPond¸¦ À§ÇÑ ¼³Á¤ÀÌ ÇàÇØÁö´Â ¹®Á¦°¡ ÀÖ´Ù. ¾îÂ÷ÇÇ LilyPondÀÇ ÆùÆ® ij½Ãµµ ÇØÁÖ¾î¾ß ÇÒ ¶§°¡ ÀÖÀ» °ÍÀ̹ǷÎ, µÑ Áß Çϳª´Â º°µµ·Î È£ÃâÇϵµ·Ï ÇØÁÖ´Â °ÍÀÌ ÇÊ¿äÇÏ´Ù.
    • ½Ã½ºÅÛ ¼³Á¤À» ¹Ù²Ü Àǻ簡 ¾ø´Ù¸é KC2007ÀÇ fc-cache¸¦ %KTUG_BIN%\..\bin\fc-cache¿Í °°ÀÌ È£ÃâÇÑ´Ù.
    • ¶Ç´Â, User º¯¼ö·Î µÇ¾î ÀÖ´Â KC2007 Path ¼³Á¤À» System º¯¼ö·Î ¿Å±â¸é¼­ LilyPondº¸´Ù ¾Õ¼¼¿î´Ù.