user4035
user4035

Reputation: 23749

Modifications to lillypond file

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.

Upvotes: 2

Views: 106

Answers (1)

tohuwawohu
tohuwawohu

Reputation: 13618

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).

Upvotes: 1

Related Questions