[Solved] Distance between text and underline

Discuss the word processor

[Solved] Distance between text and underline

Postby Deke » Wed Jan 13, 2021 9:02 pm

Has anyone discovered an easy way to increase the distance between text and its underline to avoid the underline hitting the descenders of certain fonts?
Thanks in advance for any help on this.
Deke
Last edited by Hagar Delest on Fri Jan 15, 2021 8:39 pm, edited 1 time in total.
Reason: tagged solved.
Apache Open Office 4 4.1.7.
Windows !0 Professional
Deke
 
Posts: 3
Joined: Wed Jan 13, 2021 8:23 pm

Re: Distance between text and underline

Postby John_Ha » Wed Jan 13, 2021 9:55 pm

There isn't one.

You could try not underlining letters with descenders. It could be done by Find and Replace where you find every lower case " g ", etc, and set them all to "not underlined".

As a new poster you will find much useful information in the Writer FAQ, the Writer Tutorials, the up to date AOO Writer for Students and the Writer User Guide. May I suggest you bookmark the pages.

Press F1 to access the Help screen and search for your problem

The chapter headings in the manual are:

1 - Introducing Writer
2 - Setting up Writer
3 - Working with Text
4 - Formatting Pages
5 - Printing, Exporting, Faxing and E-Mailing
6 - Introduction to Styles
7 - Working with Styles
8 - Working with Graphics
9 - Working with Tables
10 - Working with Templates
11 - Using Mail Merge
12 - Tables of Contents, Indexes and Bibliographies
13 - Working with Master Documents
14 - Working with Fields
15 - Using Forms in Writer
16 - Customizing Writer – Keyboard shortcuts.

When a pop-up window opens, click the Help button for extensive help on that function - it is often more comprehensive than the manual.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 8067
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Distance between text and underline

Postby Deke » Wed Jan 13, 2021 10:50 pm

Thank you John, that is an interesting option.
Apache Open Office 4 4.1.7.
Windows !0 Professional
Deke
 
Posts: 3
Joined: Wed Jan 13, 2021 8:23 pm

Re: Distance between text and underline

Postby RoryOF » Wed Jan 13, 2021 11:05 pm

I haven't looked into the matter, but I think the underline is as defined in the font. You could try editing the font underline character by increasing its spacing, using a font editor, and see if that changes things
Apache OpenOffice 4.1.8 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31994
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Distance between text and underline

Postby John_Ha » Thu Jan 14, 2021 2:22 am

RoryOF wrote:You could try editing the font underline character by increasing its spacing, using a font editor, and see if that changes things

Rory

It no doubt does - the line then probably clashes with the ascenders from the line below.

If the text was fully justified each line could be written as a separate paragraph and a paragraph border below with the required spacing could be added. You then need to cover the border extending beyond the last line.

Or draw a drawing line under the text.
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 8067
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Distance between text and underline

Postby JeJe » Thu Jan 14, 2021 4:08 am

You could try overlining on the line below.
Openoffice 4.1.6
Windows 8
JeJe
Volunteer
 
Posts: 1322
Joined: Wed Mar 09, 2016 2:40 pm

Re: Distance between text and underline

Postby John_Ha » Thu Jan 14, 2021 5:14 am

Good thinking. It works pretty well as long as you don't do any edits after, as long as you don't use Gap after paragraph as the first line of a new paragraph is then very low. It misses both ascenders and descenders.

It can be impossible to line up if the lower character is a wide character like w.

Clipboard02.png
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 8067
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Distance between text and underline

Postby JeJe » Thu Jan 14, 2021 1:25 pm

Another fiddly offbeat one is to have a separate paragraph below made as short in height as possible with line characters or something else for the line.
In the picture the line is overlined spaces in a paragraph below the text set as fixed line spacing of 0.1cm, text to text alignment of Top, character overlining as single and font size 6.

underline.jpg
underline.jpg (1.32 KiB) Viewed 143 times
Openoffice 4.1.6
Windows 8
JeJe
Volunteer
 
Posts: 1322
Joined: Wed Mar 09, 2016 2:40 pm

Re: Distance between text and underline

Postby RoryOF » Thu Jan 14, 2021 1:32 pm

John_Ha wrote:
RoryOF wrote:You could try editing the font underline character by increasing its spacing, using a font editor, and see if that changes things

Rory

It no doubt does - the line then probably clashes with the ascenders from the line below.

If the text was fully justified each line could be written as a separate paragraph and a paragraph border below with the required spacing could be added. You then need to cover the border extending beyond the last line.

Or draw a drawing line under the text.


From my understanding (possibly faulty) of the positioning of the underline character, editing this in the font might require all characters of that font to be positioned on a taller block of space, so that moving the underline down might have the effect of increasing the font "leading".
Apache OpenOffice 4.1.8 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31994
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Distance between text and underline

Postby Deke » Fri Jan 15, 2021 7:23 pm

"Or draw a drawing line under the text."
Thanks John, I've found that to be a quick and simple solution to my question.
Apache Open Office 4 4.1.7.
Windows !0 Professional
Deke
 
Posts: 3
Joined: Wed Jan 13, 2021 8:23 pm


Return to Writer

Who is online

Users browsing this forum: No registered users and 15 guests