Howard Gilbert asked about transposing one line in a score.
Down below I'll append an example of how I would do this. There are some
caveats:
1. Some special handling would be needed if you wanted to use scor2prt to
make separate parts.
2. The horizontal spacing could get messed up if the manually inserted key
signature takes up more space than the one PMX knows about.
But the main idea here is that by "re-defining" \generalsignature, we ensure
that the altered key signature get inserted right along with the one that
PMX inserts using \generalsignature.
You might also consider doing the score in concert key, but making a
separate part that is transposed, by using commands in the score something
like %2K+2+2
--Don Simons
Example file:
2 2 4 4 4 4 0 1
0 5 20 0
I
II
bt
./
%
% Must explicitly set altered signature at beginning
%
\\setsign20\
%
% Define a macro to set later altered signatures
%
\\def\transp#1#2{\let\gst\generalsignature\
\\def\generalsignature##1{\gst{##1}\
\\setsign{#1}{#2}\let\generalsignature\gst}}\
g03 /
g04 /
\\\transp2{-1}\
K+0+4
e03 /
e04 /
\\\transp20\
K+0-4
f03 /
f04 /