Theses, Books, Title pagesIllegal parameter number in definition of \@frotmp error

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Illegal parameter number in definition of \@frotmp error

Post by templateuser »

Hey Vel,

I’ve just finished editing the Thesis.cls file, saved it and then opened the main.txt file (as I am assuming this is the file you refer to in your manual as Thesis.tex) and typeset it.

However I get the following error message:

Code: Select all

./Thesis.cls:40: Illegal parameter number in definition of \@frotmp.

2
1.40 \infin@ \@tempswatrue\@break@tfor\fi}
?
So checked out line 40 of Thesis.cls and I can’t see what the issue is. Maybe you can?

Cheers
Alessa

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Illegal parameter number in definition of \@frotmp error

Post by Vel »

Hi Alessa,

Does the template compile just fine when you first download it? If it does, then one of your changes in Thesis.cls has caused the error to come up and you need to figure out which one. Once you do, it should be fairly easy to figure out what the problem is.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply