Method: PDF::TechBook#techbook_directive_code

Defined in:
lib/pdf/techbook.rb

#techbook_directive_code(args) ⇒ Object

Code: .code



661
662
663
664
665
666
667
# File 'lib/pdf/techbook.rb', line 661

def techbook_directive_code(args)
  __render_paragraph
  select_font @techbook_codefont, @techbook_encoding
  @techbook_lastmode, @techbook_mode = @techbook_mode, :code
  @techbook_textopt  = { :justification => :left, :left => 20, :right => 20 }
  @techbook_fontsize = 10
end