Description Usage Arguments Details Value See Also Examples
Add a subtitle shape into a document object
Add a addSubtitle shape into a pptx
object.
1 2 3 4 | addSubtitle(doc, ...)
## S3 method for class 'pptx'
addSubtitle(doc, value, ...)
|
doc |
document object |
... |
further arguments passed to other methods |
value |
|
Subtitle shape only exist in slide of type 'Title Slide'.
a document object
1 2 3 4 5 6 7 8 | doc.filename = "addSubtitle_example.pptx"
doc <- pptx()
doc <- addSlide( doc, slide.layout = "Title Slide" )
#set the main title
doc <- addTitle( doc, "Presentation title" )
#set the sub-title
doc <- addSubtitle( doc , "This document is generated with ReporteRs.")
writeDoc( doc, file = doc.filename )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.