GeneralStyle file

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
tarektarek
Posts: 30
Joined: Fri Nov 23, 2007 12:56 am

Style file

Post by tarektarek »

Hi all,
I have to include cuthesis.sty file, I use the command \usepackage for this file, the only thing that I can not control is that in my .tex file I have to include the section

"\begin{acknowledgments}
\end{acknowledgments}"

to get the document numbered along with Table of Figure,...... , if I do not include this section, I get a document with Roman numbers instead, and the table of figues, contents,... are removed. How can I remove this section while keeping my document as normal.


Thanks
Attachments
cuthesis.sty
(10.53 KiB) Downloaded 181 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

tarektarek
Posts: 30
Joined: Fri Nov 23, 2007 12:56 am

Re: Style file

Post by tarektarek »

Hi all,
Let me rephrase what I previously mentioned.
I include cuthesis.sty file using the command \usepackage in my .tex file. If I include the Section
"\begin{acknowledgments}
\end{acknowledgments}"

My document will get numbered while Table of Figures,...... , are added. If I do not include this Section in my .tex file, I get for the whole document pages with Roman characters instead of numbers, while the table of Figures,... are deleted. How can I remove this Section while keeping my document numbered while adding Table of Figures,.......
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Style file

Post by frabjous »

From what I can tell looking at the .sty file, this is happening because the acknowledgements environment calls the command:

\afterpreface

And this command inserts the table of figures, etc., changes the numbering and does some other stuff. If you're not going to use the acknowledgement environment, just put the \afterpreface command in its place.
tarektarek
Posts: 30
Joined: Fri Nov 23, 2007 12:56 am

Re: Style file

Post by tarektarek »

Thanks a lot.
Post Reply