Method: ReVIEW::LATEXBuilder#footnote

Defined in:
lib/review/latexbuilder.rb

#footnote(id, content) ⇒ Object



1132
1133
1134
1135
1136
1137
1138
1139
# File 'lib/review/latexbuilder.rb', line 1132

def footnote(id, content)
  if @book.config['footnotetext'] || @foottext[id]
    if @doc_status[:column]
      warn "//footnote[#{id}] is in the column block. It is recommended to move out of the column block.", location: location
    end
    puts macro("footnotetext[#{@chapter.footnote(id).number}]", compile_inline(content.strip))
  end
end