LatexTag

Michalis Kamburelis edited this page Jan 7, 2017 · 6 revisions
Clone this wiki locally

The @latex tag is the equivalent of the @html tag for LaTeX output formats. Text inside a @latex(…​) tag will be copied verbatim when pasdoc generates documentation in LaTeX or latex2rtf formats, otherwise it will be discarded. E.g.

(* Text visible in every output format.

   @latex(Some \{bf test} text, visible only in LaTeX/latex2rtf output.)

   @html(Some <b>test</b> text, visible only in HTML output.)
*)

The @latex tag is sometimes used together with the --latex-head CommandLine option, if you need to use a specific LaTeX package for your custom documentation features.