Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

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.

Balazs Halasy (13/05/2004 2:56 pm)

Julia Shymova (11/01/2008 1:08 pm)

Balazs Halasy, Julia Shymova


Comments

  • Typo? newline or new_line

    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?