TransWikia.com

Footer items don't appear with the existing preamble

TeX - LaTeX Asked by Quantas on October 17, 2020

I cannot get the footer working with the following code. Any help in getting the desired footer is much appreciated.

documentclass[12 pt, a4paper]{report}
usepackage[utf8]{inputenc}
usepackage[english]{babel}
usepackage{amsthm}
usepackage{amsmath, amssymb}
usepackage{graphicx}
usepackage[T1]{fontenc}
usepackage{enumerate}
usepackage{calc}
usepackage{blindtext}
usepackage{fancyhdr, lastpage, bbding, pmboxdraw}
usepackage[T1]{fontenc}
usepackage[usenames,dvipsnames]{color}
definecolor{darkblue}{rgb}{0,0,.6}
definecolor{darkred}{rgb}{.7,0,0}
definecolor{darkgreen}{rgb}{0,.6,0}
definecolor{red}{rgb}{.98,0,0}
usepackage[colorlinks,pagebackref,pdfusetitle,urlcolor=darkblue,citecolor=darkblue,linkcolor=darkred,bookmarksnumbered,plainpages=false]{hyperref}
usepackage{mathtools}
usepackage{blkarray, bigstrut}
usepackage{multicol}
usepackage{arydshln}
usepackage{longdivision}
usepackage{tcolorbox}
renewcommand{thefootnote}{fnsymbol{footnote}}
newtheorem{theorem}{Theorem}
newtheorem{lemma}{Lemma}
newtheorem{claim}{Claim}
newtheorem{proposition}{Proposition}
newtheorem{corollary}{Corollary}
newtheorem{fact}[theorem]{Fact}
newtheorem{example}{Example}
newtheorem{notation}{Notation}
newtheorem{observation}[theorem]{Observation}
newtheorem{conjecture}[theorem]{Conjecture}

theoremstyle{definition}
newtheorem{definition}{Definition}

theoremstyle{remark}
newtheorem{remark}{Remark}


renewcommand{thesection}{thechapter.numbernumexprvalue{section}relax}

setcounter{chapter}{1}
%%%%%%%%%%%% LISTING %%%
usepackage{listings}
usepackage{caption}
DeclareCaptionFont{white}{color{white}}
DeclareCaptionFormat{listing}{colorbox{gray}{parbox{textwidth}{#1#2#3}}}
%captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white}
usepackage{verbatim} % used to display code
usepackage{fancyvrb}
usepackage{acronym}
%usepackage{amsthm}
usepackage{setspace}
VerbatimFootnotes % Required, otherwise verbatim does not work in footnotes!

DeclarePairedDelimiterceil{lceil}{rceil}
DeclarePairedDelimiterfloor{lfloor}{rfloor}

usepackage{fancyhdr}
pagestyle{fancy}
lfoot{footnotesize IEEE 2019}
rfoot{footnotesize Engineering Mechanics}
renewcommand{headrulewidth}{0 pt}
renewcommand{footrulewidth}{0.8 pt}
fancyfoot[C]{footnotesize thepage}

usepackage{lipsum}
usepackage{geometry}
geometry{%
  letterpaper,
  lmargin=2 cm ,
  rmargin=1.4 cm,
  tmargin=2 cm,
  bmargin=2 cm,
  footskip=22 pt,
  headheight=12pt}  
usepackage{titlesec}
titlelabel{thetitle.quad}

linespread{1.4}
pagestyle{myheadings}

thispagestyle{empty}

begin{document}

lipsum


end{document}

One Answer

seems fine

enter image description here

documentclass[12 pt, a4paper]{report}
usepackage{fancyhdr, lastpage, bbding, pmboxdraw}

usepackage{fancyhdr}
pagestyle{fancy}
lfoot{footnotesize IEEE 2019}
rfoot{footnotesize Engineering Mechanics}
renewcommand{headrulewidth}{0 pt}
renewcommand{footrulewidth}{0.8 pt}
fancyfoot[C]{footnotesize thepage}

usepackage{lipsum}
usepackage{titlesec}
titlelabel{thetitle.quad}

begin{document}

lipsum


end{document}

Answered by js bibra on October 17, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP