new_line
Summary
Inserts a new line (DEPRECATED).
Usage
pdf( new_line )
Description
This function inserts a new line.
Examples
Example 1
{pdf( 'text', 'Some text.'|wash( 'pdf' ) )}
{pdf( 'text', 'This sentence is written at the same line.'|wash( 'pdf' ) )}
{pdf( 'new_line' )}
{pdf( 'text', 'The start of a new line.'|wash( 'pdf' ) )}
{pdf( 'new_line' )}
{pdf( 'new_line' )}
{pdf( 'text', 'There is a blank line above this one.'|wash( 'pdf' ) )}This example demonstrates everything that can be done with the "new_line" function.
Contributors
- Balazs Halasy Maintainer
- Julia Shymova Maintainer
- Marco Zinn
Comments (1 historical)
Written by readers of the earlier documentation sites, kept as they were.
Typo? newline or new_line
Marco Z. ·
I found, that pdf( 'new_line' ) did not work for me, but pdf( 'newline' ). Is this a typo in the docs or do i use old PDF code (from 3.5.x).
Also: your write
Usage: pdf( new_line )
but Example always are with single quotes like
pdf( 'new_line' )
What should we use?