List of Figures/Tables not formatting correctly

52 views
Skip to first unread message

kati...@gmail.com

unread,
Mar 17, 2020, 8:16:52 PM3/17/20
to ucsd-thesis
Hi,

I don't think anyone will see this in time, but I'm really in a bind. The template works fine, more or less, but the List of Figures and List of Tables does not compile correctly. Instead of listing the figures/tables as Figure 1, 2... it just lists 1, 2. And for some reason the titles of the page follow chapter heading formatting instead of the List of Figures/Tables formatting.

The weird thing is I have used another user's solution to add a List of Abbreviations. That code works fine and outputs the correct formatting, but the similar code in the ucsd.cls file doesn't work.

This is my preamble:

\documentclass[12pt]{ucsd}

\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{Charis SIL}

\usepackage{comment}

\usepackage{amsmath}
\usepackage{amssymb}

\usepackage{subcaption}
\usepackage{tikz}
\usepackage{tikz-qtree}

\usepackage{geometry}
\geometry{letterpaper}
\geometry{top=1in, bottom=1.25in, inner=1in, outer=1in}

\usepackage{longtable}
\LTcapwidth=\textwidth
\usepackage{array}  % Enables "m" tabular environment http://ctan.org/pkg/array
\usepackage{booktabs}  % Enables \toprule  http://ctan.org/pkg/array
\usepackage{multicol}
\usepackage{multirow}
\usepackage{pbox}
\usepackage{ragged2e}
\setlength{\RaggedRightRightskip}{0pt plus 3em}

\usepackage{pifont}
\usepackage{phonrule}
\usepackage{graphicx}
\usepackage{float}

\makeatletter
\let\@currsize\normalsize
\makeatother
\usepackage[doublespacing]{setspace} 
\let\footnotesize\small
\usepackage[font=small, width=0.9\textwidth]{caption}

\usepackage[round,open]{OTtablx}% OT tableaux

\usepackage[leftflush]{ling-macros}

\newcommand{\overninetynine}{ % sets ex numbers 100+ to the left. (i.e. undoes \lessthanten)  Must put command outside exe 
\setlength{\bexindent}{-2.9ex} % shortens indentation of examples to put them on the left
\setlength{\bexlabel}{-2.8ex} % shortens space between example number and example

\usepackage{footnote}
\makesavenoteenv{tabular}
\makesavenoteenv{table}

\usepackage[nottoc,numbib]{tocbibind}
\usepackage{natbib}
\bibpunct[:]{(}{)}{;}{a}{}{,}

\usepackage{gb4e}
\noautomath

Anyway, if anyone has some suggestions I'd appreciate it. Between the pandemic and this, I'm pretty panicked.

Ben Cipollini

unread,
Mar 17, 2020, 8:23:11 PM3/17/20
to ucsd-...@googlegroups.com
Are you using the latest version from Github? 

--
You received this message because you are subscribed to the Google Groups "ucsd-thesis" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ucsd-thesis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ucsd-thesis/309ef596-387a-4708-b8b6-82fe5099e013%40googlegroups.com.

Kati H

unread,
Mar 17, 2020, 8:32:35 PM3/17/20
to ucsd-...@googlegroups.com
Yes. I'm also using XeLaTeX (I don't know if that matters).



You received this message because you are subscribed to a topic in the Google Groups "ucsd-thesis" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ucsd-thesis/kXllsU8VNJU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ucsd-thesis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ucsd-thesis/CANgTvZgYk_i2zkJEmheGG8AqOu9a1jLchvFuU2_nNZeLTEVuKw%40mail.gmail.com.

Ben Cipollini

unread,
Mar 17, 2020, 8:37:32 PM3/17/20
to ucsd-...@googlegroups.com
Do you know how to fork the repo and push your thesis up as a branch? Would be happy to pull and check it out.

Or, feel free to share via dropbox.

kati...@gmail.com

unread,
Mar 17, 2020, 9:17:33 PM3/17/20
to ucsd-thesis
I sent it to you. If you figure it out, let me know. I'm going to keep throwing myself at it.
To unsubscribe from this group and stop receiving emails from it, send an email to ucsd-...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "ucsd-thesis" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ucsd-thesis/kXllsU8VNJU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ucsd-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "ucsd-thesis" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ucsd-...@googlegroups.com.

kati...@gmail.com

unread,
Mar 18, 2020, 3:32:39 PM3/18/20
to ucsd-thesis
I did fix this. The cause was that I adopted a solution from StackExchange to get my bibliography to show up in the table of contents, which was this line:

\usepackage[nottoc,numbib]{tocbibind}

This will put the bibliography into the TOC, but it also has some kind of bizarre interaction with the style file such that it turns list of figures/list of tables into chapters (with chapter title formatting). 

The actual solution to the bibliography issue was adopted from another user on this board, which was to add these lines into frontmatter.tex after all my lists:

\renewcommand\bibname{{Bibliography}}
\addcontentsline{toc}{chapter}{Bibliography}

Note that I needed the \renewcommand line even though I was fine with the bib being called Bibliography.

Now the only problems I'm having are overfull hboxes; the roman numeral pages start bleeding into the margin after xv. Happens with some text as well (usually words with hyphens in them, or words enclosed in parentheses or \textsc{}). Hopefully these will be easier to solve.

Ben Cipollini

unread,
Mar 18, 2020, 3:55:08 PM3/18/20
to ucsd-...@googlegroups.com
Awesome, and thanks for sharing your solution! :)

To unsubscribe from this group and stop receiving emails from it, send an email to ucsd-thesis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ucsd-thesis/05b3813d-d1bc-442b-b2ac-1561d1eaf4f7%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages