Table Font and ~~a bottle of whiskey~~ [default font]

W10 22H2 LO 7.6.4.1

Tried pretty much every “solution” to change the table default font permanently. It would be really nice if, when inserting a table, there would be a font choice option, maybe with a “Default” tick box (gosh shock horror probe) ! A little radical, but would make LO easier to use, rather than setting/linking/cross checking/creating/what’s this button for ?

Apart from this table font debacle, LO is nice.

The LO tables - as the LO itself - uses the Styles. The Table feature (and the table Styles) will format directly the border, the background color, etc… And the table uses (assigns) the paragraph Styles “Table Content” and “Table Heading” for the contents of the table". This is the default assignation.

You can change the Font property of these styles, and you can save the modified properties as a Template.

And you can choose another paragraph styles (even custom styles) for the actual table (for the header and the contents).

You might find the Writer Guide useful. Download from English documentation | LibreOffice Documentation - LibreOffice User Guides

Hello Tibor,

Thank you for your response.

Here is the process I follow:

1 All fonts in Options set to Cambria (favoured font)

2 In creating a template and saving as template, including as default template, the template document remains as Untitled1.odt. Does not change to template name.ott as in Word equivalnet.

3 Closing the document (saved as template) creates option to save Untitled1 (as a document).

4 All fonts set to Cambria, Paragraph Styles shows Cambria. F11 side bar reveals Table Styles as not accessible.

5 Create a Text Document, based on the above template. Insert a 2 column x 4 row table after entering two line breaks (habit picked up from using Word).

6 Table Heading and Contents fonts are Liberation Serif. Caption is Cambria.

7 Check Options, Basic Western. All fonts are Cambria.

Thus my conclusion is setting a default table font is not possible. The statement/indication that Table Heading and Content are assigned the font from Paragraph Styles is incorrect in this case.

Documents attached.

Sincerely

Simon

Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-CA (en_GB); UI: en-GB
Calc: CL threaded

Tried to email a reply but got this ridiculous response:
We’re sorry, but your email message to [“reply+0707344a354f90c0f9a7ac628d99cd2e@ask.libreoffice.org”] (titled Re: [Ask LibreOffice] [English] Table Font and a bottle of whiskey) didn’t work.

Reason:

Sorry, new users can only put 2 links in a post.

If you can correct the problem, please try again.

Don’t do that, it is slow and it breaks the links between the parent style, Default Paragraph style and the child styles so they aren’t updated by a global change.

Either

  1. Start afresh by unticking Default from any template you have set then starting anew. As you have already set Cambria in Tools > Options > LibreOffice Writer > Basic Fonts (Western) then everything will be Cambria anyway. That is it.
    If you want to make any other changes make them, then File > Templates > Save as Template name it and tick the box Default Template. Or
  2. Correct the error the slow way, open your template, click on each style in which you set the font manually and in the Fonts tab click the button Reset to Parent

Make sure that you always use table style None as any other table style might override any manual changes you make.

Try to break that bad habit as soon as possible. There are better ways to add spacing below paragraphs in Body Text (possibly labelled Text Body depending on version). And above or below tables in Table > Properties > Table > Spacing. You can make your own table style to suit in your default template.

The Writer Guide covers all the above.

1 Like

As I said, tried many solutions, ideas etc, which included the guide.

In the first post I inserted a table using Table Style: Default Table Style. Good idea I thought, save some time as it’s already got borders. Only the table caption changed to my favoured font, heading and contents: good ol’ Liberation Serif…

Repeated as in my first post, but chose Table Style: None
Lo! It was good ! No borders, but all is favoured font ! Well hallelujah !!!

Therefore
Problem solved
Some issue with Default Table Style inheriting/getting assigned Default Paragraph font, set as favoured, globally or locally.

Also
Deleting a table leaves behind the table caption

(That’s one reason why I put two line breaks in before inserting a table, so I don’t inadvertently enter text above the deleted or existing table in the invisible table caption line.)

Yes. Unlike an image with a caption inside another surrounding frame, a table caption is just a text paragraph with a number field so it will be left behind if the table is deleted; it can be deleted without problem. There is no caption or place for a caption until it is inserted so you cannot delete the “invisible caption line”.