The Mudcat Café TM
Thread #146973   Message #3406801
Posted By: Artful Codger
18-Sep-12 - 12:43 PM
Thread Name: Lyr Req: Why (why so many active requests?)
Subject: RE: Lyr Req: Why (why so many active requests?)
Re: "to help the chords line up with the words":

Different characters have different widths when posted, and the width varies according to the default font or system each user uses. In particular, spaces tend to be much thinner than other characters. So when you post lyrics with chords from some source into Mudcat, the alignment between words and chords (when placed on lines above, with strings of spaces or tabs between chord symbols) gets thrown off. The only sure way to get chord symbols to line up above words is to force the use of a "monospace" font like Courier New--and this will be different from your source unless your source is something like a plain text file which also uses a monospaced font by default. (Fortunately, the Mudcat text entry area uses a monospaced font, so you can adjust the alignment there. But read on...)

Moreover, in HTML (which is how your text is interpreted when you post to Mudcat), multiple adjacent spaces and tab characters ("whitespace") are coalesced into a single space. If you don't have "Automatic Linebreaks" checked, linebreaks are also considered equivalent to spaces and coalesced as "whitespace" characters.

To force the use of a monospace font and also keep spaces from being coalesced, you can use either PRE or CODE tags around your block of lyrics and chords. I prefer the latter, since PRE may also put spaces in front of your text, which is a particular problem when posting ABCs.

My apologies for the techno-babble and the thread digression.