Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
\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 –  alyo Jun 18 '11 at 7:06
add comment

1 Answer

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!)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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