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 193 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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