2

Here is my code:

\begin{lilypond}
\version "2.17.27"
\language "english"
\relative{
  \time 2/4
  c' c _"C.1"|
  c cs |
  c d |
  c ds |
  c e |
  c f |
  c g' |
  c, a' |
  c, as' |
  c, b' |
}
\end{lilypond}

It generates this:

enter image description here

What I need and don't know how to do:

  1. Remove the clef and the meter marks
  2. Instead of "C.1" put the Russian "Ч.1"
  3. Shift the "C.1" text below the first pitch, so it was nicely centered.
user4035
  • 22,508
  • 11
  • 59
  • 94

1 Answers1

1

The following code should do the trick:

\version "2.17.27"
\language "english"
\relative{
  \omit Staff.Clef
  \omit Staff.TimeSignature
  \time 2/4
  c' _"Ч.1" c |
  c cs |
  c d |
  c ds |
  c e |
  c f |
  c g' |
  c, a' |
  c, as' |
  c, b' |
}

Just put it into a file named document.ly (for example) and run lilypond on it:

lilypond --pdf document.ly

(replace --pdfwith --png if you want a PNG as result). This should produce a PDF with the following content:

enter image description here

Tested with GNU LilyPond 2.18.2 on Ubuntu Vivid (15.04).

tohuwawohu
  • 13,268
  • 4
  • 42
  • 61
  • How did you get the Russian character? I tried `\usepackage[russian]{babel}` in Latex, but it doesn't work. Prints an empty space. – user4035 Aug 08 '15 at 17:43
  • @user4035: I've integrated those information in my answer, so i removed my comments. – tohuwawohu Aug 09 '15 at 09:02
  • 1
    When I compile using your command it works. When I do it from latex, it doesn't. Thank you. – user4035 Aug 09 '15 at 09:11