1

Is it possible to decrease the top margin in just one single page to be? I tried to use

\vspace{-1.5em}

but it doesn’t work unlike \hspace{} . Can anyone help me in solving this ?.

  • Try \vspace*-1.5em}. – Bernard Nov 19 '16 at 1:35
  • Can you provide some code the replicates your problem? There may be many options, but it really depends on your use-case. – Werner Nov 19 '16 at 1:46
  • some code concerning precisely what Mr. @Werner ? – Hussein Eid Nov 19 '16 at 1:48
  • Unfortunately, it does not work @Bernard – Hussein Eid Nov 19 '16 at 1:48
  • @HusseinEid: Do you have a paragraph starting on the one page and crossing over to the following, or is the break clean? Do you have floats and only floats on this strangely-different page? – Werner Nov 19 '16 at 1:49
2

I assume you have a blank line before your align as shown in the following example:

enter image description here

\documentclass{article}

\usepackage{amsmath,lipsum}

\begin{document}

\lipsum[1-4]

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sit amet rutrum 
velit, ac fermentum risus. Aliquam erat volutpat. Suspendisse tristique tempus 
turpis vitae sollicitudin. Etiam mattis quis turpis eget feugiat. Praesent at 
turpis sed nibh sodales facilisis. In fermentum scelerisque pulvinar. Quisque 
vitae ultricies tortor. Aliquam a elit ante. Donec sagittis tincidunt eros, 
eget eleifend ligula lobortis sit amet. Mauris vestibulum justo et volutpat 
tempus. Aenean luctus turpis massa, id suscipit purus blandit non.

\begin{align}% Space between paragraph and align
  f(x) &= ax^2 + bx + c \\
  ix^2 + jx + k &= g(x) \\
  f(x) &= ax^2 + bx + c \\
  ix^2 + jx + k &= g(x)
\end{align}

\lipsum[5-7]

\clearpage

\lipsum[1-4]

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sit amet rutrum 
velit, ac fermentum risus. Aliquam erat volutpat. Suspendisse tristique tempus 
turpis vitae sollicitudin. Etiam mattis quis turpis eget feugiat. Praesent at 
turpis sed nibh sodales facilisis. In fermentum scelerisque pulvinar. Quisque 
vitae ultricies tortor. Aliquam a elit ante. Donec sagittis tincidunt eros, 
eget eleifend ligula lobortis sit amet. Mauris vestibulum justo et volutpat 
tempus. Aenean luctus turpis massa, id suscipit purus blandit non.
\begin{align}% No space between paragraph and align
  f(x) &= ax^2 + bx + c \\
  ix^2 + jx + k &= g(x) \\
  f(x) &= ax^2 + bx + c \\
  ix^2 + jx + k &= g(x)
\end{align}

\lipsum[5-7]

\end{document}

As can be seen from the above example, if you do not leave a blank line, the preceding paragraphs final line ties to the align.

If you do need to use negative vertical spacing, ensure that you're in vertical mode. If you're at the top of the page, use the starred version \vspace*.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.