"+" function is to be used for concatenation of pot
elements.
Concatenation of 2 pot
objects returns a pot (of length 2).
# S3 method for pot +(e1, e2)
e1 | a |
---|---|
e2 | a |
at least one of the two objects must be a pot
object.
If one of the 2 parameters is a simple string, it is converted as a
pot
object with no associated format ; therefore, document default document style
will be used (see addParagraph
).
pot("My tailor", textProperties(color="red") ) + " is " + pot("rich" , textProperties(font.weight="bold") )