TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using the IEEEconf documentclass. I want the abstract to span two columns directly after the title so I added the following:

\twocolumn[
    \begin{@twocolumnfalse}
        \maketitle
    \end{@twocolumnfalse}
    \vspace{2mm}
    \hrule
    \begin{abstract}
        abstract text.
    \end{abstract}
    \hrule
    \bigskip
]

When I build this with XeLaTex, I get the following error:

Undefined control sequence. []]

However, when I first comment out the lines with \twocolumn[ and ], keep the pdf open and build again, I keep getting the error, but the pdf is build normally. How can I prevent the error or tell XeLaTex to ignore this error?

share|improve this question
    
Can you really use @twocolumnfalse outside a class or style file without \makeatletter? – Crissov Feb 3 '14 at 16:16
    
I really don't understand, what you are doing. Usually you can write the text which you wish to have in one column just inside the []: \twocolumn[This will be printed in one column!] and this in two columns. OK, did not test, but write from memory, hopefully its true. – Keks Dose Feb 3 '14 at 16:31
    
\twoculumn forces a pagebreak, that is why the maketitle is within the \twocolumn. The reason for the @twocolumnfalse environment is that \maktetitle already spans the two columns. See also here: tex.ac.uk/cgi-bin/texfaq2html?label=onecolabs and here: tex.stackexchange.com/a/140679so it should work. Maybe XeLaTex is the problem? – SeeDoubleYou Feb 3 '14 at 20:11

The following complete example gives no error with a current xelatex

enter image description here

\documentclass{IEEEconf}
\begin{document}
\title{zzz}
\author{z. zz}

\twocolumn[
    \begin{@twocolumnfalse}
        \maketitle
    \end{@twocolumnfalse}
    \vspace{2mm}
    \hrule
    \begin{abstract}
        abstract text.
    \end{abstract}
    \hrule
    \bigskip
]

aaa
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.