[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] using a derivative of article class
From: |
Seweryn Kokot |
Subject: |
[AUCTeX] using a derivative of article class |
Date: |
Mon, 13 Nov 2006 12:51:34 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
Hello,
I put my preamble with some \usepackage (unit,amsmath) into my own
class - a derivative of article class:
--- start
% myart.cls file
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{myart}
\DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass{article}
%
\RequirePackage{amsmath,amssymb} % counterparts of \usepackage
\RequirePackage[a4paper,left=2.5cm,right=3.0cm,top=2.5cm,bottom=2.5cm]{geometry}
\RequirePackage{units}
\sloppy
\endinput
--- end
Now my tex file looks like this:
--- start
\documentclass{myart}
\begin{document}
...
--- end
and auctex doesn't see and include unit and amsmath styles.
Is it possible to make the styles visible for auctex in any way?
Regards,
SK
- [AUCTeX] using a derivative of article class,
Seweryn Kokot <=