]> git.donarmstrong.com Git - lilypond.git/commitdiff
new file.
authorhanwen <hanwen>
Mon, 2 Feb 2004 11:11:58 +0000 (11:11 +0000)
committerhanwen <hanwen>
Mon, 2 Feb 2004 11:11:58 +0000 (11:11 +0000)
ChangeLog
Documentation/user/refman.itely
input/test/text-rotate.ly [new file with mode: 0644]
input/test/transposition.ly

index 44877335ecbabaefeb756623f9510186d2e4105a..687ea79baf5fbbca5018babce906de6b5c356f97 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2004-02-02  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
+       * input/test/text-rotate.ly: new file.
+
        * scm/new-markup.scm (markup): a macro that provides a
        LilyPond-like syntax in scheme for building markups, in order to
        help markup command definition. (Nicolas Sceaux)
index a8069755155b74fba2e03d4987e7f9be50c488dd..053a0423d4372a2cf6117595da8150591e49a5e7 100644 (file)
@@ -4356,15 +4356,31 @@ is
   \transpose @var{from} @var{to} @var{musicexpr}
 @end example
 
-This means that @var{musicexpr} is transposed by the interval
-between the pitches @var{from} and @var{to}.
-Since @var{from} and @var{to} are pitches, @code{\transpose} must be
-inside a @code{\notes} section.
+This means that @var{musicexpr} is transposed by the interval between
+the pitches @var{from} and @var{to}: any note with pitch @code{from}
+is changed to @code{to}.
+
+
+For example, consider  a piece written in the key of  D major.  If
+this piece is a  little too low for its performer, it can be
+transposed up to E major with
+@example
+ \tranpose d e @ldots{}
+@end example
 
-@code{\transpose} distinguishes between enharmonic pitches: both
-@code{\transpose c cis} or @code{\transpose c des} will transpose up
-half a tone.  The first version will print sharps and the second
-version will print flats:
+Consider a part  written for violin (a C instrument). If
+this part is to be played on the A clarinet, the following
+transposition will produce the appropriate part
+
+@example
+  \transpose a c
+@end example   
+
+Since @var{from} and @var{to} are pitches, @code{\transpose} must be
+inside a @code{\notes} section.  @code{\transpose} distinguishes
+between enharmonic pitches: both @code{\transpose c cis} or
+@code{\transpose c des} will transpose up half a tone.  The first
+version will print sharps and the second version will print flats:
 
 @lilypond[singleline, verbatim]
 mus =\notes { \key d \major cis d fis g }
diff --git a/input/test/text-rotate.ly b/input/test/text-rotate.ly
new file mode 100644 (file)
index 0000000..c449cb8
--- /dev/null
@@ -0,0 +1,25 @@
+\header {
+    latexpackages = "graphicx"
+    
+    texidoc = "
+@cindex rotated text
+@cindex choir, rotated text
+
+Rotated text may be faked using inline TeX (or inline
+postscript). To see the result, this files must be processed with
+the lilypond.py script.
+
+"
+    
+
+    }
+\score {
+\new Staff \notes \relative c'' {
+    \property Staff.instrument = #"\\rotatebox{90}{Chor}"
+
+    c4 c4 }
+
+\paper { raggedright = ##t }
+}
+
+
index 79007d0df9569e44e69cd8196b9adb74a648c78d..1667e5a7b707dc922f89bcec19a83423a248ee2c 100644 (file)
@@ -6,30 +6,6 @@ Transposition test file."
 }
 
 
-%{
-Hi all,
-
-I have extend Mats' patches to allow accidental transposition:
-        \keysignature bes es fis
-               = \transpose c' d =>>
-        \keysignature gis
-
-As you can see in output =  the example file "test.ly" there are a few problems left:
-- key undo (already in the Todo)
-- "wrong" transposition: e.g. \transpose c' d of fis-major = gis-major (better as-major?).
-       The solution gis=as etc. would concern both note and key transposistion
-
-Eric
-
-- Note that transpose eses of fis-major = as-major 
-- Note also that key signatures specified with \property keySignature 
-  are not transposed!
-
-  /Mats B, March 21, 2001
-%}
-
-
-
 
 vOne =  \notes \relative c''{
         \clef"violin"
@@ -46,18 +22,19 @@ vTwo =  \notes \transpose c d { \vOne }
 
 vThree =  \notes \relative c''{
         \clef"violin"
-%        \keysignature fis cis
+%        keysignature fis cis
        \property Staff.keySignature = #'((0 . 2)(3 . 2))
         \time 2/4 
         d4 d |       
-%        \keysignature bes es fis
+%        keysignature bes es fis
        \property Staff.keySignature = #'((3 . 2)(2 . -2)(6 . -2))
         fis4 fis |         
-%        \keysignature fis cis gis dis ais eis
+%        keysignature fis cis gis dis ais eis
        \property Staff.keySignature = #'((2 . -2)(5 . -2)(1 . 2)(4 . 2)(0 . 2)(3 . 2))
         cis4 ais4 |
 }
 
+
 vFour =  \notes \transpose c d \vThree
 
 \score {