Home Tips & tricks General tips & tricks Tips & tricks according to ST-Guide

Tips & tricks according to LaTeX


A user-defined LaTeX preamble

In contrast to the previous UDO version UDO Release 6 will save a LaTeX preamble automatically for LaTeX 2.09 or LaTeX2e.

If you don't like the automatically generated preambles you tell UDO not to save them by using the switch !no_preamble [tex] inside the preamble of your UDO source file.

In this case you can enter the special LaTeX commands at the beginning of the UDO source file with !tex or a raw environment.

The following example shows how you can do this:

!code_iso
!no_preamble [tex]

# Uncomment the following line for LaTeX 2.09
# !tex \documentstyle[12pt]{article}

# Uncomment the following lines for LaTeX2e
!tex_2e
!tex \documentclass[12pt,a4paper]
!tex \usepackage{a4}

!begin_document
!node Example
This example uses a userdefined (!LaTeX) preamble.
!end_document

Home Tips & tricks General tips & tricks Tips & tricks according to ST-Guide