I have a .cls file that I want to use with texmaker.
With winedt I just did this in the preamble "\documentclass[useAMS,usenatbib]{biom}", where biom is the .cls file, and it worked perfectly.
However, with texmaker, when I try to compile my latex document, the following error is produced "! LaTeX Error: File `biom.cls' not found.", and I cannot proceed into creating my .pdf.
How do I make texmaker find my .cls file?
Thank you very much,
Beatriz
Document Classes ⇒ use a cls file in texmaker
use a cls file in texmaker
Last edited by biacdc on Fri Feb 04, 2011 9:09 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: use a cls file in texmaker
That's not a problem of your editor. The class file cannot be found in the TeX installation tree. For the present it's sufficient to put the class file into the same folder where the sources are located. If you have to use that class regularly, you should place it into a local TeX tree. The documentation of your LaTeX distribution helps hot to manage that.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: use a cls file in texmaker
Hi,
I did put the .cls file in the same folder of my .tex file, yet it does not work, I don't know what else to do, this is really weird, specially because it was working nicely with winedt.
I did put the .cls file in the same folder of my .tex file, yet it does not work, I don't know what else to do, this is really weird, specially because it was working nicely with winedt.
Re: use a cls file in texmaker
It took me quiet a while to realize what was the problem! winedt was not case sensitive to files' names, so when I inserted in the preamble the class as {biom}, it would read my class named Biom.cls. Texmaker on the other hand is case sensitive, and that is why it wouldn't work.
Thank you very much for the reply!
Beatriz
Thank you very much for the reply!
Beatriz
Re: use a cls file in texmaker
That doesn't make any sense. The editor does not look for the .cls file, LaTeX does. Are these editor installed on the same computer? Do the computers use the same file system type? Unix-type machines are usually case sensitive, but Windows machines aren't.
Re: use a cls file in texmaker
I was using winedt in a windows machine, and texmaker in my new one with linux. That's why the case sensitiveness. A small detail that took me almost the whole afternoon... 

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: use a cls file in texmaker
Now that the problem is solved, please follow the directions of my last reply.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10