Class: Xpub::CallBook::CallLatexBuilder::CallImgPageLatexOp
- Inherits:
-
CallLatexOp
- Object
- CallLatexOp
- Xpub::CallBook::CallLatexBuilder::CallImgPageLatexOp
- Defined in:
- lib/xpub/dsl/page.rb
Instance Method Summary collapse
Methods inherited from CallLatexOp
#initialize, #template_path, #validate
Constructor Details
This class inherits a constructor from Xpub::CallBook::CallLatexBuilder::CallLatexOp
Instance Method Details
#latex(_book, _builder) ⇒ Object
32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/xpub/dsl/page.rb', line 32 def latex(_book, _builder) <<"EOS" \\enlargethispage{200truemm}% \\thispagestyle{empty}% \\vspace*{-1truein} \\vspace*{-\\hoffset} \\vspace*{-\\oddsidemargin} \\vspace*{#{leftoffset}} \\noindent\\hspace*{-1in}\\hspace*{-\\voffset}\\hspace*{-\\topmargin}\\hspace*{-\\headheight}\\hspace*{-\\headsep}\\hspace*{#{topoffset}} \\includegraphics[width=\\paperheight,height=\\paperwidth]{#{file}} \\clearpage\n EOS end |