On Thu, 3 Jun 2004, Christian Mondrup wrote:

Brendan Macmillan wrote:
Thanks for the quick reply Christian,


I have many examples of music, combined into one thesis, which is all written in latex.

Could I make the redefinition you gave, at the start of my
thesis tex file,
so that it applies to the many different musical examples, all
at once?

probably - I tried myself with a not too convincing result. But then my latex knowledge and experience is near to zero. Other subscribers, please help!

(CUT)

Hi Brendan,
The problem in doing what you want to do is that you evidently
plan to call M-Tx/PMX again for every single musical example, and
then your redefinition will be overwritten every time! Thus even
'\providecommand' (instead of '\newcommand') won't help you.

The only way I can think of right now is to
   (i) take Christians new \def and stick it into your LaTeX
       master source file under a new name (say, "\Bredansep")
       and then
  (ii) put \def{...}\Bredansep  in each of your musical example
       files [sorry: unfortunately I lost your and Christians
       previous mail, and I don't remember the name of the command
       you need; but you know what I'm talking about].

       This, of course, isn't much of an improvement; but at least
       it makes your code more transparent, and in case you need
       to change the command again later, you need to do that in
       only one place (quite in the spirit of TeX/LaTeX).

Can anybody come up with something more elegant ??

ccn.
--
............................................................

  Prof.Dr. Cornelius C. Noack    Phones:
  Inst. f. Theor. Physik FB 1 office   : +49 (421) 218-2427
  Universit"at Bremen         secretary: -2422
  Otto-Hahn-Allee             Fax      : -4869
  D - 28334  Bremen           home     : +49 (421) 34 22 36
                                             Fax:  346 7872
  E-mail: [EMAIL PROTECTED] or [EMAIL PROTECTED]
  WWW-page: www.itp.uni-bremen.de/~noack
............................................................
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://icking-music-archive.org/mailman/listinfo/tex-music

Reply via email to