GeneralChanging between report and article class

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
zizozizo
Posts: 4
Joined: Sun Jun 10, 2007 8:23 pm

Changing between report and article class

Post by zizozizo »

Hi;
I have a problem is that I included in my tex file \documentstyle{report} to include my file style. Since I need \subsubsection it wont be numbered as you now. I have to change the same command \documentstyle{report} but instead of using report I have to use article in order the subsubsections can be numbered but once I do this I got lots of errors. Any help is appreciated.

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

Changing between report and article class

Post by localghost »

At first i wonder why you are using the old LaTeX 2.09 syntax to declare a documentclass. Some information about your LaTeX system could also be helpful. The next thing is that you have to post a minimum working example (MWE) that reproduces the errors. At the moment i can't figure out the problem. This may serve as an example how the source of your document should look like. The package blindtext is only for demonstration purposes.

Code: Select all

\documentclass[12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{blindtext}

\pagestyle{headings}

\begin{document}
  \Blinddocument
\end{document}
zizozizo
Posts: 4
Joined: Sun Jun 10, 2007 8:23 pm

Changing between report and article class

Post by zizozizo »

Hi;
Thanks for replying. I cant change the command

Code: Select all

\documentstyle[cuthesis,epsf,graphicx,textcomp,amssymb]{report}
for now,so suppose I am using it. In my main file.tex I am using

Code: Select all

\documentstyle[cuthesis,epsf,graphicx,textcomp,amssymb]{report}
so I want to change it to:

Code: Select all

\documentstyle[cuthesis,epsf,graphicx,textcomp,amssymb]{article}
When I add these statements:

Code: Select all

\begin{abstract}
EMPTY
\end{abstract}
\begin{acknowledgments}
  EMPTY
\end{acknowledgments}
\input{somefilename}
I get lots of errors. If I remove them it works fine. Any help is appreciated
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Changing between report and article class

Post by localghost »

Since again you didn't post a MWE, please answer the following questions clearly.
  1. What is this cuthesis package? Since i do not have this package, i'm not able to comprehend the problem. It is not included in the current LaTeX distributions.
  2. Where does the acknowledgements environment come from?
  3. What is the exact content of the file somefilename, which is to be input in the last line of your code?
Again the request for a MWE to get closer to a solution. Maybe you could name a source where i can get the cuthesis style file.
zizozizo
Posts: 4
Joined: Sun Jun 10, 2007 8:23 pm

Re: changign between report and article

Post by zizozizo »

Hi;
It is ok now since I do not need the subsubsection any more.I really appreciate your help.


Thanks
Post Reply