I see a lot of people have asked questions about .cls files not loading properly -- but so far as I see none of them are about how to manage this on Overleaf.

I have a file that compiles just fine in TexStudio, but when I zip it and put it on Overleaf, I get the error in the subject line above. I don't know how to fix this. Can someone give me some advice? Forgive my stupidity!

    \vskip\baselineskip% % space above
    \noindent%           % suppress regular indent
    \hangindent=1.5em%   % indent same amount as `quotation` environment
\usepackage{gb4e, cgloss}
\setcitestyle{notesep={: }}
\usepackage{enumerate}% http://ctan.org/pkg/enumerate
%\stepcounter{section} % So that the labels have different values
 {0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\title{Please help me}
My god why won't this compile in Overleaf. Sometimes I feel so stupid.


  • I too feel stupid since a few years @Teusz. Hang in there and it will get better hopefully. Jul 30, 2021 at 5:13

1 Answer 1


I just uploaded the style file cgloss.sty from


to the directory containing your tex file. They complied perfectly at Overleaf and generated the following picture. enter image description here


You must log in to answer this question.

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