Class: Deplate::Formatter::LaTeX::Styles::TableBox
- Inherits:
-
TableFormal
- Object
- Deplate::Formatter::LaTeX::Styles
- TableFormal
- Deplate::Formatter::LaTeX::Styles::TableBox
- Defined in:
- lib/deplate/mod/latex-styles.rb
Overview
Displays tables as a box
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from TableFormal
#table_args, #table_begin_foot, #table_bottom, #table_end_head, #table_top
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_caption_text, #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_tabular_bottom, #table_tabular_top, #table_top, #tabular_col_justifications, #tabular_col_widths
Constructor Details
This class inherits a constructor from Deplate::Formatter::LaTeX::Styles
Instance Method Details
#tabular_vertical_rulers(rv, invoker, *args) ⇒ Object
342 343 344 345 346 347 348 349 350 351 352 |
# File 'lib/deplate/mod/latex-styles.rb', line 342 def tabular_vertical_rulers(rv, invoker, *args) rv[0] = 1 rv[@formatter.table_row_size(invoker.elt)] = 1 prototype = invoker.elt[0] prototype.cols.each_with_index do |c, i| if c.high rv[i + 1] = rv[i] = 1 end end rv end |