As the picture shows, at the top there is too much spacing:   I think it has to do with the following code, I already tried to change all the numbers given (.5ex etc.) but it is just the space in between Chapter I and Introduction.   Here is the preamble and part of the code I am using which I assume should be responsible for the problem:  %%%%Definition Partitioning%%%% %Profondeur de la numérotation: %Chapitre: \renewcommand{\thechapter}{\Roman{chapter}} \titleformat{\chapter}[display] {\bfseries\Large\color{MyBlueChapter}} {\filright\MakeUppercase{\chaptertitlename} \huge{\color{MyBlueChapter}\thechapter}} {.5ex} {%\titlerule \vspace{.5ex}% \filright} [\vspace{1.5ex}% \titlerule]   \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[left=2cm,right=2cm,top=3cm,bottom=3cm]{geometry} \usepackage{lmodern} \usepackage{graphicx} \usepackage{microtype} \usepackage{geometry} \newcommand{\latin}[1]{\textit{#1}} \usepackage{hyperref} \usepackage{wrapfig} \usepackage{color} \usepackage{lscape} \usepackage{pdfpages} \usepackage{fancyhdr} \usepackage{lastpage} \usepackage{titlesec} %\usepackage{xcolor} \usepackage{sectsty} \usepackage{multicol} \usepackage{titlesec} \usepackage[]{nomencl} \usepackage{gensymb} \usepackage{amsmath} \usepackage{cancel} \usepackage{booktabs} \usepackage{subfigure} \usepackage{multirow} \usepackage{rotating} \usepackage[thinlines]{easytable} \usepackage{adjustbox} \usepackage{titletoc} \usepackage{afterpage} \usepackage{changepage} \usepackage{makecell} \usepackage{float}   Thanks for the help!
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}
JUnit Testing Exceptions LAN not working on 17.04 Actually yesterday I've upgraded from Ubuntu 16.04 to 17.04 and I got a problem that, if connect LAN cable it does not showing anything and  remains disconnected. But i can connect with WiFi. I don't know what's the problem. Actually its showing "device not managed" under the "Ethernet Network" and both were disabled. I've searched for the solution, but did not found yet. Can you help me with this inequality?  $|x-1| +|x+1| &lt;1$.  I think that it doesn't exist an $x$ that satisfies this inequality, but I'm not really convinced about my answer. I have forgotten my ID proof and I'm doing an Indian domestic flight. Can I still fly? I am travelling from Delhi to Indore, a domestic flight. I forgot to take ID proof. Can I still fly? I write some choice questions into beamer frame, after some research, here is my code:  \documentclass[aspectratio=169]{beamer} \usetheme{Berkeley} \usepackage{tasks,CJK} \begin{document} \begin{CJK*}{utf8}{bsmi} \begin{frame} \transwipe 1.Which one you want to choose? \begin{tasks}[counter-format=tsk[A].,debug=true](4) \task A \task B \task C \task D \end{tasks} \end{frame} \end{CJK*} \end{document}   output with pdflatex:  But I don't want the D choice goto the second line, I want them stay in one line, what should I do? Possible Beamer bug: Frame number has different color than date in infolines footer Why does flag marking as helpful/declined not always correlate with moderator action? What is the difference between French and British cuts of beef? What is the difference between French and British cuts of beef?   I am told they just butcher the animals dfferently. Certainly the cuts don't seem the same. For example is faux fillet really exactly the same as British sirloin and is entrecôte really the same as rib steak?  Here is a picture of British beef cuts. In bash, how can I convert a Unicode Codepoint [0-9A-F] into a printable character? I have a list of Unicode codepoints, but I don't know of a "simple" way to convert these hex values into the actual characters they represent...    I've heard that zsh has echo -e '\u0965', but I use bash 4.1.  Is there something as simple as the zsh method, for bash? Why does demand for stock rise when a company appears to have high future value? What exactly is 'Dark Matter'? Many LaTeX “hacks” begin with \makeatletter and end with \makeatother. What do these commands do? Are human bodies programmed to die? Following from this question: :  Is there any evidence that human bodies have systemic self-destruction built into their developmental program? I'm not talking about the cell death response, which I know is an important part of growth, development and cancer prevention.  I've read some things about telomere-shortening but don't know if this is a cause or an effect. How do I show the current node title in page.html.twig OR in node.html.twig? If I want to show the current node title in page.html.twig (by default it seems to only be available in node.html.twig) I have to create a preprocess function like so:  function theme_preprocess_page(&amp;$variables, $hook) {   // Set our page title so we can access it in page.html.twig   if ($node = \Drupal::routeMatch()-&gt;getParameter('node')) {     $variables['my_node_title'] = $node-&gt;title-&gt;value;   } }   And then I have to overwrite page-title.html.twig by copying it into my current theme folder and commenting out everything.  This doesn't seem "right".  Is there a better way? Formal power series ring, norm. Let $k$ be a field. Let $R$ be the formal power series ring $k[[x]]$. Define $N$ on $R \setminus \{0\}$ as follows: $N(f)$ is the smallest $n$ of which the coefficient of $x^n$ in $f$ is nonzero.  (a) Prove that $R$ is a Euclidean domain with Euclidean norm $N$.  (b) For $a$, $b$, $a+b$ nonzero elements of $R$, prove that $N(a+b)$ cannot be bounded as a function of $N(a)$ and $N(b)$.  (c) Prove that if $a$ and $b$ are two power series such that $b$ does not divide $a$ (and $b \neq 0$), there are infinitely many pairs $(q, r)$ for which $a = bq + r$ and $N(r) &lt; N(b)$. I do not understand how dummy variables work in math.   Suppose we have:  $$I_1 = \int_{0}^{\infty} e^{-x^2} dx$$  How is this equivalent to:  $$I_2 = \int_{0}^{\infty} e^{-y^2} dy$$  How does this dummy variable system work?   Since $y$ is the dependent variable for $I_1$ How can $y$ itself be and independent variable for $I_2$  ??  Thanks! If every real-valued continuous function is bounded on $X$ (metric space), then $X$ is compact. When i put the code $(f_{\mathcal{X}},f_{\mathcal{X}}^{\partial})$ I get the following:  But I want the subscripts to be aligned. How can I do this? $X_1, X_2, \ldots, X_n$ are $n$ i.i.d. uniform random variables. Let $Y = \min(X_1, X_2,\ldots, X_n)$. Then, what's the expectation of $Y$(i.e., $E(Y)$)?  I have conducted some simulations by Matlab, and the results show that $E(Y)$ may equal to $\frac{1}{n+1}$. Can anyone give a rigorous proof or some hints? Thanks! What is the difference between DX format and FX format lenses, and which to choose for what purpose? What is the difference between DX format and FX format lenses, and which to choose for what purpose?  What are the pros and cons of both?