I'm trying to create a document class for two-column articles but with one-column title, authors, abstracts etc. Therefore I tried the (well-known?) solution from the UK TeX FAQ.
Latex, however, yields a "missing \begin{document}" error. Ignoring the error yields a perfect result. But I'd like to get rid of the error.
My minimal example for a simple test class is:
Code: Select all
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{testclass}[2012/10/24 v0.10 Test class]
\LoadClass[twocolumn]{article}
\RequirePackage{lipsum}
\AtBeginDocument{
\twocolumn[
{\lipsum[1]}
]
}
Code: Select all
\documentclass{testclass}
\begin{document}
\lipsum[2-8]
\end{document}
I'd really wish to understand why this happens. Thanks a lot in advance!
Falko