Class: Scarlet::Formatters::PDF

Inherits:
LATEX
  • Object
show all
Includes:
Base
Defined in:
lib/scarlet/formatters/pdf.rb

Instance Attribute Summary

Attributes included from Base

#slide

Class Method Summary collapse

Methods included from Base

#initialize

Methods inherited from LATEX

default_template, #text

Class Method Details

.from_latex(latex) ⇒ Object



7
8
9
# File 'lib/scarlet/formatters/pdf.rb', line 7

def self.from_latex(latex)
  RTeX::Document.new(latex).to_pdf
end