home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.text.tex
- 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
- From: olea@ii.uib.no (Ole Arntzen)
- Subject: Re: lyrics/chords macro wanted
- Message-ID: <1992Aug19.144900.19884@alf.uib.no>
- Sender: usenet@alf.uib.no (Bergen University Newsaccount)
- Organization: Dept. of Informatics, University of Bergen
- References: <6595@tekig7.PEN.TEK.COM>
- Date: Wed, 19 Aug 92 14:49:00 GMT
- Lines: 34
-
- In article <6595@tekig7.PEN.TEK.COM>, lukeh@tekig1.PEN.TEK.COM (Luke James Hornof) writes:
- |> I'm looking for a macro package which will easily enable me to put the names
- |> of simple guitar chords over words of song lyrics.
- |>
- |> For example, I would like the output to look like this:
- |>
- |> C G Am F
- |> Met her at the Burger King, fell in love over a Pepsi
- |>
- |>
- |> Right now I'm getting the job done with the tabbing environment, but it makes
- |> the input quite unreadable, and is a pain to do:
- |>
- |> Met her at the \= Burger King, \= fell in love over a \=Pepsi \kill
- |> C \> G \> Am \> F \\*
- |> Met her at the Burger King, fell in love over a Pepsi \\*
- |>
- |> Ideally, the input would look something like this:
- |>
- |> \ch{C}Met her at the \ch{G}Burger King, \ch{Am}fell in love over a \ch{F}Pepsi
-
- Put this where you use to place your macro definitions:
- \def\ch#1#2{\vbox{\hbox{#1}\hbox{#2}}} % Guitar chords
-
-
- Make the input look like this:
- \ch{C}{Met} her at the \ch{G}{Burger} King,
- \ch{Am}{fell} in love over a \ch{F}{Pepsi}
-
- This is still a bit difficult to read but it is better than with the
- tabbing environment. You could also have a look at gloss.tex in
- Marcel van der Goot's ``Midnight Macros'' package.
- ---------------------------------------------------------------------
- Ole Arntzen (olea@ii.uib.no)
-