New answers tagged

0 votes

How do I put the Appendix along with the PDF on one page?

You can use \AddToHookNext{shipout/background} to overlap a full page image with other stuff. However, \chapter* will not produce a label. You need \refstepcounter{chapter} for that. \documentclass{...
John Kormylo's user avatar
0 votes

I need the citation off in the list of tables when using longtblr

You can specify the entry for the list of tables using the entry=... key: \documentclass{article} \usepackage{tabularray} \UseTblrLibrary{booktabs} \begin{document} \begin{longtblr}[ caption = {Gram ...
samcarter_is_at_topanswers.xyz's user avatar
3 votes

Cite references ( \cite{} ) in Tables/Figures

\caption only has one mandatory argument, I assume you meant \caption[Gram Negative Bacteria.]{\cite{Bacterial_Classification}} not \caption{Gram Negative Bacteria.}{\cite{Bacterial_Classification}}
David Carlisle's user avatar
2 votes
Accepted

ConTeXt: Remove whitespace between Chapters in Table of Context

You can use the before and after keys in \setuplist to remove the space between chapters (or set them up as you want them). You can then use \writebetweenlist to add the extra space where you need it. ...
mickep's user avatar
  • 8,445
1 vote
Accepted

Change table of contents style classicthesis

It's a precise stylistic choice of classicthesis that the page numbers in the table of contents are not aligned and no leaders are provided. To (approximately) quote Bringhurst, you don't want to add ...
egreg's user avatar
  • 1.1m
0 votes

How to modify the space between the numbers and text of sectioning titles in the table of contents?

You can use package tocbasic and reconfigure the ToC entries, to automatically detect the needed space for the numbers and the hierarchical indent: \documentclass{article} \usepackage{tocbasic} \...
cabohah's user avatar
  • 9,188
1 vote
Accepted

How to change chapter title locally, i.e. only for one chapter (ToC)

Just issue the \titleformat command after \tableofcontents. \documentclass{book} \usepackage{titlesec} \begin{document} \tableofcontents \titleformat{\chapter}[display] {\centering\normalfont\...
Iacobus1983's user avatar
1 vote

problem in addition of listing

Properly define a new float type. I also suggest to use tcolorbox features to ease input. \documentclass{article} \usepackage{caption} \usepackage{newfloat} \usepackage[most]{tcolorbox} \...
egreg's user avatar
  • 1.1m
2 votes
Accepted

Removing redundant TOC page numbers in memoir

Since tocloft and memoir are by the same author, most tocloft solutions will work with memoir, but with slightly changed names. Roughly, where tocloft uses abbreviated sectioning names like chap, sec, ...
Alan Munn's user avatar
  • 215k
1 vote
Accepted

How to add the "Figure XX" and "Table XX" numbering in the List of Figures and tables?

I suggest you add the following code to your preamble: \usepackage[titles]{tocloft} \renewcommand\cftfigpresnum{\figurename\ } \renewcommand\cfttabpresnum{\tablename\ } \cftsetindents{figure}{0em}{4....
Mico's user avatar
  • 495k
0 votes

Remove appendix tables and figures from list of figure/tables

There's a much easier way than both of these using the "caption" environment. Here is the blog where I copied the code from. The caption package does the trick for you: \usepackage{caption} ...
ThatsRightJack's user avatar
1 vote

Report Class: Adding words figure and page to list of figures and List of Tables

The only error you got is that the commands \frontmatter and \mainmatter are not defined in the report class. Do you have any front matter chapters, which don't need to be numbered, in your document (...
Tom's user avatar
  • 5,363
0 votes

Adding title and author to toc for included pdfs

Use option addtotoc: \includepdf[ pages=-, addtotoc={1, section, 1, title -- author, sec:paper1}, ]{paper1.pdf}
Andreas Matthias's user avatar
0 votes

How to redefine \section to include "long-title" in the ToC?

First of all: It is seldom a good idea to use more than one package to configure the table of contents, list of figures etc. Independent from this, package multitoc can result in empty lists of floats,...
cabohah's user avatar
  • 9,188

Top 50 recent answers are included