]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/adding-the-current-date-to-a-score.ly
Merge branch 'master' of ssh://kainhofer@git.sv.gnu.org/srv/git/lilypond into dev...
[lilypond.git] / input / lsr / adding-the-current-date-to-a-score.ly
index 85ac4910c5c5544cf210efacfd2229d082330396..f46f036948949c4d007126d5796a475f3e442d29 100644 (file)
@@ -4,7 +4,8 @@
 
 \header {
   lsrtags = "titles"
- texidoc = "
+
+  texidoc = "
 I often find it useful to include a date on printed music, so that I
 can see if I'm using the latest version, or tell someone else that he
 should only use the version after a certain date. A simple solution is
@@ -22,8 +23,10 @@ The solution is to use two scheme functions called @code{strftime} and
 solution, you can format the date just as you like it by adapting the
 @code{\"%d-%m-%Y\"} string. See the Guile documentation for more
 details on this format string: Formatting Calendar Time. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Adding the current date to a score"
+} % begin verbatim
 \version "2.11.38"
 % first, define a variable to hold the formatted date:
 date = #(strftime "%d-%m-%Y" (localtime (current-time)))
@@ -33,7 +36,7 @@ date = #(strftime "%d-%m-%Y" (localtime (current-time)))
   title = "Including the date!"
   subtitle = \date
 }
-% begin verbatim
+
 \score {
   \relative c'' {
     c4 c c c