# textProperties examples -------
textProperties( font.size = 12 )
textProperties(color="red",
font.weight = "bold",
font.style = "italic",
underlined = TRUE
)
textProperties( shading.color = "red" )
print( textProperties (color="red", font.size = 12) )
# chprop usage example ------
textProp = textProperties()
textProp01 = chprop( textProp, color = "red" )
textProp02 = chprop( textProp, font.size = 12 )
textProp03 = chprop( textProp, font.weight = "bold" )
textProp04 = chprop( textProp, font.style = "italic" )
textProp05 = chprop( textProp, underlined = TRUE )
## Not run:
# textProp06 = chprop( textProp, font.family = "Arial" )
# ## End(Not run)
textProp07 = chprop( textProp, vertical.align = "superscript" )
textProp08 = chprop( textProp, font.size = 12,
font.weight = "bold", shading.color = "red" )
Run the code above in your browser using DataLab