Skip to content

Allow font.family to inherit from base document #674

@davidingerslev

Description

@davidingerslev

Hiya, your package is fantastic! It produces great tables easily and very compatible.

Would it be possible to allow font.family not to be specified, resulting in the table inheriting fonts from the base document?

I found setting the fonts a little tricky. I'm using R.nvim in a wsl2 ubuntu session inside of Windows, so maybe not a typical setup, but when knitting to html using flextable_to_rmd(), the tables displayed using default serif fonts. This was caused by DejaVu Sans not being available in Windows, I tried to remove the font.family setting but I couldn't find any way to do it, so I had to specify the font. That's fine in principle, but Word and html documents have different default fonts, so it means making adjustments if knitting to both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions