Number of words per line

Discuss the word processor

Number of words per line

Postby silverstar » Sat Nov 30, 2019 5:21 am

Hi

Im wondering if theres any way you can change the number of words per line
in text

for eg
As we survey, in these two Volumes, the more striking
features of the life stories of men and women who have won
their wav to fame or infamy within a square mile of Charing
Cross, we are impelled to the conviction, that never on the
world's surface, within so constricted an area, has there
been such a magnificent theatre for the display of what is
most efficient in the nations of Europe. Intellectual
luminaries, each of which, in solitary splendour, would
suffice to light its own generation, here shine in a galaxy:

I d like the above to be double the words in each line.... if poss

thanks for help
open office 3.1
windows 10
silverstar
 
Posts: 4
Joined: Sat Nov 30, 2019 5:14 am

Re: Number of words per line

Postby RusselB » Sat Nov 30, 2019 5:46 am

Welcome to the Forums.
I'm going to guess that you are wanting this in Writer.
Unless you have changed the sizes of the margins to give you a relatively narrow width (ie: 4" or less"), then the only thing I can think of is to use a font that isn't as wide.
It's impossible for me to make suggestions for that, as I don't know what font you are using by default and I don't know what other fonts you have installed on your system.

Basically the number of words per line varies based on the character width, the number of letters in each word, and the left/right margins of the page.
OpenOffice 4.1.7 and LibreOffice 6.3.3.2 on Windows 7 Pro & Ultimate
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
User avatar
RusselB
Moderator
 
Posts: 6115
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Number of words per line

Postby silverstar » Sat Nov 30, 2019 5:51 am

THANKS for the reply

its basically text Ive downloaded from Internet Archive
Id just like the words in each line to be double what they are
there must be some way of doing it !
open office 3.1
windows 10
silverstar
 
Posts: 4
Joined: Sat Nov 30, 2019 5:14 am

Re: Number of words per line

Postby RusselB » Sat Nov 30, 2019 6:09 am

The items that control the number of words per line doesn't change based on where the information is coming from.
You still need to determine the margins and the font. Either or both of these can be attached to the text you downloaded.
As this is text you are downloading, once downloaded, highlight all of the text (Ctrl+A), then press Ctrl+M.
That second control code will remove any extraneous formatting, but your font size is, to my belief, your biggest obstacle
OpenOffice 4.1.7 and LibreOffice 6.3.3.2 on Windows 7 Pro & Ultimate
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
User avatar
RusselB
Moderator
 
Posts: 6115
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Number of words per line

Postby robleyd » Sat Nov 30, 2019 7:50 am

It’s possible that the text has unwanted line breaks- you can use Ctrl + F8 to show paragraph or new line markers. Depending on how many you have, you could manually delete them or use search and replace to change them.
Cheers
David
Apache OpenOffice 420m2(Build:9821) - Slackware 14.2 - 64 bit
LibreOffice 6.0.7.3 - Slackware 14.2 - 64 bit
Apache OpenOffice 4.1.4 - Windows 7 Virtual machine
User avatar
robleyd
Moderator
 
Posts: 3461
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Number of words per line

Postby Zizi64 » Sat Nov 30, 2019 8:12 am

its basically text Ive downloaded from Internet Archive
Id just like the words in each line to be double what they are
there must be some way of doing it !


Please upload a small ODF type sample file here.
Tibor Kovacs, Hungary; LO6.1.6, 6.2.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-6.4.5;AOO4.1.7
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 9544
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Number of words per line

Postby RoryOF » Sat Nov 30, 2019 10:40 am

Use Ctrl F8, or /View /Non printing characters or press the backwards P button on the tool bar to see the structure of the file. From Internet archives, it is usual that the files have the original line length of the scanned document; If each paragraph is separated from the next by a blank line (a backwards P on its own), as is frequent from the above sources, then the adjustment is easy.

Only do this if there are blank lines separating paragraphs (the backwards P on its own):

Use /Edit /Find and Replace

In Find, enter ^$, in Replace %%%% (or some string that is not in the document: %%%% has always worked for me). Drop More Options on the F&R window and select "Regular Expressions. Press Replace All
Now
Find $, Replace <enter a space in Replace box>, check that More Options is still showing Regular Expressions selected, Replace all
Now
Find %%%%, Replace \n, check Regular expressions selected, Replace all.

