I tried to decrease the headheigth size as I think the white space is a little bit big when there is a new chapter headline (as seen at the picture).  But when I tried to decrease the size, it gave me an error:  Package Fancyhdr Warning: \headheight is too small (5.0pt): Make it at least 13.59999pt. We now make it that large for the rest of the document. This may cause the page layout to be inconsistent, however.  I have already searched about this issue but I haven't found any solution yet. I used this template and already changed a bit: \documentclass[11pt, a4paper, oneside]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  %\renewcommand{\familydefault}{\sfdefault} \usepackage{lmodern}  \usepackage[backend=biber,style=alphabetic,sorting=ynt]{biblatex} \usepackage{microtype} \addbibresource{references.bib}  \usepackage[ngerman]{babel} \usepackage{csquotes} \usepackage{subcaption} \usepackage[hidelinks]{hyperref} \usepackage{ragged2e}  \usepackage{acronym} \usepackage{graphicx} \graphicspath{ {./images/} }  \usepackage{fancyhdr} \setlength{\headheight}{15pt} --&gt; Here I tried to decrease the size  Since this are my first steps in LaTeX, I am sure this can be quite easily solved but right now it seems I am unable to find a solution.
I want to decrease the vertical space between the top of the page and the chapter heading. I have tried to follow the instructions for titlesec but I am not successful. I have tried the following two setups without any changes occuring.  First:  \documentclass[12pt]{report}   \usepackage[compact]{titlesec}   \begin{document}   \chapter{Characters}  The origin of the group determinant begins with Richard Dedekind in the late 1800's. He began to explore the idea after studying the discriminant in a normal field [A]. He made several observations about the group determinant, but was only able to prove some of them.   \end{document}   Second:  \documentclass[12pt]{report}   \usepackage{titlesec}   \titleformat{\chapter}[display]   {\normalfont\huge\bfseries}{\chaptertitlename\ \thechapter}{20pt}{\Huge}   \titlespacing{\chapter}{0pt}{0pt}{0pt}   \begin{document}   \chapter{Characters}    The origin of the group determinant begins with Richard Dedekind in the late 1800's. He began to explore the idea after studying the discriminant in a normal field [A]. He made several observations about the group determinant, but was only able to prove some of them.   \end{document}
Sam Weller in The Pickwick Papers: What accent is Dickens portraying? In Dickens' Pickwick Papers, there's a character "Sam Weller". Weller's dialogue is written somewhat phonetically, I presume, but I'm struggling to understand what accent Dickens is trying to portray. The main peculiarities of Weller's speech are using "v" where there should be a "w" and a "w" when there should be a "v". For example, he says "wery" instead of "very" and "avay" instead of "away". Weller is supposed to be from London, but this doesn't seem like any kind of London accent I've heard. Is this a particular archaic accent?  More importantly, what is Dickens telling us about Sam Weller by having him speak like this? So I watched the following .  In the clip, using what seems to be the recording from a standard bank camera, they zoom in at least 100, and see the image of the culprit in the reflection of the eye of the girl.  Now, I thought this was completely ridiculous, so much so that I thought it was actually really funny.    However, my friend argued that there are very good tricks for image enhancement, such as "super resolution" a procedure where multiple frames of a video to produce a much higher single resolution image.   He did think the show bends the truth quite a bit, but how much?  Honestly, I don't actually know anything about these things, so my question is:     How good is modern image resolution enhancement?  Also, how far off are the CSI television programs?    Thank you,  Remark: This is  on the Skeptics site.  I was told I might receive better answers here. Please add Right To Left text support in Stack Exchange You know, some of us read right to left...  Certain sites like  and  have an obvious need for this, as Arabic and Hebrew are Right To Left (RTL) languages. Many answers on those sites cite the Torah and the Quran respectively. Directly quoting these sources properly requires RTL text. Formatting OGR VRT file to convert CSV to KML? Composition of a harmonic function with a holomorphic function is still harmonic If $f$ is a harmonic function in a domain $D \subset \mathbb{C}$, and $g$ is a conformal mapping of a domain $D_0$ onto $D$, is $f \circ g$ harmonic in $D_0$?   I noticed this question while reading several pdf of lecture notes, and I'm having trouble figuring it out. Can anyone help?  Thank you so much! Pronoun immediately following its antecedent Is placing a pronoun immediately after its antecedent in a sentence valid grammar?  Is there a term for this construction?  Some examples are:   President Obama, he gave a speech last night. The speech, it was about the financial system.   I hear this on the Planet Money podcast at least once per episode. How can I assign the output of a command to a shell variable? I want to assign the result of an expression (i.e., the output from a command) to a variable and then manipulate it – for example, concatenate it with a string, then echo it.  Here's what I've got: #!/bin/bash cd ~/Desktop; thefile= ls -t -U | grep -m 1 &quot;Screen Shot&quot;; echo &quot;Most recent screenshot is: &quot;$thefile;  But that outputs: Screen Shot 2011-07-03 at 1.55.43 PM.png Most recent screenshot is:   So, it looks like that isn't getting assigned to $thefile, and is being printed as it's executed. What am I missing? Frea is trying to kill me I've been trying to play the Dragonborn DLC for Skyrim on the PS3. In order to advance the story, I need to talk to Frea and her dad. But every time I go near the village they try and murder me for slaughtering the village back when I was like level 15 (I'm level 43 now).  I've tried yielding but they won't accept it and I don't know how to make them stop, all I want to do is finish the story. Does anybody know how to fix this issue? When you attempt to modify a file without having write permissions on it, you get an error:  &gt; touch /tmp/foo &amp;&amp; sudo chown root /tmp/foo &gt; echo test &gt; /tmp/foo zsh: permission denied: /tmp/foo   Sudoing doesn't help, because it runs the command as root, but the shell handles redirecting stdout and opens the file as you anyway:  &gt; sudo echo test &gt; /tmp/foo zsh: permission denied: /tmp/foo   Is there an easy way to redirect stdout to a file you don't have permission to write to, besides opening a shell as root and manipulating the file that way?  &gt; sudo su # echo test &gt; /tmp/foo Erasing elements from a vector I want to clear a element from a vector using the erase method. But the problem here is that the element is not guaranteed to occur only once in the vector. It may be present multiple times and I need to clear all of them. My code is something like this:  void erase(std::vector&lt;int&gt;&amp; myNumbers_in, int number_in) {     std::vector&lt;int&gt;::iterator iter = myNumbers_in.begin();     std::vector&lt;int&gt;::iterator endIter = myNumbers_in.end();     for(; iter != endIter; ++iter)     {         if(*iter == number_in)         {             myNumbers_in.erase(iter);         }     } }  int main(int argc, char* argv[]) {     std::vector&lt;int&gt; myNmbers;     for(int i = 0; i &lt; 2; ++i)     {         myNmbers.push_back(i);         myNmbers.push_back(i);     }      erase(myNmbers, 1);      return 0; }   This code obviously crashes because I am changing the end of the vector while iterating through it. What is the best way to achieve this? I.e. is there any way to do this without iterating through the vector multiple times or creating one more copy of the vector? I'm struggling with some concepts in my algebra class. I've chosen these two completely unrelated examples that demonstrate my struggling topics (characteristics and function rings) the two are the following:  $1$) Let $X$ be a set, and let $S$ be a ring. Give a proof that the left distributive law holds for $(S^X, +, *)$.  $2$) Suppose $Y^3 = Y$ for each element $Y$ of a unital ring $R$. Show that $R$ has a finite characteristic d that is a divisor of $6$.  Any example solutions for these proofs would be helpful. Thank you. Quotient ring of Gaussian integers A very basic ring theory question, which I am not able to solve. How does one show that    $\mathbb{Z}[i]/(3-i) \cong \mathbb{Z}/10\mathbb{Z}$. Extending the result: $\mathbb{Z}[i]/(a-ib) \cong \mathbb{Z}/(a^{2}+b^{2})\mathbb{Z}$, if $a,b$ are relatively prime.   My attempt was to define a map, $\varphi:\mathbb{Z}[i] \to \mathbb{Z}/10\mathbb{Z}$ and show that the kernel is the ideal generated by $\langle{3-i\rangle}$. But I couldn't think of such a map. Anyhow, any ideas would be helpful. Cut one side of a rectangle node in TikZ I would like to draw two consecutive rectangle nodes (one is next to the other with an intersected edge). How to cut one side of a rectangle node in TikZ so that the intersected side looks like others?   Consider the example below, I don't want the "duplicated" edge between node 1 and 2.   \begin{tikzpicture}    \node [style={draw, inner sep=0pt, minimum size=0.5cm}]           (1) at (0, 0)  { $1$ };   \node [style={draw, inner sep=0pt, minimum size=0.5cm}]           (2) at (0.5, 0)  { $2$ };  \end{tikzpicture} iOS: How to change app language programmatically WITHOUT restarting the app? Finding net magnetic and electric force on charged particle This is from my textbook, it is not an assigned problem, but I want to understand.   It says:      Consider the situation in the figure, in which there is a uniform electric field in the x direction and a uniform magnetic field in the y direction. For each example of a proton at rest or moving in the x, y, or z direction, what is the direction of the net electric and magnetic force on the proton at this instant?   I believe I need to use the equation   $$ F_{net}=(q\overrightarrow{E})+q(\overrightarrow{v} \times \overrightarrow{B}) $$  But I'm not sure exactly how. We've just started to learn about this, and I want to get a head start. Could anyone put me on the right track? Largest Mass Diffraction How do I log every command executed by a user? I want to monitor all user's activity in my server.  Even when the user executes a shell command from some editor like vim I want to see them in the log file.  I have checked the tool acct but it is not listing the complete commands. (Please correct me if I have missed some options which does already).  Which Linux tool I should be looking at to solve this problem? Is this defined by the language? Is there a defined maximum? Is it different in different browsers? Its a .vbproj and looks like this  &lt;Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;     &lt;PropertyGroup&gt;         &lt;ProjectGuid&gt;15a7ee82-9020-4fda-a7fb-85a61664692d&lt;/ProjectGuid&gt;   all i want to get is the ProjectGuid but it does not work when a namespace is there...   Dim xmlDoc As New XmlDocument()  Dim filePath As String = Path.Combine(mDirectory, name + "\" + name + ".vbproj")  xmlDoc.Load(filePath)  Dim value As Object = xmlDoc.SelectNodes("/Project/PropertyGroup/ProjectGuid")   what can i do to fix this? How do I delete files that are locked when no other app can delete them? So I found out that I had a Trojan on my external hard drive. My anti-virus app killed it, but it has created a bunch of random files on my computer which cannot be deleted. These are image files. They cannot be renamed - using any method - nor can they be moved, cut, copied, permanently deleted or even opened (in any program).  How can we rid these files from our system?  I have tried:   Right-click > Delete Shift+Delete (Permanently Delete) Swearing   and then:   FileASSASSIN from MalwareBytes Eraser program sdelete program several commands in cmd   but none of them have been successful. How can I completely obliterate these files?