ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

new_line

Summary

Inserts a new line.

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)

Balazs Halasy (04/05/2005 11:54 am)


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?