Hi,
I'm a beginner in latex. How can I indent one single unnumbered entry on the list of tables ?
Thanks in advance for your help
Page Layout ⇒ Indent new LoT entry
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
Indent new LoT entry
This depends on the class and the ToC/caption/float packages you are using and how you produce the entry. So a
minimal working example would be useful. With a KOMA-Script class it would be very simple, e.g.:
Almost the same can be done using a standard class:

\documentclass[listof=indenttextentries]{scrartcl}% see the KOMA-Script guide for information \begin{document} \listoftables % Generate a numbered and a not numbered dummy entry: \captionof{table}{Testentry with number} \addxcontentsline{lot}{table}{Test entry without number} \end{document}
\documentclass{article} % Do the setup using KOMA-Script package tocbasic \usepackage{tocbasic} \setuptoc{lot}{numberline} \renewcommand*{\listoftables}{\listoftoc{lot}} \begin{document} \listoftables % Generate a numbered and a not numbered dummy entry: \begin{table} \caption{Testentry with number} \addxcontentsline{lot}{table}{Test entry without number} \end{table} \end{document}
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. 

Indent new LoT entry
Thank you!
Here what I hope is a minimal working example of what I have.
Thank you for your kindness and for your help!
Here what I hope is a minimal working example of what I have.
Code: Select all
\documentclass[12pt]{report}
\usepackage{float}
\usepackage{tocloft} % As I already used this package for the rest of report, is there any way I can fix the issue with this?
\begin{document}
\listoftables
\captionsetup[table]{labelformat=empty}
\begin{table}[H]
\caption*{\testentry}
\end{table}
\addcontentsline{lot}{table}{testentry}
\end{document}
Thank you for your kindness and for your help!
Last edited by cgnieder on Sun Mar 08, 2020 10:48 am, edited 1 time in total.
- Ijon Tichy
- Posts: 640
- Joined: Mon Dec 24, 2018 10:12 am
Indent new LoT entry
I never use tocbasic, so I cannot tell you how to solve it using tocloft.
BTW: Please read the BBCode help page to see how to mark block code or use the "Select code" button to even explicitly select "TeX (latex)" code and give it a file name.
With your code I get error messages, e.g.:
So I think it is not a minimal working example.
BTW: Please read the BBCode help page to see how to mark block code or use the "Select code" button to even explicitly select "TeX (latex)" code and give it a file name.
With your code I get error messages, e.g.:
./Untitled.tex:10: Undefined control sequence. l.10 \captionsetup [table]{labelformat=empty}
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. 
