Method: ReVIEW::LATEXBuilder#list
- Defined in:
- lib/review/latexbuilder.rb
#list(lines, id, caption, lang = nil) ⇒ Object
override Builder#list
440 441 442 443 444 445 446 |
# File 'lib/review/latexbuilder.rb', line 440 def list(lines, id, caption, lang = nil) if highlight_listings? common_code_block_lst(id, lines, 'reviewlistlst', 'caption', caption, lang) else common_code_block(id, lines, 'reviewlist', caption, lang) { |line, idx| code_line('list', line, idx, id, caption, lang) } end end |