Skip to content

Commit

Permalink
Add list of figures and tables
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Dec 15, 2024
1 parent 090d9b6 commit a686739
Show file tree
Hide file tree
Showing 6 changed files with 1,857 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- 新增“插图和附表清单” `\listoffiguresandtables`(研究生院 2024-12-05 Word 模板修改)。

### Changed

- 英文封面的“Finished time”改为“Completion date”(研究生院 2024-12-05 Word 模板修改,[#390](https://github.com/ustctug/ustcthesis/issues/390#issuecomment-2532580113))。
Expand Down
1 change: 1 addition & 0 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
\tableofcontents
% \listoffigures
% \listoftables
% \listoffiguresandtables
\input{chapters/notation.tex}

\mainmatter
Expand Down
67 changes: 67 additions & 0 deletions test/testfiles-crossref/main-loft.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
\input{regression-test.tex}
\documentclass[degree=doctor,fontset=fandol]{ustcthesis}

\begin{document}
\START
\showoutput

\listoffiguresandtables

\mainmatter
\chapter{Foo}

\begin{figure}
\caption{Figure foo}
\end{figure}

\begin{figure}
\caption{Figure A long long long long long long long long long caption}
\end{figure}

\begin{figure}
\caption{Figure foo}
\end{figure}

\begin{table}
\caption{Table foo}
\end{table}

\begin{table}
\caption{Table bar}
\end{table}

\begin{table}
\caption{Table foo}
\end{table}



\chapter{Bar}

\begin{figure}
\caption{Figure foo}
\end{figure}

\begin{figure}
\caption{Figure bar}
\end{figure}

\begin{figure}
\caption{Figure foo}
\end{figure}

\begin{table}
\caption{Table foo}
\end{table}

\begin{table}
\caption{Table bar}
\end{table}

\begin{table}
\caption{Table foo}
\end{table}

\clearpage
\end{document}
\END
Loading

0 comments on commit a686739

Please sign in to comment.