latex.article.preamblestart

- SourceForge
- Home Page
- Samples

- Reference Contents |
- Download & Install |
- User Guides |
- Notes, E-mail & Bugs |
- Q&A

Suggestions
Search:
Next: latex.book.preamblestart
Previous: generate.latex.book.preamble Up: Variables and Templates used in LaTeX Preamble Generation

Reference Section

## Name

latex.article.preamblestart — Generate `\documentclass` for `articles` [2.0.9]

## Synopsis

    <xsl:param name="latex.article.preamblestart">
    		<xsl:text>% --------------------------------------------
    </xsl:text>
    		<xsl:text>% Autogenerated LaTeX file for articles
    </xsl:text>
    		<xsl:text>% --------------------------------------------
    </xsl:text>
    		<xsl:text>\ifx\pdfoutput\undefined
    </xsl:text>
    		<xsl:text>\documentclass[</xsl:text>
    		<xsl:value-of select="$latex.documentclass.common"/>
    		<xsl:text>,</xsl:text>
    		<xsl:value-of select="$latex.documentclass.article"/>
    		<xsl:text>,</xsl:text>
    		<xsl:value-of select="$latex.documentclass.pdftex"/>
    		<xsl:text>]{</xsl:text>
    		<xsl:choose>
    			<xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass"/></xsl:when>
    			<xsl:otherwise><xsl:text>article</xsl:text></xsl:otherwise>
    		</xsl:choose>
    		<xsl:text>}
    </xsl:text>
    		<xsl:text>\else
    </xsl:text>
    		<xsl:text>\documentclass[pdftex,</xsl:text>
    		<xsl:value-of select="$latex.documentclass.common"/>
    		<xsl:text>,</xsl:text>
    		<xsl:value-of select="$latex.documentclass.article"/>
    		<xsl:text>,</xsl:text>
    		<xsl:value-of select="$latex.documentclass.dvips"/>
    		<xsl:text>]{</xsl:text>
    		<xsl:choose>
    			<xsl:when test="$latex.documentclass!=''"><xsl:value-of select="$latex.documentclass"/></xsl:when>
    			<xsl:otherwise><xsl:text>article</xsl:text></xsl:otherwise>
    		</xsl:choose>
    		<xsl:text>}
    </xsl:text>
    		<xsl:text>\fi
    </xsl:text>
    	</xsl:param>

## B. Pertinent Variables

- latex.documentclass.common
- latex.documentclass.article
- latex.documentclass.pdftex
- latex.documentclass.dvips
- latex.documentclass

## A. Description

## G. Uses

Documented templates that use this parameter:

- generate.latex.article.preamble

Prev | Up | Next
generate.latex.book.preamble | Home | latex.book.preamblestart