GeneralProblems with \listoffigures\thispagestyle{fancy}

LaTeX specific issues not fitting into one of the other forums of this category.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Problems with \listoffigures\thispagestyle{fancy}

Post by Stefan Kottwitz »

I said, place it before your figures, not just before your list of figures. Could it be that you did just the latter?

Stefan
LaTeX.org admin

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

prdharamshi
Posts: 6
Joined: Sat Apr 14, 2012 7:53 pm

Problems with \listoffigures\thispagestyle{fancy}

Post by prdharamshi »

Hi stefan,

is it because of packages which i have used? this is my Macros.tex file.

Code: Select all

\usepackage[top=2cm, bottom=2cm, left=3cm, right=2cm]{geometry}
\linespread{1.25}

\usepackage{sectsty}
\allsectionsfont{\large}
\chapterfont{\Large}

\usepackage[fleqn]{amsmath}
\usepackage{graphicx}

\usepackage{tocloft}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
\makeatletter
\renewcommand{\l@chapter}{\@dottedtocline{0}{0em}{1.5em}}
\makeatother
% Indent
\setlength{\cftsecindent}{0em}
\setlength{\cftsubsecindent}{0em}
\setlength{\cftsubsubsecindent}{0em}
% Text Indent
\setlength{\cftsecnumwidth}{4.1em}
\setlength{\cftsubsecnumwidth}{4.1em}

\setlength{\parindent}{0in}

\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{\nouppercase{\leftmark}}
\chead{}
\rhead{}
\lfoot{}
\cfoot{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0.4pt}
\renewcommand{\chaptermark}[1]{%
\markboth{#1}{}} 
prdharamshi
Posts: 6
Joined: Sat Apr 14, 2012 7:53 pm

Re: Problems with \listoffigures\thispagestyle{fancy}

Post by prdharamshi »

hi stefan,

it works. I copied it before the first figure and it works.

Thanks a lot.
parthiv
Post Reply