home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / text / tex / 10330 < prev    next >
Encoding:
Text File  |  1992-08-19  |  2.0 KB  |  46 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!kithrup!stanford.edu!ames!sun-barr!cs.utexas.edu!wupost!darwin.sura.net!Sirius.dfn.de!zrz.tu-berlin.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!aun.uninett.no!alf.uib.no!ii.uib.no!olea
  3. From: olea@ii.uib.no (Ole Arntzen)
  4. Subject: Re: lyrics/chords macro wanted 
  5. Message-ID: <1992Aug19.144900.19884@alf.uib.no>
  6. Sender: usenet@alf.uib.no (Bergen University Newsaccount)
  7. Organization: Dept. of Informatics, University of Bergen
  8. References:  <6595@tekig7.PEN.TEK.COM>
  9. Date: Wed, 19 Aug 92 14:49:00 GMT
  10. Lines: 34
  11.  
  12. In article <6595@tekig7.PEN.TEK.COM>, lukeh@tekig1.PEN.TEK.COM (Luke James Hornof) writes:
  13. |> I'm looking for a macro package which will easily enable me to put the names
  14. |> of simple guitar chords over words of song lyrics.
  15. |>
  16. |> For example, I would like the output to look like this:
  17. |>
  18. |> C              G            Am                  F
  19. |> Met her at the Burger King, fell in love over a Pepsi
  20. |>
  21. |>
  22. |> Right now I'm getting the job done with the tabbing environment, but it makes
  23. |> the input quite unreadable, and is a pain to do:
  24. |>
  25. |> Met her at the \= Burger King, \= fell in love over a \=Pepsi \kill
  26. |> C \> G \> Am \> F  \\*
  27. |> Met her at the Burger King, fell in love over a Pepsi  \\*
  28. |>
  29. |> Ideally, the input would look something like this:
  30. |>
  31. |> \ch{C}Met her at the \ch{G}Burger King, \ch{Am}fell in love over a \ch{F}Pepsi
  32.  
  33. Put this where you use to place your macro definitions:
  34.     \def\ch#1#2{\vbox{\hbox{#1}\hbox{#2}}} % Guitar chords
  35.  
  36.  
  37. Make the input look like this:
  38.     \ch{C}{Met} her at the \ch{G}{Burger} King,
  39.                     \ch{Am}{fell} in love over a \ch{F}{Pepsi}
  40.  
  41. This is still a bit difficult to read but it is better than with the
  42. tabbing environment.  You could also have a look at gloss.tex in
  43. Marcel van der Goot's ``Midnight Macros'' package.
  44. ---------------------------------------------------------------------
  45.                                          Ole Arntzen (olea@ii.uib.no)
  46.