# Top and bottom margin moved [closed]

I wonder if someone may know the answer to my problem. Firstly, I had a list of figure issue beyond 100 and in this forum I was told to use this piece of code which work perfectly and I thank to this forum but

\usepackage[titles]{tocloft}
\cftsetindents{figure}{0em}{3.5em}
\cftsetindents{table}{0em}{3.5em}


I realised later that the top and bottom margin of my document changed and I have tried a few things with no success. Can any one help? This is an example of my document :

\documentclass[a4paper,12pt]{report}

%%%%%figure beyond 100
\usepackage[titles]{tocloft}
\cftsetindents{figure}{0em}{3.5em}
\cftsetindents{table}{0em}{3.5em}
%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage{graphicx,rotating}
\usepackage{multirow}
\usepackage{siunitx,booktabs}%for table decimals number
\sisetup{separate-uncertainty}%
\usepackage[sectionbib]{chapterbib}
\usepackage{setspace}
\onehalfspacing
\usepackage{amssymb}%checkmark on table

\usepackage{fancyhdr}
\fancyfoot{}
\pagestyle{fancy}

\usepackage{wrapfig}
\usepackage{nccmath}
\usepackage{tabularx,ragged2e,booktabs,caption}
\usepackage[section]{placeins}
\usepackage[textfont=normalfont]{subcaption}
\usepackage{url}
\urlstyle{same}
\newcommand\apj{1925ApJ....61...38R}  % Journal abbreviations
%%%to use parenthesis in subfigure 1(a)
%\usepackage[caption=false,labelformat=simple]{subfig}
%\renewcommand{\thesubfigure}{(\alph{subfigure})}

\setlength{\parindent}{0pt}
%\captionsetup [subfigure]{font=scriptsize}

\setcounter{secnumdepth}{3}  %to include subsection in table of cont.
\setcounter{tocdepth}{3}
\pagenumbering{roman}       %change page number style

\begin{document}

Here, the power density was varied by adjusting the position of the focussing lens using the motorised linear actuator.  The laser energy was kept fixed while the lens was moved to several positions from the focal point into the target.  The observed spectra showed that the relative intensity increased as the power density dropped as result of defocussing and the associated increase of the laser spot size (i.e. the size of the laser cone lead to greater emission of EUV photons).\\
Each of the four spectra above shared a similar spectral profile except for the lowest power density ($\phi$ = 3.93$\times$10$^{10}$) in the $Sn$, $W$ and $Pb$ spectra in which the spectral profile bear only resemblance at longer wavelengths.\\

Inverse Bremsstrahlung or free-free absorption, occurs when a photon is absorbed by an electron in the continuum.   In inverse B. during the collision with atom the electron absorbs a photon or a number of photons.
The absorption of a photon by a free electron which gains kinetic energy due to the absorption.
Free electrons can absorb radiation in a non-resonant process called inverse-bremsstrahlung, only in the process of collision with heavy charged particles such as ions or atomic nuclei. The third particle, in this case ion/nucleus, is needed for energy and momentum conservation. Both cannot be conserved if only a photon interact with an electron. Not only one photon but also many photons can be emitted in one elementary act of scattering.  The process of the emission of more that one photon is called stimulated multiphoton bremsstrahlung.\\

Atomic processes in plasmas
The charged particles in the plasma interact strongly, with the most essential mechanisms
being excitation, relaxation, ionisation and recombination. In plasmas the
two main processes which take place are collisional and radiative but the importance
of each process varies with the type of plasma present, and also as the plasma
evolves. Collisional processes dominate at high plasma densities while at low
plasma densities, the ions in the plasma interact mainly through radiative processes.
The plasma density and the competition between collisional and radiative
mechanisms are important in determining the energy evolution of the plasma and
the ionisation balance within the plasma. Every atomic process occurring in the
plasma can be balanced by an equal and opposite process.

\end{document}


## closed as unclear what you're asking by user36296, Zarko, CarLaTeX, egreg, user31729 Aug 29 '17 at 10:39

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Don't change layout dimensions manually if using geometry. You are changing \topmargin behind geometry's back. How is it supposed to keep track when you don't tell it you're messing with its calculations? Check the console, also, for warnings from fancyhdr. fancyhdr will change the margins if they are too small. – cfr Jul 28 '17 at 15:34
• Looks funny: \fancyhead[R]{\textbf{\cfoot{\thepage}}}{\slshape \rightmark} . – cfr Jul 28 '17 at 15:37
• The console only warning is Underfull \hbox (badness 10000) in paragraph at lines 3--6 – yoyo Jul 28 '17 at 15:39
• I don't really see what's wrong with the output. You should not use \\  to end lines outside special contexts such as tabular. That's probably responsible for the bad boxes. – cfr Jul 28 '17 at 21:39
• Your example does not demonstrate the problem. It is very unlikely anybody will be able to help you without an example of the problem. – cfr Jul 28 '17 at 22:59