Description Usage Arguments Value Examples
prints or prepares a character string texte
as a small formatted text.
Each component is supposed to be a
paragraph but the first one can be
considered as a title.
1 2 3 4 5 6 7 |
texte |
The text to print (character vector). |
titre |
When > -2 indicates that the first component is a title (if not a simple paragraph). Then the absolute value of titre gives the emphasize to put on the title. Notice that the title is not splitted in several lines as are the other components according to 'wid' value. |
wid |
The maximum width for each line (in characters) without including indentation and frames. |
fli |
When NULL, the first line of each paragraph (in fact the second if there is a title) is issued as a standard line. If not, fli[1] spaces are added before and the considered width is fli[2] (not including the added spaces). Also this means that your already wrote fli[3] characters on the first line; this last possibility can be used only when there are no title and for the the first component. For instance, a French paragraph will be issued with fli=c(5,wid,0). The possibility of modifying wid for the first line can be of use when adding the name of an item first. |
sep |
Number of lines separating each paragraph. |
jus |
Type of justification (1=left, 2=centred, 3=left). |
trunc |
Must truncation be done when a word is greater than the proposed wid? |
ed |
Framing at the beginning of each line. |
ef |
Framing at the end of each line. |
monitor |
List of monitoring constants, see rbsa0$monitor$v to know its structure. |
imp |
Printing is performed and nothing is returned. If FALSE, the character string is returned (including possible new lines) |
either nothing or a character string according to imp
1 2 3 |
form3parag(c("My Title","My important first sentence.","Last one!"));
form3parag(rbsa0$text2$v,wid=20);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.