Method: ReVIEW::LATEXBuilder#emlist
- Defined in:
- lib/review/latexbuilder.rb
#emlist(lines, caption = nil, lang = nil) ⇒ Object
420 421 422 423 424 425 426 427 |
# File 'lib/review/latexbuilder.rb', line 420 def emlist(lines, caption = nil, lang = nil) blank if highlight_listings? common_code_block_lst(nil, lines, 'reviewemlistlst', 'title', caption, lang) else common_code_block(nil, lines, 'reviewemlist', caption, lang) { |line, idx| code_line('emlist', line, idx, nil, caption, lang) } end end |