latex

<?latex?>, <?db2latex?> — Insert Arbitrary text into the LaTeX file

Synopsis

<?latex content ?>

Description

These Processing Instructions are unusual in that they have no attribute. Instead, the content is put directly into the generated LaTeX document.

The <?db2latex?> PI is deprecated and should not be used anymore. It was provided for backward compatibility. Use the <?latex?> PI instead.

This can provide the ultimate in customization, but can be very dangerous since it breaks the abstractions provided by dblatex.

Warning

These Processing Instructions can be used to inject arbitrary LaTeX into the output stream. Please check if a safer customization method can be used instead. See the other customization methods.

While it is pretty clear that insertion of certain sorts of LaTeX text, at some points within the document, will always be expected to work, there is no guarantee that any inserted LaTeX will continue to work in the future with newer versions of dblatex or its underlying software stack.

Inserting LaTeX into CDATA, i.e. in places where document text appears, is likely to be more robust than inserting LaTeX elsewhere. But again, no guarantees are made.

The <?latex?> Processing Instruction takes special steps to work in verbatim blocks, screen, programlisting, and literallayout elements, while <?db2latex?> is directly written as is.

Context

Recognized in all elements.