]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.136
authorfred <fred>
Wed, 27 Mar 2002 00:57:12 +0000 (00:57 +0000)
committerfred <fred>
Wed, 27 Mar 2002 00:57:12 +0000 (00:57 +0000)
Documentation/user/ly2dvi.itexi
input/test/coriolan-margin.ly
tex/lilyponddefs.tex
tex/titledefs.tex

index 9806395296e5b6dce3392b783516b27fbbb6ff07..e2351c5eaed81b9365fe1a2b72790db122808959 100644 (file)
@@ -99,7 +99,6 @@ so you can add multiple packages using multiple @code{-s=latexpackages} options.
     Set orientation. Choices are @code{portrait} or @code{landscape}. Is
 read from the @code{\paper} block, if set.
         
-@cindex 
 @item linewidth
    Is read from the @code{\paper} block.  
 
index 2a003157e3e4987b623f71ae78ce46ed7919a47d..f16b1dce13ee89cd089718e34c9066709f75549d 100644 (file)
@@ -63,13 +63,13 @@ timpani = \notes \relative c' {
   c1 c
 }
 
-violinoB = \notes \relative c' {
+violinoI = \notes \relative c' {
   \property Staff.instrument   = #"Violino I  "
   \property Staff.instr                = #"Vl. I  "
   c1 c
 }
 
-violinoC = \notes \relative c' {
+violinoII = \notes \relative c' {
   \property Staff.instrument   = #"Violino II  "
   \property Staff.instr                = #"Vl. II  "
   c1 c
@@ -112,8 +112,8 @@ violoncello = \notes \relative c' {
     >
     \context StaffGroup ="archi" <
       \context GrandStaff ="violini" <
-        \context Staff ="violino1" \violino1
-        \context Staff ="violino2" \violino2
+        \context Staff ="violinoI" \violinoI
+        \context Staff ="violinoII" \violinoII
       >
       \context Staff ="viola" \viola
       \context Staff ="violoncello" \violoncello
index acaa11d23ab77e8d93d9d83cd9835fa1520780d4..0536b3c333679b3e0146c012dd30dfacc40dd2ff 100644 (file)
         nolilyfooter\texsuffix\endcsname
 \fi
 
+% If we must make titles, do so
+\ifx\mustmakelilypondtitle\undefined\else\makelilypondtitle\fi
+\ifx\mustmakelilypondpiecetitle\undefined\else\makelilypondpiecetitle\fi
+
 % fix chord.cc::banter_str before removing these
 \input fetdefs
 
index 1c853c8366a9fd0296484432667afa3b20ed08eb..7e33f301902ff266f246eb1da46d4723e9bdadfe 100644 (file)
@@ -1,88 +1,44 @@
 %
-% ideally, we should create a LaTeX/TeX class
-% for setting music in different sizes.
+% LilyPond titling for LaTeX
 %
