Graphics, Figures & Tables ⇒ LoF and LoT on the same page
-
- Posts: 6
- Joined: Thu Oct 28, 2010 7:59 pm
LoF and LoT on the same page
Hi, I don't have too many figures and tables in my report, but i need to include lists of them. Is it possible to get \listoftables and \listoffigures on the same page?
Last edited by rockefeller on Tue Mar 29, 2011 9:38 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 6
- Joined: Thu Oct 28, 2010 7:59 pm
Re: LoF and LoT on the same page?
... or one/or both on the same page as \tableofcontents (which in my case uses one full page and then only one or two lines on the next page)
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
LoF and LoT on the same page
I see two possible approaches.
Thorsten
- The global approach. This would mean to redefine the \chapter command regarding the prevention of page break.
These lines go into the document preamble. Note that this affects all chapters in your document. Probably needs manual adjustment by adding vertical space between chapters.
Code: Select all
\makeatletter \renewcommand{\chapter}{% % \if@openright\cleardoublepage\else\clearpage\fi % this the original from the »report« class \par% % this is the patch \thispagestyle{plain}% \global\@topnum\z@ \@afterindentfalse \secdef\@chapter\@schapter } \makeatother
- The local approach. Here we would turn off the effect of \cleardoublepage and \clearpage locally only for the concerned list.
Some vertical space between the lists might be suggestive.
Code: Select all
\listoffigures \begingroup \let\cleardoublepage\relax \let\clearpage\relax \listoftables \endgroup
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 6
- Joined: Thu Oct 28, 2010 7:59 pm
Re: LoF and LoT on the same page?
Cool, thanks. The local approach works great.