5

I want to add a new document class to TexStudio. The document class is named "AEA" and is available in this link (the first .zip file below "Please note:")

The code will look like this

\documentclass[AER]{AEA}
\draftSpacing{1.5}
\begin{document}
Hello World!
\end{document}
4
  • Extract the zip file, open the *-Article.tex file where * is AER or AEJ or JRL as per your choice and use it to type your paper. It should work.
    – user11232
    Commented May 14, 2014 at 11:44
  • I already have done that. TeXstudio does not find the package "AEA". when I put the pointer of my mouse on "AEA" word, it writes "package not found".
    – Ali
    Commented May 14, 2014 at 15:56
  • If AEA.cla is in the same folder as your .tex file then it should work. If not, more details may be needed.
    – user11232
    Commented May 14, 2014 at 22:53
  • Note, that the "package not found" message is from a TXS internal scanner. It currently only searches the standard tex folders not the local folder. It's merely a hint, but does not reflect a result from a latex call. So if your compilation works fine, you can ignore that message (or swith off the package scanner at Options -> Editor -> Inline Checking -> Package.) Commented May 15, 2014 at 19:48

1 Answer 1

5

TXS uses an internal scanner to detect packages and classes. It currently only searches the standard tex folders not the local folder.

If the internal parser cannot locate the file (maybe because it's in the local folder), the package or class name are highlighted in the editor and the toolitp says "package not found". This is merely a hint. It does not reflect a result from a latex call.

So if your compilation works fine, you can ignore that message (or swith off the package scanner at Options -> Editor -> Inline Checking -> Package.)

1
  • "t currently only searches the standard tex folders not the local folder. " Is it still the case in the latest version 2.12.16?
    – hesham
    Commented Jan 4, 2020 at 17:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .