Re: [TeX-music] Text in two columns in TeX

2003-09-08 Thread Mogens Lemvig Hansen
> I wish to append some comments in two languages, two columns, at the end
> of a MusiXTeX document.
>
> I know how to do this in LaTeX (see the attached example), but AFAIK, you
> have to "speak" TeX instead of LaTeX to add significant text to a MusiXTeX
> file.

I have had success using musixtex and LaTeX simultaneously.
\usepackage{musixtex}
...

Regards,
Mogens


___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music


RE: [TeX-music] Text in two columns in TeX

2003-09-08 Thread Arjen Bax
Jean-Pierre Coulon wrote:

> I wish to append some comments in two languages, two columns, at
> the end of a MusiXTeX document.

> I know how to do this in LaTeX (see the attached example), but
> AFAIK, you have to "speak" TeX instead of LaTeX to add significant
> text to a MusiXTeX file.

> Does anybody know how to "translate" the attached LaTeX file into
> TeX ?

André Van Ryckeghem already provided the code to attach text to the
PMX-generated musixtex-code; perhaps this will help to create the
two-column look:

In essence, the \parbox[t] in LaTeX boils down to a \vtop TeX
primitive. This is the same as a \vbox, except that its baseline
lines up with the topmost line in the box instead of the bottom
line.

\vtop{\strut\hsize=6cm Since Coulonnus was an expert in ancient
music he would have played bars 120 and ff like this and
blablabla:\strut\par}
\hfill
\vtop{\strut\hsize=6cm Comme Coulonnus \'etait un expert en
musique ancienne il aurait jou\'e les mesures 120 et suivantes
comme ceci et blablabla et en Francais le texte est plus long et
blablabla:\strut\par}
\par

You might also consider going the other way round and include the
PMX-generated code in a LaTeX document. You have post-process the
PMX-output though, like stripping the \bye command and some other
contructs. I don't have the script I use for that purpose at hand
now, but I can look it up at home if you're interested.

HTH,
Arjen Bax
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music


Re: [TeX-music] Text in two columns in TeX

2003-09-08 Thread Andre Van Ryckeghem
sorry i forgot this definition:

\\let\endpiecesav\endpiece\
\\\def\endpiece{\let\endpiece\endpiecesav\endpiece\vskip5\Interligne\text}\vskip-5\Interligne\

if not on the last page use eject in stead of endpiece

if musixtex:

\let\endpiecesav\endpiece\
\def\endpiece{\let\endpiece\endpiecesav\endpiece\vskip5\Interligne\text}\vskip-5\Interligne\

Andre
___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music


Re: [TeX-music] Text in two columns in TeX

2003-09-08 Thread Andre Van Ryckeghem
The \def\text{... is between the --- in pmx

to be removed in musixtex, and \\ to replace by \

adapt the lenghts (17 cm and 8 cm <17/2 )

---
\def\text{%
\hbox to 17cm {\hsize=8cm\parindent=0em
\vtop{%
Since Coulonnus was an expert in ancient music he would have played
\par bars 120 and ff like this and blablabla:}
%\hfil
\vtop{%
Comme Coulonnus \'etait un expert en musique ancienne il aurait jou\'e
les mesures 120 et suivantes comme ceci et blablabla et en Francais
le texte est plus long et blablabla:}}}%
---

somewhere on the page:

\\def\endpiece{\let\endpiece\endpiecesav\endpiece\vskip5\Interligne\text}\vskip-5\Interligne\


Andre

- Original Message - 
From: "Jean-Pierre Coulon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 08, 2003 9:38 AM
Subject: [TeX-music] Text in two columns in TeX


I wish to append some comments in two languages, two columns, at the end
of a MusiXTeX document.

I know how to do this in LaTeX (see the attached example), but AFAIK, you
have to "speak" TeX instead of LaTeX to add significant text to a MusiXTeX
file.

Does anybody know how to "translate" the attached LaTeX file into TeX ?

Regards,

Jean-Pierre Coulon E-mail: [EMAIL PROTECTED]
Observatoire de la Côte d'Azur
Département FRESNEL, groupe ILGA
BP 4229
06304 NICE Cedex 4

Tel (33) {0}4 92 00 31 58   Fax (33) {0}4 92 00 31 38

___
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music