# File lib/pdf/writer.rb, line 1910
1910:   def start_columns(size = 2, gutter = 10)
1911:       # Start from the current y-position; make the set number of columns.
1912:     return false if @columns_on
1913: 
1914:     @columns = {
1915:       :current => 1,
1916:       :bot_y   => @y
1917:     }
1918:     @columns_on = true
1919:       # store the current margins
1920:     @columns[:left]   = @left_margin
1921:     @columns[:right]  = @right_margin
1922:     @columns[:top]    = @top_margin
1923:     @columns[:bottom] = @bottom_margin
1924:       # Reset the margins to suit the new columns. Safe enough to assume the
1925:       # first column here, but start from the current y-position.
1926:     @top_margin = @page_height - @y
1927:     @columns[:size]   = size   || 2
1928:     @columns[:gutter] = gutter || 10
1929:     w = absolute_right_margin - absolute_left_margin
1930:     @columns[:width] = (w - ((size - 1) * gutter)) / size.to_f
1931:     @right_margin = @page_width - (@left_margin + @columns[:width])
1932:   end