-% Version 0.1
-%
-\def\thetitle{}
-\def\thesubtitle{}
-\def\thesubsubtitle{}
-\def\thecomposer{}
-\def\thearranger{}
-\def\theinstrument{}
-\def\theopus{}
-\def\thepiece{}
-\def\themeter{}
-\def\thepoet{}
-\def\theheader{}
-\def\thefooter{}
-\def\theorchestralinstrument{}
-%
-% duh.  LaTeX has a \title too.
-\renewcommand*{\title}[1]{\def\thetitle{#1}}
-\newcommand*{\subtitle}[1]{\def\thesubtitle{#1}}
-\newcommand*{\subsubtitle}[1]{\def\thesubsubtitle{#1}}
-\newcommand*{\composer}[1]{\def\thecomposer{#1}}
-\newcommand*{\arranger}[1]{\def\thearranger{#1}}
-\newcommand*{\instrument}[1]{\def\theinstrument{#1}}
-\newcommand*{\opus}[1]{\def\theopus{#1}}
-\newcommand*{\piece}[1]{\def\thepiece{#1}}
-\newcommand*{\meter}[1]{\def\themeter{#1}}
-\newcommand*{\poet}[1]{\def\thepoet{#1}}
-%
-\newcommand*{\lilypondtitle}[1]{\def\thetitle{#1}}
-\newcommand*{\lilypondsubtitle}[1]{\def\thesubtitle{#1}}
-\newcommand*{\lilypondsubsubtitle}[1]{\def\thesubsubtitle{#1}}
-\newcommand*{\lilypondfooter}[1]{\def\thefooter{#1}}
-\newcommand*{\lilypondhead}[1]{\def\theheader{#1}}
-\newcommand*{\lilypondcomposer}[1]{\def\thecomposer{#1}}
-\newcommand*{\lilypondarranger}[1]{\def\thearranger{#1}}
-\newcommand*{\lilypondinstrument}[1]{\def\theinstrument{#1}}
-\newcommand*{\lilypondopus}[1]{\def\theopus{#1}}
-\newcommand*{\lilypondpiece}[1]{\def\thepiece{#1}}
-\newcommand*{\lilypondmetre}[1]{\def\themeter{#1}}
-\newcommand*{\lilypondmeter}[1]{\def\themeter{#1}}
-\newcommand*{\lilypondpoet}[1]{\def\thepoet{#1}}
-%
-%
-\def\lilypondnull{}%
-%
-\def\makelilytitle{%
+\def\makelilypondtitle
+{
   \begin{center}
         \bfseries
-        \ifx\lilypondnull\thetitle\else{\huge\thetitle}\\ \fi
-        \ifx\lilypondnull\thesubtitle\else{\Large\thesubtitle}\\ \fi
-        \ifx\lilypondnull\thesubsubtitle\else{\large\thesubsubtitle}\\ \fi
+        \ifx\lilypondtitle\undefined\else{\huge\lilypondtitle}\\ \fi
+        \ifx\lilypondsubtitle\undefined\else{\Large\lilypondsubtitle}\\ \fi
+        \ifx\lilypondsubsubtitle\undefined\else{\large\lilypondsubsubtitle}\\ \fi
   \end{center}
   \bigskip
   % urg
   \edef\saveparskip{\parskip}\parskip-5mm
   \begin{minipage}[t]{0.45\textwidth}
-        \ifx\lilypondnull\thepoet\else{\thepoet}\\ \fi
-        \ifx\lilypondnull\themeter\else{\themeter}\\ \fi
+        \ifx\lilypondpoet\undefined\else{\lilypondpoet}\\ \fi
+        \ifx\lilypondmeter\undefined\else{\lilypondmeter}\\ \fi
   \end{minipage}\hspace*{\fill}
   \begin{minipage}[t]{0.45\textwidth}
       \begin{flushright}
-          \ifx\lilypondnull\thecomposer\else{\large\normalfont\scshape\thecomposer}\\ \fi
-          \ifx\lilypondnull\theopus\else{\theopus}\\ \fi
-          \ifx\lilypondnull\thearranger\else{\thearranger}\\ \fi
+          \ifx\lilypondcomposer\undefined\else{\large\normalfont\scshape\lilypondcomposer}\\ \fi
+          \ifx\lilypondopus\undefined\else{\lilypondopus}\\ \fi
+          \ifx\lilypondarranger\undefined\else{\lilypondarranger}\\ \fi
         \end{flushright}%
   \end{minipage}\par
   \parskip\saveparskip
-  {\center{\large\theinstrument}\par}
-  {\flushleft{\large\normalfont\scshape\thepiece}\par}
+  \ifx\lilypondinstrument\undefined\else{\center{\large\lilypondinstrument}\par}\fi
+  \ifx\lilypondpiece\undefined\else{\flushleft{\large\normalfont\scshape\lilypondpiece}\par}\fi
 %  \leavevmode
-  \global\let\theopus\relax%
-  \global\let\thepiece\relax%
+  \global\let\lilypondopus\relax%
+  \global\let\lilypondpiece\relax%
 }
-\def\makelilypiecetitle
+%
+\def\makelilypondpiecetitle
 {
   \bigskip\myfilbreak
-  {\flushright{\theopus}\par}
-  {\flushleft{\large\normalfont\scshape\thepiece}\par}
+  \ifx\lilypondopus\undefined\else{\flushright{\lilypondopus}\par}\fi
+  \ifx\lilypondpiece\undefined\else{\flushleft{\large\normalfont\scshape\lilypondpiece}\par}\fi
   \nopagebreak%
-  \global\let\theopus\relax%
-  \global\let\thepiece\relax%
+  \global\let\lilypondopus\relax%
+  \global\let\lilypondpiece\relax%
 }
 \endinput