How do I align text with character (Not possible given my needs) Abandoned - but good suggestions anyway

I use Libre Office for all of my Musical Chord Charts currently I have alternating rows styles as Chords and Default. Both styles are set at Noto Mono and 11 point. If, however I need to increase the size of the Chord style text, I then have to also increase the size of the default correspondingly. In normal circumstances this would not matter. HOWEVER! I wish to keep the Default style at the original size and have the Chords increase as I desire. By using text boxes I can align the Text with the Correct Chord but this is a fiddly operation that works. I’ve tried Frames but the line spacing becomes problematic when the line wraps because of the larger font size.

How can I for example, ensure that (in the following) “word” is always aligned with “D”, “Second” with “F” and so forth regardless of the font size of D, F, and Em? Will I have to resort to text boxes to perform such a task?
eg.
D___ F___________________ Em
word second word verse and so forth

1 Like

It sounds as if you might need a table with the word in the cell below the chord cell.

Before you go down that route, have you checked out the extension site? This is a search on music, Extensions » Libreoffice Extensions

This looks like a job for Ruby text (Asian Phonetic Guide). Despite the name, it may be used in any text, not only Asian; but it only appears in Format menu, when Asian languages support is enabled in language options.

By default, “Rubies” character style is 6 pt; but on the screenshot, I made it 14 pt. Note that I didn’t even use monospace fonts. You may use different styles for different guide instances, thus allowing you to have some of them e.g. emphasized, increased, whatever.

3 Likes

Thanks, Earnest I have looked at all of those. They did not offer enough of what I am looking for. I’ve already developed code to transpose to any key including Nashville Numbers. Every Chord line is a special format using noto mono font of the same size as the line below. Problem being, if I increase the size of the font, then the formatting becomes unworkable.
By including the text in a text box anchored to the Chord, this works, but this is a slow and tedious task.

Thanks for that, mikekaganski, I shall investigate this further.
Is there a method whereby I can perform a search and replace on those characters. My current setup allows me to transpose the chords based upon their default style, otherwise, this looks perfect.

As far as I know, there’s no built-in search to look inside fields (the Rubies are fields; we have tdf#70142). A macro could do that.

That’s a pity, I have developed macros to perform most of the tasks in my document, but I’d suspect that this would complicate them even more. I’ve already got about 1000 lines of macros to perform various tasks including transposition and formatting. I might just work with text boxes as, the lyrics never change. Thanks anyway.

in case … Extension AltSearch - bugs and requests

Why do we insist on using Writer for something for which it is not prepared?
There are specialized programs to treat music, Chord and Lirics.
I agree with @EarnestAl, you can use an extension

Unfortunately, none of the programs do not format music as I desire. Not many support Nashville Numbers which is essential to me when I play bass. I also prefer to have inversions noted in a different colour and need the facility to enlarge text from time to time. My current process is to create a setlist from my songs (each is a separate writer document, formatted) in one document then exporting it as a PDF which is then displayed on a tablet also running Linux. I then use a pedal to scroll through the document.

Many of the apps do provide some functions, but not all. I am just attempting to make something that works for me. I may have to get into php and another programming language to write something for myself, its just that Libre Office has the potential to do what I need. At this point I am now linking text boxes to chords and this seems to be the most suitable for now. Below is an example

→ Inserting and Editing Tab Stops