Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!bellcore!porthos!pyuxe!form From: form@pyuxe.UUCP (thomas a rowe) Newsgroups: comp.text.tex Subject: Re: Put something above a word ? Summary: My solution to the problem. Message-ID: <1139@pyuxe.UUCP> Date: 21 Mar 91 14:40:31 GMT References: <1991Mar20.102509.7980@dit.upm.es> <18749@milton.u.washington.edu> Reply-To: form@pyuxe.UUCP (71133-Christopher Rath) Organization: Bell Communications Research Lines: 17 I've just been writing a set of macros to produce a songbook (lyrics and chords). The macro to place chords above lyrics is (in LaTeX notation): \newcommand{\Ch}[2]{\vbox{\hbox{ }\hbox{bf{#1}}\hbox{#2}}} Paramater: 1 - chord to be set; 2 - sylable over which chord is to be right justified. The rationale behind the macro is: A chord is normally attached to a syllable or syllables. A chords placement has musical/timing significance. Hence the design. I force the chords bold so that they're more easily read. As it stands the macro has one bug: When the macro is the first character in a paragraph, it forces a newline after the syllable. Christopher Rath 613-594-3026