Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How can I reduce the spacing between the align and the list environment?

\begin{align*}
       {_C}\vOm=( 0, 0, 0 )
\end{align*}             <=== THERE IS STILL SOME SPACING inbetween?
 \begin{question}
      \item  askjdhaskldhklasdh klashd klajsd lökjas ldökjaslökdj 
 \end{question}

I have following minimal example:

\documentclass[12pt,a4paper,fleqn]{scrreprt}

\usepackage[english]{babel}
\usepackage{amsmath,lipsum}

\parindent0.0ex
\topskip0pt
\partopsep0.0ex

\renewcommand{\baselinestretch}{1.0}

\newcounter{questioncounter}
\newenvironment{question}{
  \begin{list}
  {({\itshape\alph{questioncounter}})}
  {\usecounter{questioncounter}
  \topsep=0pt
\partopsep=0pt
\parsep0.5ex \itemsep0.5ex  \leftmargin5ex \labelwidth5ex}}
  {\end{list}}



\begin{document}
\setlength{\abovedisplayskip}{0pt}
\setlength{\belowdisplayskip}{0pt}
\setlength{\abovedisplayshortskip}{0pt}
\setlength{\belowdisplayshortskip}{0pt}

This is just a normal text bla bla bla 
This is just a normal text bla bla bla 
\begin{align*}
  A\cap B & = \{b,d,e\} \cap \{a,b,f,g\}
\end{align*}
\begin{question}
 \item asdasd
 \item lkasjd lkajsd lökjasd 
\end{question}
This is just a normal text bla bla bla 
This is just a normal text bla bla bla 
\begin{align*}
  A\cap B & = \{b,d,e\} \cap \{a,b,f,g\}
\end{align*}
\begin{question}
 \item asdasd
 \item lkasjd lkajsd lökjasd 
\end{question}

\end{document}
share|improve this question
    
Please always post complete small documents. The spacing between those environments is stretchy so depends on other items in the page,and the page size, neither of which you have shown Your setting of \topsep and \partopsep look distinctly odd, they allow the spacing to be negative so one item overlapping the previous. –  David Carlisle Dec 31 '12 at 11:07
    
If you haven't already, take a look at this question. –  xfoo Dec 31 '12 at 11:14
add comment

1 Answer 1

You're missing a % in the definion of your list-environment, if you write

\newenvironment{question}{%    <-- note end-of-line %
...

things look better.

See e.g. Why the end-of-line % in macro definitions?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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