listoffigures and listoftables question

95 views
Skip to first unread message

Jon Whitmore

unread,
May 6, 2011, 3:42:34 PM5/6/11
to ucsd-thesis
I just had my preliminary meeting with OGS, and Norienne told me that
my lists of Figures and Tables needed to have the word "Figure/Table"
in front of the reference.

It currently compiles like:

List of Figures
1.1 First Figure ............ 4

And it needs to be:

List of Figures
Figure 1.1 First Figure.......... 4

Does anyone know how to have the word "Figure" and "Table" appear in
the correct place?

Thanks in advance for any help you can give me,
Jonathan Whitmore

mir amicitas

unread,
May 7, 2011, 1:17:28 AM5/7/11
to ucsd-...@googlegroups.com
Jonathan,

The template should automatically add "Figure" before the the figure
reference. (it did for me). Could you post the code you are using to
to add your figures, as well as the code from the preamble where where
you included additional packages (everything before \begin{document})
. I am sure we can figure this out relatively easily . . .


Novimir

> --
> You received this message because you are subscribed to the Google Groups "ucsd-thesis" group.
> To post to this group, send email to ucsd-...@googlegroups.com.
> To unsubscribe from this group, send email to ucsd-thesis...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/ucsd-thesis?hl=en.
>
>

Jon Whitmore

unread,
May 8, 2011, 2:20:06 PM5/8/11
to ucsd-thesis
I have it technically working now, although I had to add a package and
some new commands (I've commented where that part is).
I'm also getting my figure captions to be double spaced (and it looks
like my main text is only 1.5 spaced, but I could be wrong -- if you
see what's going wrong there, please let me know).

\documentclass[12pt,final]{ucsd}
\usepackage{deluxetable}
\usepackage{longtable}

\usepackage[utf8]{inputenc}
\usepackage{gensymb}
\usepackage{nag}
\usepackage[colorlinks,linkcolor=black,citecolor=black,urlcolor=black]
{hyperref} % OGS printing requirements.
\usepackage{enumitem} % allows for item marks as a parameter
\usepackage{url}
\usepackage{color}
\usepackage{microtype}
\usepackage{fancyvrb}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage{lscape}
\usepackage{chapterbib}
\usepackage{tocbibind}
\usepackage{natbib}
\def\newblock{\hskip .11em plus .33em minus .07em}

%% Added since question asked
\usepackage{tocloft}
\renewcommand{\cftchapfont}{Chapter }
\renewcommand{\cftfigfont}{Figure }
\renewcommand{\cfttabfont}{Table }
%%
\usepackage{boxedminipage}
\usepackage{listings}
\usepackage{ifthen}
\usepackage{ifpdf}
\usepackage{graphicx}
\graphicspath{{img/}}
\input{../inc/commands}

\begin{document}


%% Code for figure:
\begin{figure}
\begin{center}
\showpicture{\includegraphics[width=0.8\textwidth]{vpfit/
plot00}}
\caption[VPFIT]{
The fit (green) and residuals (red) for {\vpfit}.
Line: CrII 2056.
}\label{fig:vpfit0}
\end{center}
\end{figure}

Thanks for any suggestions for improvements!
Jonathan

Michael Smith

unread,
Sep 1, 2012, 3:02:25 PM9/1/12
to ucsd-...@googlegroups.com
I'm running into the same problem. Unfortunately, the code you're suggesting makes my whole table of contents look really horrible, overlapping text & removing spacing (e.g., printing "Chapter 4" and the title of chapter 4 directly on top of one another). It also looks like it makes the list of figures look much less elegant. Alas.
Message has been deleted

liz.r...@gmail.com

unread,
Nov 29, 2012, 3:49:45 AM11/29/12
to ucsd-...@googlegroups.com
I am having the same problems.  Making these changes fixes the problem of having Figure and Table in front of the numbers, but it also changes the Table of Contents entries to "Chapter List of Figures" and "Chapter List of Tables", which is very odd.

Also, the headers for both lists are in the large, left justified, not uppercase font of the chapter headings, not the uppercase, centered font of the acknowledgements and table of contents.
Reply all
Reply to author
Forward
0 new messages