Document ClassesIncluding .cls

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
tarektarek
Posts: 30
Joined: Fri Nov 23, 2007 12:56 am

Including .cls

Post by tarektarek »

Hi all,
I am trying to include the filename "guelphproposal.cls" in my .tex file using the command name documentclass{guelphproposal} at the beginning of the tex's content, but whenever I compile my tex file I get the following warning:
"You have requested document class "guelphproposal", but the document class provides "guelphproposal". What is the problem?

Thanks in advance
Attachments
guelphproposal.cls
(19.86 KiB) Downloaded 362 times

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Including .cls

Post by localghost »

tarektarek wrote:[...] "You have requested document class "guelphproposal", but the document class provides "guelphproposal". [...]
This message can't be correct because guelphthesis is the right name of the class. Take a look at the first two lines.

Code: Select all

\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{guelphthesis}
Thus I suggest to try the following.

Code: Select all

\documentclass{guelphthesis}
Rename the file to guelphthesis.cls and everything should work as expected.


Best regards
Thorsten¹
tarektarek
Posts: 30
Joined: Fri Nov 23, 2007 12:56 am

Re: Including .cls

Post by tarektarek »

Thanks a lot.
Post Reply