Your document should now expand to fill your pages correctly.

Best to do the above on a copy of the document in case of error.

It will take less than two minutes to do all the above on the largest documents.
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31433
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Number of words per line

Postby silverstar » Sat Nov 30, 2019 5:39 pm

I ve just posted my sample up on open office

the font is size 12
I have about a centimetre margin each side of the text and the text is
reaching about half way across

I need to find some tool.... digits per line or words per line or something
to fill in the space

at moment it is about 12 words per line when it could easily be 22 or 23
open office 3.1
windows 10
silverstar
 
Posts: 4
Joined: Sat Nov 30, 2019 5:14 am

Re: Number of words per line

Postby RusselB » Sat Nov 30, 2019 6:20 pm

Upload your sample file to the forum (See [Forum]How to attach a document) so we can analyze the same document you are using.
OpenOffice 4.1.7 and LibreOffice 6.3.3.2 on Windows 7 Pro & Ultimate
If you believe your problem has been resolved, please go to your first post in this topic, click the Edit button and add [Solved] to the beginning of the Subject line.
User avatar
RusselB
Moderator
 
Posts: 6115
Joined: Fri Jan 03, 2014 7:31 am
Location: Sarnia, ON

Re: Number of words per line

Postby RoryOF » Sat Nov 30, 2019 6:53 pm

I have suggested what you can do - it works correctly for me when I download
Men and women of Soho, famous and infamous; by Cardell, John Henry.
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31433
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Number of words per line

Postby John_Ha » Sat Nov 30, 2019 6:59 pm

Clipboard01.gif

Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
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: 7794
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Number of words per line

Postby RoryOF » Sat Nov 30, 2019 7:02 pm

If that is what the OP is getting when he turns on /View /non printing characters, showing line-feeds (hooked arrows) rather than Pilcrows (backwards P) at line ends, before he follows my instructions he should use /Edit /Find and Replace
Find \n
Replace \n
drop more options and enable Regular expressions
Then press Replace All.

After that, my instruction sequence will work correctly.
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31433
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Number of words per line

Postby John_Ha » Sat Nov 30, 2019 7:41 pm

RoryOF wrote:If that is what the OP is getting when he turns on /View /non printing characters, showing line-feeds (hooked arrows)

I copied what the OP posted in his post.

If only posters would upload files everything would be so much easier :crazy:
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: 7794
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Number of words per line

Postby silverstar » Sat Nov 30, 2019 8:58 pm

i can see those funny squiggles at the end of each line they are an arrow pointing back
but cant highlight them
so cannot delete them ...

besides with 200 pages of text I d need some mass way of getting rid of them !

strangely too, there seems to be a dot between every word of the text !
open office 3.1
windows 10
silverstar
 
Posts: 4
Joined: Sat Nov 30, 2019 5:14 am

Re: Number of words per line

Postby RoryOF » Sat Nov 30, 2019 9:23 pm

Please do what I said, first of all that in my reply to John_Ha, then in my earlier post.
The dot between each word is non printing, marking a space. Undo /View /non printing characters to turn it off.

What is the point of asking for help if you don't apply the advice given?
Apache OpenOffice 4.1.7 on Xubuntu 20.04.1 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 31433
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Number of words per line

Postby Bill » Sat Nov 30, 2019 9:32 pm

silverstar wrote:i can see those funny squiggles at the end of each line they are an arrow pointing back
but cant highlight them
so cannot delete them ...

Think "replace", not "delete". Try this with a copy of your document: Select Edit > Find & Replace. On the Find & Replace dialog, select More Options and check "Regular Expressions". Type " *\n" without the quotes in the Search for box (note that there is a space before the asterisk). Type a single space in the "Replace with" box, then click "Replace all".
AOO 4.1.7, LO 6.3.6.2 and LO 6.4.3.2 on Kubuntu 20.04
Bill
Volunteer
 
Posts: 7869
Joined: Sat Nov 24, 2007 6:48 am

Re: Number of words per line

Postby John_Ha » Sat Nov 30, 2019 9:48 pm

silverstar wrote:i can see those funny squiggles at the end of each line they are an arrow pointing back
but cant highlight them
so cannot delete them ...

Backspace works well.
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: 7794
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Writer

Who is online

Users browsing this forum: No registered users and 16 guests