Closed RheumGlutinosa closed 1 year ago
Thanks,
I can't reproduce, it may be a font issue. Can you try with a font you are sure you have with bold and italic feaures and see if there is the issue disappear? Below an example with 'Liberation'.
library(flextable)
library(tidyverse)
flextable(iris[1:5,]) %>%
font(fontname = "Liberation", part = "all") |>
italic(j = 5) %>%
bold(j = 1) %>%
autofit() %>%
align(j=4, align="center", part = "all")
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
Hello, I found inconsistent behaviour when rendering my document with flextable to pdf using different engines. When rendered using pdflatex, everything I need works fine. But when rendering using xelatex or lualatex, the cells in italic are shown normal. I need to use xelatex due to other issues when rendering my thesis. Other commands, e.g. bold, work fine.
Please see the attached prtsc of the outputs.
Example:
SessionInfo: