i have some long captions and the indentation of the second line should be the same as the first.
I've been trying something even with tocloft package but i couldn't solve my problem
my short code is:
Code: Select all
\documentclass[12pt,a4paper,oneside]{book}
\usepackage[english,brazil]{babel} % resumo
\usepackage[latin1]{inputenc} %acentos
\usepackage[T1]{fontenc} %font encoding package
\usepackage{txfonts}
\usepackage{graphicx,color} %cor
\usepackage[top=2.5cm,left=2.5cm,right=2.5cm,bottom=2.5cm]{geometry}
\usepackage{times} % fonte times new roman
\usepackage{indentfirst}
\usepackage{subfig}
\usepackage[subfigure]{tocloft}
\usepackage{caption}
\captionsetup{within=none}
\renewcommand{\cfttoctitlefont}{\hfill\Huge\bfseries} %centralizar o sumário
\renewcommand{\cftaftertoctitle}{\hfill}
\renewcommand{\cftloftitlefont}{\hfill\Huge\bfseries} %centralizar a lista de figuras
\renewcommand{\cftafterloftitle}{\hfill}
\renewcommand{\cftlottitlefont}{\hfill\Huge\bfseries} %centralizar a lista de tabelas
\renewcommand{\cftafterlottitle}{\hfill}
\cftsetindents{chapter}{0.0em}{2.8em}
\cftsetindents{section}{0.0em}{2.8em}
\cftsetindents{subsection}{0.0em}{2.8em}
\renewcommand{\cftfigfont}{\figurename \,}
\renewcommand{\cfttabfont}{\tablename \,}
\renewcommand{\cftchapdotsep}{4.5}
\begin{document}
\listoffigures
\chapter{bla bla}
\begin{figure}
\caption{long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption long caption }
\end{figure}
\end{document}
" Lista de Figuras
"Figura 1 long caption long caption long caption long caption long
"------long caption long caption ..................................... 1"
but i need something like that
" Lista de Figuras
"Figura 1 long caption long caption long caption long caption long
"-----------long caption long caption ................................ 1"
the traces means spaces... i uploaded this short tex i quoted.
thanks in advance
