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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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\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

Converting alyo's comment into an answer:

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

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

share|improve this answer

Your Answer


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.