2

I am using the trivfloat package to define new environment for graphs. So far so good. I would like to make a list of graphs in the following layout:

Graph 1: This is my graph

Graph 2: This is my second graph

With tables and figures I reconfigure the list with the following code:

\renewcommand{\cfttabaftersnum}{:}
\newlength\tablelen
\settowidth\tablelen{Table}
\addtolength\cfttabnumwidth{\tablelen}
\renewcommand\cfttabpresnum{Table }

How can I do this with the graph custom float env?

  • \cfttabaftersnum is not defined by the LaTeX kernel. Could you edit the question to be a full minimal example. – Joseph Wright Jun 18 '11 at 6:32
  • nevermind: i solved it with this command using before \listofgraphs \makeatletter \renewcommand\numberline[1]{Graf #1:\hspace{1.8em}} \makeatother \listofgraphs – Aljaz Vidmar Jun 18 '11 at 7:06
2

Converting alyo's comment into an answer:

\makeatletter
\renewcommand\numberline[1]{Graf #1:\hspace{1.8em}}
\makeatother
\listofgraphs

(Of course, a full example would be a better answer!)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.