General ⇒ Problems with \listoffigures\thispagestyle{fancy}
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Problems with \listoffigures\thispagestyle{fancy}
Stefan
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
-
- Posts: 6
- Joined: Sat Apr 14, 2012 7:53 pm
Problems with \listoffigures\thispagestyle{fancy}
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}{}}
-
- Posts: 6
- Joined: Sat Apr 14, 2012 7:53 pm
Re: Problems with \listoffigures\thispagestyle{fancy}
it works. I copied it before the first figure and it works.
Thanks a lot.
parthiv