Sha256: 460c62812b2f45a9b3cb101d15a3e19c6200d825997a99333e2bb6f3391500e9

Contents?: true

Size: 687 Bytes

Versions: 8

Compression:

Stored size: 687 Bytes

Contents

# encoding: utf-8
#
# Examples for using grid layouts.
#
require File.expand_path(File.join(File.dirname(__FILE__),
                                   %w[.. example_helper]))

Prawn::Example.generate("layout.pdf", :page_size => "FOLIO") do
  
  package "layout" do |p|
    
    p.example "simple_grid"
    p.example "boxes"
    p.example "content"
    
    p.intro do
      prose("Prawn has support for two-dimensional grid based layouts out of the box.

      The examples show:")

      list( "How to define the document grid",
            "How to configure the grid rows and columns gutters",
            "How to create boxes according to the grid"
          )
    end
    
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
prawn-1.0.0 manual/layout/layout.rb
prawn-0.15.0 manual/layout/layout.rb
prawn-0.14.0 manual/layout/layout.rb
prawn-0.13.2 manual/layout/layout.rb
prawn-0.13.1 manual/layout/layout.rb
prawn-0.13.0 manual/layout/layout.rb
prawn-1.0.0.rc2 manual/layout/layout.rb
nurettin-prawn-1.0.0.rc1 manual/layout/layout.rb