Date: prev next · Thread: first prev next last
2014 Archives by date, by thread · List index

Hi Nicolai, schrieb:
Hi, I was wondering if it's possible to make LibreOffice Writer open a plain
text file with paragraph double-spacing already applied to all of it.

My aim is to be able edit plain text files in (i) serif fonts and (ii)
double-spaced paragraphs.

Plain text opens here in "preformatted text" and font "Liberation Mono". I see no option to change that behavior.

I keep my documents in plain text but find myself having to change the
entire formatting of the document every time I open a plain text file for

I managed to get (i) working by means of Tools: Options: LibreOffice: Fonts:
Replacement Table.

However, I couldn't get (ii). I tried to create a template in which the
"Preformatted Text" style looks the way I want it to be, and then I made this
template default.  But LibreOffice Writer just ignores the default template
when opening plain text files.

I would expact that, because the default template is used for _new_ documents, and a file opened is not new.

You can make a template with the desired settings. Then do not open the plain text directly. But start with a new file based on your template and then use Insert > File to get the plain text. It will use the style of that paragraph where it is inserted.

Or don't care that it opens with the wrong font and spacing, and change it after opening. (1) When you once make a macro to change it and assign it to a button or to a shortcut, it will only be 1 click to convert the text. (2) Enable "Line Spacing : 2" in the Formatting toolbar or assign it to a short cut. Then you get it with actions: Ctrl+A (select all), Ctrl+0 (set TextBody style), and Click or shortcut for Line Spacing : 2. I think, that is not too long.

Kind regards

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.