Graphics, Figures & Tablescaption package in ucthesis class?

Information and discussion about graphics, figures & tables in LaTeX documents.
ljoehle
Posts: 2
Joined: Wed Apr 21, 2010 1:10 am

Re: caption package in ucthesis class?

Post by ljoehle »

I am using ucthesis class and am very much a beginner. I have almost completed my thesis however, but when I started to use subfig I cannot modify anything. Did anyone figure out how to fix this conflict? I mean something easy because I probably won't understand otherwise. I have all the packages that subfig requires in my directory, but when I just put in caption and/or subfig, I cannot make any changes to my document. I hope someone can help. I have been horsing around with this all afternoon and would like to put the final touches on it with this package soon. Thanks in advance.

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

ljoehle
Posts: 2
Joined: Wed Apr 21, 2010 1:10 am

Re: caption package in ucthesis class?

Post by ljoehle »

I have also just now tried subfigure and still doesn't work. I can modify if I don't have \usepackage{subfigure} or caption or subfig. Hmmm...
natermiller
Posts: 9
Joined: Thu Oct 15, 2009 8:07 pm

Re: caption package in ucthesis class?

Post by natermiller »

I ended up using the patch that Alex suggested and that worked to get around the caption package conflict with the ucthesis class, but ultimately I abandoned trying to use the subfig package. I just edited my figure files to contain the different parts a), b), etc. and the associated labels and loaded them as single figures and wrote the captions accordingly. The only other thing is when you reference those subfigures you have to manually add the appropriate letter, e.g. Fig.~\ref{fig:DummyFigure}b to get "Fig. 1b". Obviously this is not ideal, but worked fine for me and I was tired of fighting with the formatting stuff.
User avatar
sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

caption package in ucthesis class?

Post by sommerfee »

natermiller wrote:I cannot make any changes to my document.
What do you mean by that? What error message do you get?

However, if the caption package conflicts with some stuff within your document, \usepackage[caption=false]{subfig} should be a possible solution since the option "caption=false" prevents the loading of the caption package.

Axel
Post Reply