Melodeon.net Forums

Discussions => Tunes => ABC => Topic started by: Hugh Taylor on February 20, 2024, 10:41:21 AM

Title: Help with left hand border using W: field
Post by: Hugh Taylor on February 20, 2024, 10:41:21 AM
Using ABCexplorer 1.6.1, I obtain different results when using e.g. and eg. in the W: field
Any idea why?
Thanks

X:1
T:Test
M:6/4
L:1/8
Z:Hugh Taylor
K:Em
|:"Em"EBB EBB|"D"AFF AFF|"Em"EBB EBB|"D"AB^c dAF|
"Em"EBB EBB|"D"AFF AFF|"G"GEG "D"FDF|"Em"E3 E3:|
|:"Em"Bee Bee|"D"dAA dAA|"Em"Bee Bee|"D"def gfe|
"Em"Bee Bee|"D"dAA dAA|"G"BGB "D"AGF|"Em"E3 E3:|
W:eg. Test for LH border
W:e.g. Test for LH border
Title: Re: Help with left hand border using W: field
Post by: Anahata on February 20, 2024, 07:35:48 PM
I did some experiments, and it looks like if you put non-blank characters followed by a dot at the begining of a line, it can be used like a verse number (given that W: is intended for song lyrics)

All other text is indented to the right of the dot on the longest "verse number"
The verse numbers are right justified too, so

W:1. first verse
W: line 2
W: line 3
W:10. 10th verse
W: line 2
W: line 3

comes out a bit like
 1. first verse
    line 2
    line 3
10. 10th verse
    line 2
    line 3


I never knew this before! Could be useful.
Title: Re: Help with left hand border using W: field
Post by: Anahata on February 20, 2024, 07:43:46 PM
PS it is "kind of" documented: http://abcnotation.com/wiki/abc:standard:v2.1#lyrics and section "5.3 Numbering"
... though that refers to the lower case "w:" for lyrics under the stave. Evidently the software is applying a similar rule for upper case "W:".
SimplePortal 2.3.5 © 2008-2012, SimplePortal