fancyhdr and long header on first page I am trying to create a document with fancyhdr and a pretty long header. It works on all pages except the first page, where the text flows into the header. On the following pages the text starts after the header is finished.  Why doesn't the text get bumped down by the header? What is different about the first page and how can I fix this?  Here is a simple test case showing my problem:  \documentclass{article}  \usepackage{fancyhdr} \pagestyle{fancy}  \usepackage[german]{babel} \usepackage[utf8]{inputenc}  \fancyhf{}  \chead{   I am a header \\   with multiple lines \\   many lines \\   many many lines \\   many many many lines }  \usepackage{blindtext}  \begin{document} \section{A section} \blindtext[30] \end{document}
What is causing different spacing between a header and content on one page only? I have found that for only one page (so far) the spacing between the header and content is different from the spacing on all the other pages. You can see this behavior in the images below (from pages 2 and 3 of the document):     My .tex file contents are shown below.  \documentclass[a4paper]{report} \usepackage{fullpage} \usepackage{lipsum} \usepackage{fancyhdr} \pagestyle{fancy} \setlength{\headsep}{0.5cm}  \begin{document} \renewcommand{\headrulewidth}{0.4pt} \renewcommand{\chaptermark}[1]{\markboth{\thechapter. #1}{}} \fancyhead[L]{\bfseries \leftmark} \fancyhead[R]{\bfseries \rightmark}  \chapter{Version Control} \lipsum \lipsum \lipsum \lipsum  \end{document}
How to get a list of current open windows/process with Java? Does any one know how do I get the current open windows or process of a local machine using Java?    What I'm trying to do is: list the current open task, windows or process open, like in  Windows Taskmanager, but using a multi-platform approach - using only Java if it's possible. ASP.NET Call Code Behind Function From Javascript Detecting structured data in Google Webmaster Tools (1) Does he not know? (2) Doesn't he know?  I don't usually see and hear questions formed in the first style. I was even surprised to know that it is grammatically correct. And actually it is the most &quot;proper&quot; way to form an interrogative sentence.  shows that the first style was much more popular before than now. What are your suggestions on choosing between these styles? And I will probably add the third one.  (3) He does not know?  EDIT: The answers have explained how to form a question, but have not actually provided an account on the usage of the first two forms. Especially I'm interested in the first form: does it sound formal, is it used in speech or only in writing, et cetera. Why I have this error when I try to install this old blog on my local webserver? I am pretty new to WP (I came from Joomla) and I am finding some difficulties trying to put on my local web server an old backup of a website (made using WP 3.5)  I have performed the following operation:  1) I have put the website backup into a directory named blog into my Apache www directory on my Ubuntu local system.  2) Then I have put the database backup on my MySql local server  3) Finally I have change the values in the wp-config.php file to use my local DB  The problem is that when I try to open the URL to see the website I see noting (a white screen)  Into the Apache log file (/var/log/apache2/error.log) I found the following errors messages:  [Fri Jan 10 22:04:50 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.9 with Suhosin-Patch configured -- resuming normal operations [Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:05:08 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:37 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:38 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:39 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Warning:  require_once(/var/www/blog/wp-load.php): failed to open stream: No such file or directory in /var/www/blog/wp-blog-header.php on line 12 [Fri Jan 10 22:38:40 2014] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required '/var/www/blog/wp-load.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/blog/wp-blog-header.php on line 12   Why? what could be the problem? How can I try to solve it?  Tnx  Andrea I want to compile my program with the latest version of gcc.  Ubuntu 14.04 comes with gcc 4.8.2, however there's 4.9.0 available, moreover, I see that it is available as a package: . I tried to install it  sudo apt-get install gcc-4.9   but it says  Reading package lists... Done Building dependency tree        Reading state information... Done Note, selecting 'gcc-4.9-base' for regex 'gcc-4.9' gcc-4.9-base is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.   Looks like it is already installed, just not as the default one? How do I utilize it to build my program? DOS commands for Epson dot matrix not working Our Epson dot matrix printer is not printing on the following DOS command.:  Type text.txt&gt;prn   But it does print perfectly on:  open TEXT.txt&gt;File&gt;Print    What is the issue here? Please describe direct products in the category Rel. Suppose we have a random variable $X \sim f(x|\theta)$. If $\theta_0$ were the true parameter, the the likelihood function should be maximized and the derivative equal to zero. This is the basic principle behind the maximum likelihood estimator.   As I understand it, Fisher information is defined as   $$I(\theta) = \Bbb E \Bigg[\left(\frac{\partial}{\partial \theta}f(X|\theta)\right)^2\Bigg ]$$  Thus, if $\theta_0$ is the true parameter, $I(\theta) = 0$. But if it $\theta_0$ is not the true parameter, then we will have a larger amount of Fisher information.   my questions    Does Fisher information measure the "error" of a given MLE? In other words, doesn't the existence of positive Fisher information imply my MLE can't be ideal?  How does this definition of "information" differ from that used by Shannon? Why do we call it information? Clarifications about Gstreamer I'm a bit confused about what Gstreamer does.   Does it come installed by default with Ubuntu ?  If so which version  is the default for 14.04?  Does it provide hardware accelerated video playback (decoding) ?   If so does it work with VA-API and VDPAU or is it an alternative to those?    Thanks for your help I have noticed that guest quarters on the Enterprise D have fruit bowls on their tables.  A prominent instance is the fruit bowl in Berlinghoff Rasmussen's quarters in "".  The first thing that Rasmussen does when Data takes him to his guest quarters is take a piece of fruit and shove it in his pocket.  Who replicates fruit for these fruit bowls before guests arrive?  More generally, who removes unused fruit and tidies quarters after guests leave?  Is there a ship hospitality staff, perhaps including Guinan's wait staff in Ten Forward? Occasionally I see constructs like this in English sentences:        Not only is this true in this case, but ...      What puzzles me is the "is this" part of it. The sentence is not a question, yet it seems to have a question-like order. Isn't this correct/preferred:        Not only this is true in this case, but ...      Are there other cases where non-question sentences contain question-like parts (so to speak)? How do I find out what fonts are used in a document/picture? Is it possible to identify the font used in a specific document/picture?  Answers to this question should identify:   Possible methods to do this (perhaps one answer per method) and adequately describe how to use it (as opposed to merely stating it); Ways of finding the identified fonts, if possible (free or not); and Any prerequisites associated with the method used, if required (for example, "In order to use method X, your document has to be in format Y").   This question is meant as an FAQ, based on an . Its aim is to facilitate the community with the general procedures involved in font identification. Similar cases are solved on a per-usage basis on 's  tag. Site blocked by content filter I run a large and high trafficked WordPress powered platform. One of my editors informed me that our site is blocked at his workspace as a "games site". They use WebCat to filter the traffic.  The issue here is that our platform is not a gaming site, although it does have a games category that covers news. And that is a very minor part of the site.  My question is, what can I do to unblock the site? How does WebCat work? Do they use a universal database to filter the traffic (meaning that the site is blocked on all workspace with WebCat) etc. Obviously they need to improve their filtering algorithm. Vertical alignment of align* in enumerate Related (but not the same):         Earlier today I asked a question about aligning equations in an enumerate environment and got an answer that seemed to work for the example I gave, but it turns out I wasn't really specific enough for my problem.  I'm using align* environments, often as the only part of a list item. (If you're wondering why I'm not using more words to introduce the align*, these are mostly homework solutions where most of the work is algebra, etc.)  Here's my code and what it makes (above the middle line):  \begin{enumerate}   \item \begin{align*}     x^2 + y^2 &amp;= x^2 + (iy)^2 \\               &amp;= (x + iy) (x - iy)   \end{align*}   \item \begin{align*}     \frac{1}{n^2-4} &amp;= \frac14 \frac{4}{(n-2)(n+2)} \\                     &amp;= \frac14 \left( \frac{1}{n-2}-\frac{1}{n+2} \right)   \end{align*} \end{enumerate}     I'm trying to make the baseline of the first line of the align* environment the same as the number's baseline—I want the first line of the align* to have the same vertical position (centered horizontally in the same way) relative to its number as in the second half of my picture. (Side question: why is there so much space before the align* starts?) Let $a,b,c&gt; 0$ be three real numbers such that $a+b+c=1$. I want to prove that   $$\frac{a}{a^2+b^3+c^3}+\frac{b}{b^2+a^3+c^3}+\frac{c}{c^2+a^3+b^3}\le\frac{1}{5abc}.$$  My attempt: Using AM-GM on each denominator gives (here, LHS denotes the left-hand side) $$LHS\le\frac{1}{3a^{\frac12}bc}+\frac{1}{3b^{\frac12}ac}+\frac{1}{3c^{\frac12}ab}.$$  However, I think that my attempt doesn't work because the last expression can get larger than $\frac{1}{5abc}$. In fact, if we multiply with $3abc$ then the original inequality is: $$\sqrt a+\sqrt b+\sqrt c\le\frac35$$  However, as $a,b,c&lt;1$, $$\sqrt a +\sqrt b + \sqrt c&gt; a+b+c=1&gt;\frac35.$$ So my upper bound is always larger than the given one. Remove element of a regular array I have an array of Foo objects. How do I remove the second element of the array?  I need something similar to RemoveAt() but for a regular array. What should be in the sources.list for Kali Rolling Linux? This is exact content from my sources.list:  #  # deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free #deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free   I couldn't install the Synaptic package manager and was told to modify sources.list.  I googled a lot and added some repos into it and ran update and upgrade command only to see Kali crash... I had to recover it.  Please mention the exact content that should be there to ensure that Kali Linux works. Why are lamps and mesh lights not illuminating anything? I want to connect my laptop (Inspiron 15 5000 Series) to a 4k display. When I read online about this it seems that HDMI 2.0 is a necessaity to handle the large resolutions / refresh rates involved to get full benefits of a 4k display.  Use case: I'm not going to use this to play games. Most of my use-case is editing documents, emails, spreadsheets and some engineering drawings and video (watching not editing).   The goal behind going 4k is to boost productivity by having more things open at once to read side by side.   I looked into the Dell specs and they only mention an HDMI without going into the details of what type or whether it will support HDMI 2.0 / 4K TV.     How do I tell whether my Dell Inspiron Laptop (i7 7500 U processor) supports this?  I looked under the Display Adapters and can see that I have an "Intel HD Graphics 620"  listed.   Will this suffice to tell me if this display adapter will support HDMI 2.0 / 4k display?   Or should I be checking out some other settings?  Thanks!