File: Examples.rst

package info (click to toggle)
pdfposter 0.7.post1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 400 kB
  • sloc: python: 521; makefile: 23
file content (92 lines) | stat: -rw-r--r-- 2,219 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
Examples
===============================

These are some examples showing how to get a poster as you want.

.. include:: _examples1.txt
.. include:: _examples2.txt

For these examples we use two input pages:

.. figure:: _images/testpage-tall.preview.png
  :align: center
  :alt: ..
  :scale: 33%
  :figwidth: 45%

  The *tall* example input page (5.0 cm x 27.9 cm)

.. figure:: _images/testpage-wide.preview.png
  :align: center
  :alt: ..
  :scale: 33%
  :figwidth: 45%

  The *wide* example input page (27.9 cm x 5.0 cm).


These are intentionally uncommon formats so the effects of running
|pdfposter| will be more demonstrative.

Working With Portrait Images
-------------------------------------

Portrait images are higher than wide.

.. image:: _images/poster-tall-2x1a4.png
   :scale: 50%
   :align: right
   :alt: Tall test-page as poster: Two portrait pages wide and one portrait page high.

Example 1::

    pdfposter -p 2x1a4 testpage-tall.pdf out.pdf

This are two a4 pages put together at the *long* side: Two portrait
pages wide and one portrait page high.


.. image:: _images/poster-tall-1x2a4.png
   :scale: 50%
   :align: right
   :alt: Tall test-page as poster: One portrait page wide and two portrait pages high.

Example 2::

    pdfposter -p 1x2a4 testpage-tall.pdf out.pdf

This are two a4 pages put together at the *small* side: One portrait
page wide and two portrait pages high.


Working With Landscape Images
------------------------------------

Landscape images are wider than height.

.. image:: _images/poster-wide-2x1a4.png
   :scale: 50%
   :align: right
   :alt: Wide test-page as poster: Two portrait pages wide and one portrait page high.

Example 1::

    pdfposter -p 2x1a4 testpage-wide.pdf out.pdf

This are two a4 pages put together at the long side: Two portrait pages wide and one portrait page high.


.. image:: _images/poster-wide-1x2a4.png
   :scale: 50%
   :align: right
   :alt: Wide test-page as poster: One portrait page wide and two portrait pages high.

Example 2::

    pdfposter -p 1x2a4 testpage-wide.pdf out.pdf

This are two a4 pages put together at the small side: One portrait page wide and two portrait pages high.



.. include:: _common_definitions.txt