Can anyone help me see why the fancyhdr package fails to display the header and footer while I typeset my file? I have all the correct file paths for the input commands. Also, there is no error detected by my typesetting tools. I can't find a reason my document cannot display a header and a footer.  I'm using Texpad 1.8.7 on a MacOS Mojave 10.14.6. I've installed the full version of the MacTeX and I have double checked that I have the fancyhdr package installed in the right place. Can anyone help?   My code is as follows:   \documentclass[12pt, twoside]{report} \usepackage[utf8]{inputenc} \usepackage{graphicx} \graphicspath{ {/Users/siyang/Desktop/Images/} } \usepackage[a4paper,width=150mm,top=25mm,bottom=25mm,bindingoffset=6mm]{geometry} **\usepackage{fancyhdr}** **\pagestyle{fancy}**  \title{ {Social Strain and Delinquency}\\ {\large The University} } \author{me} \date{January 1, 2020}  \begin{document}  \maketitle  \chapter*{Abstract} Abstract goes here  \chapter*{Dedication} Dedication goes here  \chapter*{Declaration} I declare that..  \chapter*{Acknowledgements} I want to thank... \end{document}
I have a problem with the fancy package: I use the report documentclass and I have a chapter, a lot of text and then a new page starting with a section (or the next page has no chapter starting on that particular page).  The problem be, that what I defined for my header and footer is NOT on the chapter-page but only on the non-chapter page. How come? What did I miss?  Minimal example:  \documentclass[]{report}  \usepackage{lastpage} \usepackage{fancyhdr} % for use of \pageref{LastPage}  \fancypagestyle{IHA-fancy-style}{% \fancyhf{} %Clear header and footer \fancyhead[LE,RO]{\slshape \rightmark} \fancyhead[LO,RE]{\slshape \leftmark} \fancyfoot[C]{\thepage of \pageref{LastPage}} %Custom footer \renewcommand{\headrulewidth}{0.4pt} %Line at the header visible \renewcommand{\footrulewidth}{0.4pt}} %Line at the footer visible  \title{A short example}  \begin{document}  \maketitle \tableofcontents  \pagestyle{IHA-fancy-style} \chapter{A chapter} Look at the footer  \newpage \section{A section} Look at the footer  \end{document}   Take notice: No line on page 2 at the bottom - a line on page 3 at the bottom.  Any clues?
I understand that the Istari - the only other Maiar besides the Balrog to come into close proximity to the Ring - are constrained within a mortal body and subject to its mortal weaknesses, which renders them vulnerable to the Ring's domination and corruption. However, what is to stop Gandalf from returning to his true form, picking up the Ring, and just walking all the way to Mount Doom? Sauron is too weak at the time; he would have been able to do nothing but watch helplessly and pray his mortal armies can defeat a Ring-bearing Gandalf.  Is Gandalf's decision to abide by the Valar's will to the end the only thing holding him back from this particular option? Are there enchantments in place to disable his ability to revert to Maia form, such that the option was never there to begin with? Or would he, even in Maia form and free of mortal weaknesses, still be vulnerable to domination and corruption by the Ring?  The One Ring is forged with the essence of Sauron to dominate and rule the minds of lesser beings. However, Sauron is only a Maia - albeit the highest-ranking in Morgoth's following. Fellow Maiar would be his equal (at least in rank), while the Valar are certainly superior in power to him. If an Ainu becomes a Ringbearer, will he/she eventually fall to Sauron's will too, or at least succumb to the corruption of the Ring's dark power? diagram software for Ubuntu? I'm getting into English recently and I'm a little confused by the way people pronounce a word that starts in a vowel right after a word ending in -ing.  For example:      You have to bring it up now?   I don't know if I should pronounce it as:   bring /ŋit/ brin' /nit/ bring /git/   Another example would be "I'm coming out".  Likewise, what about the ending -ang? For example:      We can just hang out and have a good time.    And to round it all up, what about a combination of the two? For example,      He got sick of hanging around waiting for you and went home.   I've been asking myself these questions for weeks. Prove that formula is not tautology. Show Kripke's model proving that the following formula isn't tautology in intuitionistic logic. $ \neg ( p \wedge q ) \implies (\neg p \vee \neg q) $  Please help/hint me ;) This may be a silly question, and I think I have looked elsewhere to find the answer...  Might be a path issue, but when I open the command line and type from the C:\&gt;: cd D:\  I cannot get to the D drive.  Even if I type: cd D:\&lt;folder name&gt;  The command.exe will auto-complete the line with the tab key, so it knows where I'm at.  It just doesn't print to screen the result or actually get me there.  This problem exists for the network drives as well. Now, if I use the chdir (cd) command like this: chdir D: or cd d: I get the print out of the D:\ below the command but it still says I'm in the C:\. I feel like I'm missing something simple. What does the tilde (~) mean at the end of a filename? What is the file with the ~ at the end of the filename for?  $ ls # aliased to add flags -rwxrwxr-x  1 durrantm  2741 May 16 09:28 strip_out_rspec_prep_cmds.sh~* drwxrwxr-x 13 durrantm  4096 May 16 14:21 ../ -rwxrwxr-x  1 durrantm  2221 May 16 14:58 strip_out_rspec_prep_cmds.sh*   This is not the same as .swp files which are there while editing.  The two files have quite a few differences and the newer file (no ~ at the end) has the most recent changes and those changes are not in the older (~) file.  Looks like I can delete it? Remove completed reminders in OS X and iOS Schengen Visa Refusal: Justification for the purpose and conditions of the intended stay was not reliable My screen has 1280 x 1024 resolution. But unfortunately, rightmost belt of 200 pixels is damaged and unable do display any image.  How can I set that the Xorg will treat my screen as 1080 x 1024 device?  Now I have tried:  Virtual 1080 1024 Viewport 0 0   It doesn't work right - image is scaled to fit vertically, and horizontally I can pan with the mouse. Example where schema are better than multiple databases In several database systems (e.g., PostgreSQL and MS SQL Server) there is a concept of schema. There are many questions out there asking what schema are and how they are used; here is a . Usually the answer boils down to "namespace" and "permissions". However, what remains unclear to me is why a schema has any advantage over just adding a new database. A different database allows one to have both separate namespaces and permission assignments.  Can someone provide an example in PostgreSQL where multiple schema in a single database provide an advantage over multiple databases without schema? From a purely organizational perspective they appear equivalent. I have my mobile phone (Samsung Galaxy S2) running on ICS. Recently I activated Microsoft Exchnage ActiveSync to connect to my corporate email. It disabled all the security options like 'Pattern Unlock'. I hated it, and removed my microsoft active exchange account from the phone, but these options are still disabled. How do I get it enabled? My  has failed me.  In Python, are the following two tests for equality equivalent?  n = 5 # Test one. if n == 5:     print 'Yay!'  # Test two. if n is 5:     print 'Yay!'   Does this hold true for objects where you would be comparing instances (a list say)?  Okay, so this kind of answers my question:  L = [] L.append(1) if L == [1]:     print 'Yay!' # Holds true, but...  if L is [1]:     print 'Yay!' # Doesn't.   So == tests value where is tests to see if they are the same object? DateTime.TryParse century control C# Get table names using SELECT statement in MySQL Is there a way to do concurrent editing? Is there a MediaWiki-like method for supporting concurrent editing of text bodies in Drupal 7?  If no feature currently exists, what are some decent PHP diff libraries that could be wrapped up by a Drupal module that could do the job? How to redirect and append both stdout and stderr to a file with Bash? A question occurred to me when browsing SE this evening, just curious.  What specifies the inside of a 3D construct? If I have a hollow sphere, what's to say that the world isn't the inside, and the center of the sphere isn't the outside. Picture the Asylum in the Hitchhiker's Guide to the Galaxy series, if you have read that.  Additionally, if the inside of a 3D object is defined as what is smaller than the outside, what happens when there is a a sphere with a volume equivalent to 51% of the universe? Proof that Limit of the Log is the Log of the Limit Proof that Limit of the Log is the Log of the Limit. What is the intuition behind this statement? My mother is given a UK tourist visa for 2 years with a duration of stay as 180 days. It is a c type multiple entry visa. Is this 180 days is the total stay she can take or is it duration of stay per visit.  Thanks in advance for your reply. Problem with literate and breaklines=true in listings package As the title says, the option breaklines=true seems to have an undesired interaction when using literate; in the following example the closing parenthesis doesn't get colorized   \documentclass{article} \usepackage{xcolor} \usepackage{listings}  \lstset{   literate=     {)}{{\textcolor{red}{)}}}{1}     {(}{{\textcolor{red}{(}}}{1},   breaklines=true, }  \begin{document}  \begin{lstlisting} () \end{lstlisting}  \end{document}     Commenting out the breaklines=true option produces the desired result. What is producing this odd behaviour and how can it be prevented?