# File lib/pdf/writer.rb, line 1973
1973:   def start_columns(size = 2, gutter = 10)
1974:       # Start from the current y-position; make the set number of columns.
1975:     return false if @columns_on
1976: 
1977:     @columns = {
1978:       :current => 1,
1979:       :bot_y   => @y
1980:     }
1981:     @columns_on = true
1982:       # store the current margins
1983:     @columns[:left]   = @left_margin
1984:     @columns[:right]  = @right_margin
1985:     @columns[:top]    = @top_margin
1986:     @columns[:bottom] = @bottom_margin
1987:       # Reset the margins to suit the new columns. Safe enough to assume the
1988:       # first column here, but start from the current y-position.
1989:     @top_margin = @page_height - @y
1990:     @columns[:size]   = size   || 2
1991:     @columns[:gutter] = gutter || 10
1992:     w = absolute_right_margin - absolute_left_margin
1993:     @columns[:width] = (w - ((size - 1) * gutter)) / size.to_f
1994:     @right_margin = @page_width - (@left_margin + @columns[:width])
1995:   end