Document Classeskapproc | ToC Problems, Undefined control sequence \OT

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
blaafarris
Posts: 1
Joined: Tue Dec 06, 2011 1:24 pm

kapproc | ToC Problems, Undefined control sequence \OT

Post by blaafarris »

I am using a version of kluwer academic publishers document class kapproc.cls for my thesis. I have some problems with generating the toc when using \O in the author name of included articles.

Code: Select all

\author{My name {\O}andA{\aa}andSomeMore}
I get the error:

Code: Select all

! Undefined control sequence.
l.39 {\noindent \tocauthorfont \relax My name {\OT
                                                   1\O }andA{\unhbox \voidb@...
If I look in the .toc file it says

Code: Select all

{\noindent \tocauthorfont \relax My name {\OT 1\O }andA{\unhbox \voidb@x \bgroup \let \unhbox \voidb@x \setbox \@tempboxa \hbox {a\global \mathchardef \accent@spacefactor \spacefactor }\accent 23 a\egroup \spacefactor \accent@spacefactor }andSomeMore}
If I remove the \O I have no problems with the {\aa}.

I have no idea where to even start looking for a solution to the problem. Any input is appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply