# Add custom caption to LOT file

In my publishing company we have our own template with custom \tcaption command which make caption above the table with company's standards (and I don't use table environment). However this command doesn't write information in LOT file, so I can't produce the list of tables. What should I change in CLS file to fix this problem?

I can't simply write \addcontentsline{lot} because I have 170 tables.

• Can you renewcommand the \tcaption command or is it forbidden? If yes can you provide the description of \tcaption (arguments etc.)? – Ludovic C. Oct 29 '13 at 17:15
• If you can show us some code, preferably in a complete minimal working example (MWE), some folks may be able to help.... – cmhughes Oct 29 '13 at 18:10

Whatever is in the class, some good old things should work. Try putting this into the preamble, you don't even have to modify the .cls file:
\makeatletter

• Well, you likely have an equation in the caption. In that case you have to use the optional argument to \tcaption that omits the equation. Equations, new paragraphs etc. cannot propagate to the List of Tables, hence the error. – yo' Oct 30 '13 at 13:09