Example #1
0
<? Paper::Head(array(
    'title'    => 'Paper Test',
    'subtitle' => 'Does it work?',
    'author'   => 'Jonathan D. Lettvin'
)); ?>

<?
Paper::Figures('images', 'A pair of images', array(
    array(
        'filename' => "file://$curdir/Synchronic.png",
        'id'       => 'FishEye',
        'label'    => 'Totally new perspective',
        'width'    => 256,
        'height'   => 256
    ),
    array(
        'filename' => "file://$curdir/NoisyGrayStep.png",
        'id'       => 'NGS',
        'label'    => 'Noisy Gray Step',
        'width'    => 256,
        'height'   => 256
    )
));

Paper::Listing(
    'this',
    basename(__FILE__),
    htmlspecialchars(file_get_contents(__FILE__)));
?>
<table align="center" border="1">
<caption align="bottom">How to run and view this script</caption>