Text formatting properties
Create a fp_text
object that describes
text formatting properties.
fp_text( color = "black", font.size = 10, bold = FALSE, italic = FALSE, underlined = FALSE, font.family = "Arial", cs.family = NULL, eastasia.family = NULL, hansi.family = NULL, vertical.align = "baseline", shading.color = "transparent" ) ## S3 method for class 'fp_text' format(x, type = "wml", ...) ## S3 method for class 'fp_text' print(x, ...) ## S3 method for class 'fp_text' update( object, color, font.size, bold, italic, underlined, font.family, cs.family, eastasia.family, hansi.family, vertical.align, shading.color, ... )
color |
font color - a single character value specifying a valid color (e.g. "#000000" or "black"). |
font.size |
font size (in point) - 0 or positive integer value. |
bold |
is bold |
italic |
is italic |
underlined |
is underlined |
font.family |
single character value. Specifies the font to be used to format characters in the Unicode range (U+0000-U+007F). |
cs.family |
optional font to be used to format characters in a complex script Unicode range. For example, Arabic text might be displayed using the "Arial Unicode MS" font. |
eastasia.family |
optional font to be used to format characters in an East Asian Unicode range. For example, Japanese text might be displayed using the "MS Mincho" font. |
hansi.family |
optional. Specifies the font to be used to format characters in a Unicode range which does not fall into one of the other categories. |
vertical.align |
single character value specifying font vertical alignments.
Expected value is one of the following : default |
shading.color |
shading color - a single character value specifying a valid color (e.g. "#000000" or "black"). |
x |
|
type |
output type - one of 'wml', 'pml', 'html'. |
... |
further arguments - not used |
object |
|
format |
format type, wml for MS word, pml for MS PowerPoint and html. |
a fp_text
object
fp_text() fp_text(color = "red") fp_text(bold = TRUE, shading.color = "yellow") print( fp_text (color="red", font.size = 12) )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.