-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
I'm not sure whether this is an equatags or flextable issue; however, mathematical fonts aside from mathnormal, mathrm and mathbf are not rendering:
eqs <- c(
"3x^2 \\in R \\subset Q",
"\\mathnormal{3x^2 \\in R \\subset Q}",
"\\mathrm{3x^2 \\in R \\subset Q}",
"\\mathbf{3x^2 \\in R \\subset Q}",
"\\mathsf{3x^2 \\in R \\subset Q}",
"\\mathtt{3x^2 \\in R \\subset Q}",
"\\mathfrak{3x^2 \\in R \\subset Q}"
)
df <- data.frame(formula = eqs)
df
ft <- flextable(df)
ft <- compose(
x = ft, j = "formula",
value = as_paragraph(as_equation(formula, width = 2, height = .5))
)
ft <- align(ft, align = "center", part = "all")
ft <- width(ft, width = 2)
ft
I'm using flextable 0.9.4 and equatags 0.2.0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
