Class: Deplate::Formatter::LaTeX::Styles::TableSmall
- Inherits:
-
Deplate::Formatter::LaTeX::Styles
- Object
- Deplate::Formatter::LaTeX::Styles
- Deplate::Formatter::LaTeX::Styles::TableSmall
- Defined in:
- lib/deplate/mod/latex-styles.rb
Overview
Smaller font sizes class Deplate::Formatter::LaTeX::Styles::TableSmall < Deplate::Formatter::LaTeX::Styles
def table_cell(rv, invoker, *args)
%{\\small{#{rv}}}
end
end class Deplate::Formatter::LaTeX::Styles::TableFootnotesize < Deplate::Formatter::LaTeX::Styles
def table_cell(rv, invoker, *args)
%{\\footnotesize{#{rv}}}
end
end class Deplate::Formatter::LaTeX::Styles::TableScriptsize < Deplate::Formatter::LaTeX::Styles
def table_cell(rv, invoker, *args)
%{\\scriptsize{#{rv}}}
end
end
Instance Method Summary collapse
- #table_caption_text(rv, invoker, *args) ⇒ Object
- #table_tabular_bottom(rv, invoker) ⇒ Object
- #table_tabular_top(rv, invoker) ⇒ Object
Methods inherited from Deplate::Formatter::LaTeX::Styles
#format_table, #initialize, #table_args, #table_begin_body, #table_begin_foot, #table_begin_head, #table_bottom, #table_caption, #table_cell, #table_cols, #table_end_body, #table_end_foot, #table_end_head, #table_foot_row, #table_head_row, #table_high_row, #table_horizontal_ruler, #table_horizontal_ruler_from_to, #table_indented_row, #table_longtable_bottom, #table_longtable_top, #table_normal_row, #table_table_bottom, #table_table_top, #table_top, #tabular_col_justifications, #tabular_col_widths, #tabular_vertical_rulers
Constructor Details
This class inherits a constructor from Deplate::Formatter::LaTeX::Styles
Instance Method Details
#table_caption_text(rv, invoker, *args) ⇒ Object
211 212 213 |
# File 'lib/deplate/mod/latex-styles.rb', line 211 def (rv, invoker, *args) "\\normalsize{#{rv}}" end |
#table_tabular_bottom(rv, invoker) ⇒ Object
208 209 210 |
# File 'lib/deplate/mod/latex-styles.rb', line 208 def table_tabular_bottom(rv, invoker) "#{rv}\n\\normalsize{}" end |
#table_tabular_top(rv, invoker) ⇒ Object
205 206 207 |
# File 'lib/deplate/mod/latex-styles.rb', line 205 def table_tabular_top(rv, invoker) "\\small{}\n#{rv}" end |