heading(labels = c("This is a headline", "containing two lines."))
# Note the warning:
heading(labels = c("Headlines", "with 3 or more lines",
"should not be arranged", "in such a step-wise fashion."))
# Avoiding the warning:
heading(labels = c("Headlines with", "3 or more lines should",
"not be arranged", "in a step-wise fashion."))
# Using non-default colors:
heading(labels = c("Ene,", "mene, miste,", "es rappelt", "in der Kiste."),
cex = 1.6, col = "white", col_bg = usecol(c(Pinky, Seegruen, Bordeaux, Karpfenblau)))
#' @family text functions
Run the code above in your browser using DataLab